Including Functions.php

Time Before: 0.00441 seconds
Time After: 0.00932 seconds
Time Taken: 0.00491 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.00937 seconds
Time After: 0.00989 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.01040 seconds
Time After: 0.01066 seconds
Time Taken: 0.00026 seconds

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

Time Before: 0.00994 seconds
Time After: 0.01137 seconds
Time Taken: 0.00142 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.119.106'
	AND idhash = '8ed9cc9d221cb6e9d19f1a2f7394c381'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    2870.35Using where

Time Before: 0.01199 seconds
Time After: 0.01214 seconds
Time Taken: 0.00015 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.01258 seconds
Time After: 0.01276 seconds
Time Taken: 0.00018 seconds

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

Time Before: 0.01171 seconds
Time After: 0.01282 seconds
Time Taken: 0.00110 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.01366 seconds
Time After: 0.01375 seconds
Time Taken: 0.00009 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.01425 seconds
Time After: 0.01456 seconds
Time Taken: 0.00031 seconds

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

End call of global.php: 0.015177011489868
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.01667 seconds
Time After: 0.01679 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,432.695 KB
Memory After: 3,436.586 KB
Memory Used: 3.891 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.01747 seconds
Time After: 0.01757 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,512.961 KB
Memory After: 3,513.453 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 <= 1600868597
	AND enddate >= 1600868597
	AND forumid IN (39,36,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.01898 seconds
Time After: 0.01908 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,574.492 KB
Memory After: 3,574.586 KB
Memory Used: 0.094 KB

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

FROM thread AS thread


WHERE forumid = 39
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const9100.00 

Time Before: 0.01936 seconds
Time After: 0.01945 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,581.859 KB
Memory After: 3,582.297 KB
Memory Used: 0.438 KB

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

Time Before: 0.01958 seconds
Time After: 0.01963 seconds
Time Taken: 0.00005 seconds

Memory Before: 3,582.508 KB
Memory After: 3,582.984 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 = 39
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const9100.00Using where

Time Before: 0.01982 seconds
Time After: 0.01992 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,584.664 KB
Memory After: 3,585.430 KB
Memory Used: 0.766 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,70369,10701,13618,13501,7319,5196,226,1517,638) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 10100.00Using index condition; Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4h23696_denezka.thread.firstpostid1100.00 

Time Before: 0.02026 seconds
Time After: 0.02053 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,586.648 KB
Memory After: 3,588.336 KB
Memory Used: 1.688 KB

SQL Query
UPDATE session
SET lastactivity = 1600868597, location = '/forumdisplay.php?f=39&explain=1', inforum = 39, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'd52b2ef40b6aed3addf4f6e93fa18e8d'

Time Before: 0.02532 seconds
Time After: 0.02552 seconds
Time Taken: 0.00020 seconds

Memory Before: 4,019.281 KB
Memory After: 4,019.492 KB
Memory Used: 0.211 KB

Page generated in 0.024960994720459 seconds with 13 queries, spending 0.0025453567504883 doing MySQL queries and 0.022415637969971 doing PHP things.
Shutdown Queries:
DISABLED