Optimized List Queries by Xon

Optimized List Queries by Xon 2.0.3

No permission to download
Compatible XF 2.x versions
2.0, 2.1
Additional requirements
php 5.6+
License
MIT Licence
Visible branding
No
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 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:
Configuration
Under "Performance":
191038



Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
Related resources
Author
Xon
Downloads
41
Views
240
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Xon

Latest updates

  1. 2.0.3 - Maintenance update

    Add resource icon Cleanup phrasing and allow "-1" for various thresholds to actually disable...
  2. 2.0.1 - Bugfix update

    Better Thread List Page Threshold actually refer to pages instead of individual item counts
Top