xF2 Add-on Optimized List Queries by Xon

Itnull

Команда форума
Администратор
Регистрация
22.05.13
Сообщения
27.799
Реакции
12.332
Веб-сайт
itnull.me
Compatible XF 2.x versions 2.12.2 2.3

Standard Library by Xon v1.23.0+

This add-on 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/Reactions/XFMG lists:


MySQL/MariaDB 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/MariaDB 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'.

options.webp


Optimized List Queries by Xon 2.13.0
 

Создайте аккаунт или войдите в систему, чтобы комментировать

Вы должны быть зарегистрированным, чтобы оставить комментарий

Создать аккаунт

Создайте аккаунт в нашем сообществе.

Войти

У вас уже есть аккаунт? Войдите здесь.

Похожие темы

Ответы
5
Просмотры
575
Ответы
0
Просмотры
457
Ответы
1
Просмотры
531
Ответы
1
Просмотры
550
Назад
Сверху Снизу