This addon is aimed at large forum with potentially tens of thousands to hundreds of thousands or more threads in a single forum. Smaller forum do not gain much benefit from this addon.
- Compatible XF Versions:
- MIT Licence
- Visible Branding:
MySQL implements 'early row lookup' which results in the large select statement pulling in more data than is required. Maybe one day MySQL will fix this. Maybe.
This causes an issue as this is how conversations and threads implement paging.
This addon provides some optimized query for getting threads in a forum with large number of threads, or for conversations with a very high page count.
Ideally conversations would implement the position system like posts do, which would be even faster than using sub-selects to force 'late row lookup'.
For more information see:
- You must like to download this resource
[Free Add-on ] Optimized List Queries by Xon 1.2.3b
A collection of replacement queries for getting lists of stuff aimed at large forums.