A database application I've written uses a table with around 600,000 rows. Each row has a text field 500-5000 characters long. I periodically need to find all the rows containing a particular phone number, name, or address, ie.'123-4567', 'john smith', '1950 Main St N
(
Read more... )
Comments 3
At that point, you can 'SELECT `date`, `name` FROM `tb_archive` WHERE `name` LIKE '%john smith%' ORDER BY `date` DESC"
Excluding the giant `text` field in the results would also speed up returns at that point.
It would take a lot of work, but it'd be worth it in the long run, IMHO.
Reply
Reply
http://oksoft.blogspot.com/2010/10/mysql-case-study-179.html
Reply
Leave a comment