Quote:
Originally Posted by Simetrical
If it only searches for posts by the user and nothing else (no search terms added), you should just add an index on (userid, dateline) to your post table. Then it will be as fast as fetching the posts for a thread. You don't need an external engine like Sphinx to do this fast. The situation with threads is similar, (postuserid, dateline). Use Sphinx for fulltext searching; MySQL proper is still just fine for searches without any text aspect.
|
We have 47 million posts, and 2.6 million threads. Trust me, it puts a hurting even on our 8-way Opteron box with 12gb of ram.