Quote:
Originally Posted by kmike
You can alleviate the need to retrieve all thread posts by using a reverse index on dateline when looking in the second half of a large thread. This solution was first introduced by the admin of the infamous www.Gaiaonline.com forum (which is currently at 979 million posts - simply incredible!). You can see it here:
http://www.phpbb.com/community/viewt...135383#p771664
Implementing it will greatly decrease the number of retrieved posts for sorting, since most of the post accesses are near the thread end (members reading last posts), and in the worst case of reading near the middle it'll require retrieving and sorting only through half of the thread posts.
In fact, I wonder if this solution should be brought to the vB devs' attention, many forums are suffering from the huge thread issue.
|
How would you go about implementing a reverse index?
http://www.mysqlperformanceblog.com/...limit-queries/
Oh!
OH!
Does vB do JOINs on the LIMIT 10000000,10 queries?