General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
SNIP
>
>You should avoid filters in other indexes. I know there are people that recommend to filter indexe by deleted(), however, this is completely wrong because such indexes are not used in the optimization. Just the deleted() as an index expression is fine.
>
SNIP
Hi Vlad,
It is not "completely" wrong - any time that I have seen that advice it was also accompanied by a recommendation to *ALSO* make another TAG on the same expression *without* the filter.
And the filter was virtually always suggested for the PRIMARY key or a CANDIDATE key. That is, not willy-nilly for many TAGs.
Cheers,
JimN
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only