Optimized List Queries by Xon

Optimized List Queries by Xon 2.13.0

No permission to download
XF Compatibility
  1. 2.2.x
Short Description
Optimize your large forum with up to millions of threads using our addon. It fixes MySQL's LIMIT & OFFSET issues by providing optimized queries and sub-selects, ensuring faster pagination. For more info, visit (http://stackoverflow.com/questions/4481388/why-does-mysql-higher-limit-offset-slow-the-query-down).
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.
1604830414662.webp

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'.

For more information see:
Configuration
Under "Performance":
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.
  • Like
Reactions: Bxdguy
Author
newimage
Views
662
Extension type
zip
File size
27 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

Latest updates

  1. 2.13.0 - change log
    Require StandardLib v1.23.0+ Only post sort usage patch on old enough XF version Improve XFMG...
  2. 2.12.0 - changelog
    This addon is now available on https://atelieraphelion.com/ Require StandardLib v1.20.0+...
  3. V2.11.0 - V2.11.0
    Add support for @Bob's Review Management System

More resources from newimage

ITD MP3 N
ITD MP3 2.1.0 Patch 1
Embed remotely hosted MP3 audio to your board with download option.
Product Catalog (CSV, Excel) Import Module N
perform import operations with the PrestaShop products. What this module does for you

Similar resources

[0815] FileChk whitelist A
Whitelist for the XF FileCheck
[Andrew] Banned Users List N
provides a basic list off banned users with the following columns
[AndyB] Forum list count A
Shows number of forum list views by visitor type.
Top