Extremly slow querry
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
To be more precise: it slows down the queries when LOG_DEBUG is used. You can have it as:
pawn Код:
mysql_log(LOG_ERROR | LOG_WARNING);
or don't call mysql_log at all since those are by default anyway.

TIP: Don't create variables inside loops, move them outside.
Yep that does the job, It cut down the reload time to 1 second lol.

Thanks a lot guys, and yeah regarding those variables, Ill move them out, just testing this out at the moment so didnt pay too much attention hehe
Reply


Messages In This Thread
Extremly slow querry - by TwinkiDaBoss - 19.06.2016, 14:05
Re: Extremly slow querry - by Sjn - 19.06.2016, 14:12
Re: Extremly slow querry - by TwinkiDaBoss - 19.06.2016, 14:18
Re: Extremly slow querry - by Konstantinos - 19.06.2016, 14:23
Re: Extremly slow querry - by TwinkiDaBoss - 19.06.2016, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)