How can one optimize %XYZ% queries?
Submitted by admin on Sun, 2005-12-25 12:54.
It is possible to improve %XYZ% (wildcard search) queries by forcing the optimizer
to scan all the entries from the index instead of the table.
This can be done by specifying hints.
If the index is physically smaller than the table (which is usually the case)
it will take less time to scan the entire index than to scan the entire
table.
»
- Login to post comments

