Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for best index
Message
De
27/02/2016 13:28:34
 
 
À
27/02/2016 13:25:00
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows 2008 Server
Divers
Thread ID:
01632184
Message ID:
01632212
Vues:
47
>OK, admittedly I don't do a lot with full text searches, though I don't recall seeing text indexes on a column so small (just 30 characters). So if anyone who has done this often wants to jump in....

Without full text index on that one, as they want to find a string anywhere in the field, I would have to use %Honda% syntax and that would time out pretty much all the time. This is why full text is required on that one for as long as they want to search within.

>- If you can reproduce this in a test environment and want to try something...try to do an UPDATE STATISTICS dbo.Client, and then try the query again. There are documented cases where a simple update of statistics will speed up queries on text indexes

The problem is once you can simulate this, this goes in memory, and unless you stop and restart SQL Server, as it becomes cached, it makes it extremely difficult to simulate again.

>- With some fine-tuning of the LIKE statement, you "might" be able to get away with using a simple LIKE and avoiding the CONTAINS.
>
>These are just educated guesses - it's up to you if you want to try them.

See above.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform