Optimized List Queries by Xon

XF2 ADD-ON Optimized List Queries by Xon 2.10.0

Compatible XF Versions1.2 , 2.2


[HR][/HR]
This addon is aimed at large forum with tens of thousands to hundreds of thousands or more threads in a single forum. Smaller forum do not gain much benefit from this add-on.

Member List/Forum/conversation lists:

MySQL implements 'early row lookup', when combined with LIMIT & OFFSET with a large offset, 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 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 veryhigh 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'.

a848cddd080d3.png


Contributing features or bug fixes
Please create a Github Pull request via the "More Information" li
Author
Ghosty
Downloads
56
Views
514
Extention type
zip
File size
36.5 KB
Hash
d0a25f8af2b7e5f83e7e8c719dbddd95
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Ghosty

Top