Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement