Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: billrune - syyskuu 06, 2019, 10:32:12 IP

Otsikko: why my forum so many queries ?
Kirjoitti: billrune - syyskuu 06, 2019, 10:32:12 IP
this forum - Page created in 0.098 seconds with 19 queries.
my forum - Page created in 1.143 seconds with 78 queries.
Otsikko: Re: why my forum so many queries ?
Kirjoitti: vbgamer45 - syyskuu 06, 2019, 10:33:15 IP
Do you have a lot of mods installed? That generally causes that to happen if is constant.
You can also look into caching options in SMF as well.
Otsikko: Re: why my forum so many queries ?
Kirjoitti: billrune - syyskuu 06, 2019, 11:28:54 IP
no mod install. only installed multi language.
i don't know where to check/set the cache. could you tell me ?

thanks
Otsikko: Re: why my forum so many queries ?
Kirjoitti: vbgamer45 - syyskuu 06, 2019, 11:34:37 IP
Yes under
Administration Centerâ–º Server Settingsâ–º Caching
Otsikko: Re: why my forum so many queries ?
Kirjoitti: billrune - syyskuu 06, 2019, 11:35:05 IP
my cache set is level 1 cache
Otsikko: Re: why my forum so many queries ?
Kirjoitti: vbgamer45 - syyskuu 07, 2019, 01:03:26 AP
You can raise it as well.
Otsikko: Re: why my forum so many queries ?
Kirjoitti: SpacePhoenix - syyskuu 07, 2019, 01:57:22 AP
Try logging the queries so you might be able to find the culprit: https://dev.mysql.com/doc/refman/8.0/en/query-log.html
Otsikko: Re: why my forum so many queries ?
Kirjoitti: Pipke - syyskuu 07, 2019, 05:36:36 AP
You can show debug info in SMF and see which query is repeating itself by edit Settings.php and add to the end (before ?>)
$db_show_debug = true;
Otsikko: Re: why my forum so many queries ?
Kirjoitti: billrune - syyskuu 07, 2019, 06:51:58 AP
thank you very much
Otsikko: Re: why my forum so many queries ?
Kirjoitti: Biology Forums - syyskuu 08, 2019, 01:40:20 AP
If you need help cleaning up the forum, I can help you out. PM me for details!