Solution: Use the Right Tool for the Job
It’s best to use a specialized search engine technology, instead of SQL. Another alternative is to reduce the recurring cost of search by saving the result.
The following sections describe some of the technologies offered as built-in extensions by different database brands and also technologies offered by independent projects. Also, we’ll develop a solution that uses standard SQL but is more efficient on average than substring matching.
Vendor Extensions
Every major brand of database has invented their own answer to the common requirement of full-text search, but these features are not standard or compatible between database brands. If you use a single brand (or are willing to use vendor-dependent ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access