Are several views more efficient than 1 view with sortable columns?

Hi there,

i am currently working on a project, where the same documents should be displayed in several views but different sort order. Looking closer to the requeste view blue prints I saw that in theory one could cover all of tehm with only 2 views withe sortable columns.

But(!) are there any performance penalties ? What's in fact faster ? As far as I understand those sortable columns, an index is created on the server for the column. Is that index created for each view (How about shared columns ?) or is it created for that field and then filtered for the view specificaly ?

TIA for anything that can enligthen me a bit about this topic.

Jochen "Joe" Herrmann

A sortable column acts much like a copy of the view but sorted differently. So if built, it takes up space and is kept up to date. Sortable columns not being built with the main view is a relatively new feature (given the 30 year lifespan so far) . Even so, those indexes only get discarded when the main view index gets discarded either by manual admin intervention or according to settings for he view.

So separate views allows for more granular keeping and discarding of views that are actually used.

See also: Performance Considerations for Domino Applications

Hello Lars,

thanks a lot for your reply. That means that the indices of the sortable columns are entirely bound to the view and that shared columns offer no advantage - more index tables - more server power needed.

I thought/hoped that the index would be bound to the field name and it would then only filtered by the view specifc criteria.

But it also means, that putting it all together in 1 view makes sense, as the user can choose easily (once used to the method) the column sorting and needs less entries in the menu.

Have a nice weekend

Jochen "Joe" Herrmann

Just found this: https://www.hcl-software.com/blog/domino/going-inline-with-domino-views/ a solid piece discussing view mechanics. Great read!

Very interesting indeed !

Thanks a lot, Lars