For approximately two months we have no longer been able to open the database in any view showing all documents. We get the following error message: "Field is too large (32K) or view's column and selection formulas are too large." I only know this error message with @DBlookup, but not when opening a view! If I select a subset of documents, I have no problem opening the views.
Now I tried to change a view, so it is simpler and smaller. There is only one column left with @DocNumber. The view's selection formula is quiet simple:
SELECT Form = "document" : "rs" : "info" | @AllDescendantsBut the error message still appears. It even appears with the selection formula "SELECT @All".
The Domino server is version 5.0.12, operating system is Windows NT 4.0, maximum size of the database is unrestricted, actual size is about 3.7 GB.
To find this information, type "Show database path\yourfile.nsf" where "pathyourfile.nsf" is the name and path to your application.
This will report on the size (in bytes) of the individual views.
When was the last time this database was compacted (to recover "white" space) or had it's views completely rebuilt (as in, the old indexes discarded and recreated from scratch)?
load Updall yourfile.nsf -R -C and then a compact (load compact yourfile.nsf) to see if there are any changes.
Should rebuilding views, indexing and then compacting the database not produce any better result, it's time to dive into Designer and change the layout of the big views.
The rule of thumb when it comes to BIG views is: The more documents included in the view, the less columns you should use. You should also have a look at the columns, which have sorting options available to them. Every time a developer has added a "click column header to sort" option in a database view, the larger the view's index will be, and the worse it will perform when displaying a large amount of documents.
If your view reports its size through a "Show database" command as fairly large (I'm talking over 100 MB -- that's 100,000,000 bytes), you should seriously look at rebuilding the view index (as described above) and definitely take a good look at the number of columns (especially sortable and column formulas) in the view's design.
Dig Deeper on Lotus Notes Domino Administration Tools
Related Q&A from Mathew Newman
SearchDomino.com Sametime administration expert Mathew Newman explains-step-by-step how to enable communication between multiple Lotus Sametime ... Continue Reading
If Lotus Sametime users on different "home" servers cannot see each other online, you may need to change your Sametime server awareness by creating ... Continue Reading
SearchDomino.com's Sametime administration expert Mathew Newman offers advice to a Lotus Notes administrator looking for resources for deploying ... Continue Reading