I've noticed that the first sql statement with LIKE on a large table runs very slowly (around 20 minutes) but every subsequent one very very fast (a few seconds), even if the strings searched for are completely different from the initial one (the first string 'ability%', the second 'su_mit%')
Does sql server store the results of table scan for the "like statement" in a cache?
Is the possible cache accessible to all clients?
Does the "cache" somehow expire?
if a full text index is available for the same column where the LIKE was applied and populated, does the "cache" influences full text speed?
Does anybody know a document explaining the issue?
Cheers
Greg