Including Functions.php

Time Before: 0.00318 seconds
Time After: 0.00795 seconds
Time Taken: 0.00477 seconds

Memory Before: 1,492.180 KB
Memory After: 2,415.375 KB
Memory Used: 923.195 KB

Connect to Database on Server: localhost

Time Before: 0.00800 seconds
Time After: 0.00852 seconds
Time Taken: 0.00052 seconds

Memory Before: 2,415.336 KB
Memory After: 2,416.258 KB
Memory Used: 0.922 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY150 17100.00Using index condition

Time Before: 0.00920 seconds
Time After: 0.00962 seconds
Time Taken: 0.00042 seconds

Memory Before: 2,420.133 KB
Memory After: 2,421.133 KB
Memory Used: 1.000 KB

Time Before: 0.00864 seconds
Time After: 0.01096 seconds
Time Taken: 0.00232 seconds

Memory Before: 2,416.102 KB
Memory After: 2,943.828 KB
Memory Used: 527.727 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.230.154.129'
	AND idhash = 'aa4664439e219e9dcaeef00d5efb5ec9'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    1150.87Using where

Time Before: 0.01197 seconds
Time After: 0.01212 seconds
Time Taken: 0.00016 seconds

Memory Before: 2,982.523 KB
Memory After: 2,983.141 KB
Memory Used: 0.617 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			options AS lang_options,
			languagecode AS lang_code,
			charset AS lang_charset,
			locale AS lang_locale,
			imagesoverride AS lang_imagesoverride,
			dateoverride AS lang_dateoverride,
			timeoverride AS lang_timeoverride,
			registereddateoverride AS lang_registereddateoverride,
			calformat1override AS lang_calformat1override,
			calformat2override AS lang_calformat2override,
			logdateoverride AS lang_logdateoverride,
			decimalsep AS lang_decimalsep,
			thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01272 seconds
Time After: 0.01302 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,994.156 KB
Memory After: 2,994.188 KB
Memory Used: 0.031 KB

Time Before: 0.01153 seconds
Time After: 0.01314 seconds
Time Taken: 0.00161 seconds

Memory Before: 2,977.594 KB
Memory After: 3,048.883 KB
Memory Used: 71.289 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle systemPRIMARY   1100.00 

Time Before: 0.01471 seconds
Time After: 0.01488 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,086.570 KB
Memory After: 3,087.188 KB
Memory Used: 0.617 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (64,153,509,511,510,164,161,163,160,162,168,170,154,167,155,156,169,171,166,560,570,499,563,581,564,585,586,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 47100.00Using index condition

Time Before: 0.01575 seconds
Time After: 0.01622 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,255.219 KB
Memory After: 3,256.695 KB
Memory Used: 1.477 KB

End call of global.php: 0.017169952392578
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    40100.00 

Time Before: 0.01915 seconds
Time After: 0.01931 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,432.617 KB
Memory After: 3,436.516 KB
Memory Used: 3.898 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEmoderator systemuserid_forumid   1100.00 
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 

Time Before: 0.02006 seconds
Time After: 0.02020 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,512.945 KB
Memory After: 3,513.438 KB
Memory Used: 0.492 KB

SQL Query
SELECT
	announcement.announcementid, startdate, title, announcement.views,
	user.username, user.userid, user.usertitle, user.customtitle, user.usergroupid,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM announcement AS announcement

LEFT JOIN user AS user ON(user.userid = announcement.userid)

WHERE startdate <= 1591428208
	AND enddate >= 1591428208
	AND forumid IN (19,16,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.02214 seconds
Time After: 0.02227 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,574.484 KB
Memory After: 3,574.578 KB
Memory Used: 0.094 KB

SQL Query
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1591428208 AND open <> 10, 1, 0)) AS newthread

FROM thread AS thread


WHERE forumid = 19
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const209100.00 

Time Before: 0.02267 seconds
Time After: 0.02312 seconds
Time Taken: 0.00044 seconds

Memory Before: 3,581.852 KB
Memory After: 3,582.297 KB
Memory Used: 0.445 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 19
	AND sticky = 1
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const1100.00 

Time Before: 0.02334 seconds
Time After: 0.02344 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,582.500 KB
Memory After: 3,582.977 KB
Memory Used: 0.477 KB

SQL Query
SELECT  thread.threadid,
	thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views
	
FROM thread AS thread


WHERE forumid = 19
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const209100.00Using where

Time Before: 0.02376 seconds
Time After: 0.02394 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,584.703 KB
Memory After: 3,586.078 KB
Memory Used: 1.375 KB

SQL Query
SELECT 
	IF(votenum >= 1, votenum, 0) AS votenum,
	IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
 post.pagetext AS preview,
	thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
	thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, hiddencount, deletedcount
	
	
	
	
	
FROM thread AS thread
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0,117216,117197,111996,106614,106627,54090,70394,1420,855,35800,44046,43795,37411,37347,37303,37286,37267,37249,37232,37219) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 21100.00Using index condition; Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4h23696_denezka.thread.firstpostid1100.00 

Time Before: 0.02444 seconds
Time After: 0.02492 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,586.961 KB
Memory After: 3,590.930 KB
Memory Used: 3.969 KB

SQL Query
UPDATE session
SET lastactivity = 1591428208, location = '/forumdisplay.php?f=19&explain=1', inforum = 19, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '52f3368aeb1b8acbb81d62048b04c801'

Time Before: 0.03707 seconds
Time After: 0.03717 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,117.430 KB
Memory After: 4,117.641 KB
Memory Used: 0.211 KB

Page generated in 0.036616086959839 seconds with 13 queries, spending 0.0037600994110107 doing MySQL queries and 0.032855987548828 doing PHP things.
Shutdown Queries:
DISABLED