Including Functions.php

Time Before: 0.00337 seconds
Time After: 0.00854 seconds
Time Taken: 0.00517 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.00858 seconds
Time After: 0.00910 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.00971 seconds
Time After: 0.01009 seconds
Time Taken: 0.00038 seconds

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

Time Before: 0.00920 seconds
Time After: 0.01144 seconds
Time Taken: 0.00225 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 = '54.208.73.179'
	AND idhash = 'c8c0e9affe4c0bdbdb837657a0ba60ff'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    2720.37Using where

Time Before: 0.01234 seconds
Time After: 0.01249 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.01297 seconds
Time After: 0.01322 seconds
Time Taken: 0.00024 seconds

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

Time Before: 0.01200 seconds
Time After: 0.01331 seconds
Time Taken: 0.00131 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.01500 seconds
Time After: 0.01523 seconds
Time Taken: 0.00023 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.01605 seconds
Time After: 0.01669 seconds
Time Taken: 0.00064 seconds

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

End call of global.php: 0.017812967300415
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.02049 seconds
Time After: 0.02070 seconds
Time Taken: 0.00020 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.02127 seconds
Time After: 0.02136 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 <= 1611171289
	AND enddate >= 1611171289
	AND forumid IN (38,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.02274 seconds
Time After: 0.02290 seconds
Time Taken: 0.00016 seconds

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

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

FROM thread AS thread


WHERE forumid = 38
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const8100.00 

Time Before: 0.02343 seconds
Time After: 0.02353 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,581.953 KB
Memory After: 3,582.391 KB
Memory Used: 0.438 KB

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

Time Before: 0.02370 seconds
Time After: 0.02377 seconds
Time Taken: 0.00007 seconds

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

Time Before: 0.02398 seconds
Time After: 0.02409 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,584.758 KB
Memory After: 3,585.414 KB
Memory Used: 0.656 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,6932,70371,13403,637,1516,716,225) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 8100.00Using index condition; Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4h23696_denezka.thread.firstpostid1100.00 

Time Before: 0.02442 seconds
Time After: 0.02464 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,586.672 KB
Memory After: 3,587.977 KB
Memory Used: 1.305 KB

SQL Query
UPDATE session
SET lastactivity = 1611171289, location = '/forumdisplay.php?f=38&explain=1', inforum = 38, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '3bc43b52cadae995c38d8146bb17ff90'

Time Before: 0.02853 seconds
Time After: 0.02862 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,008.344 KB
Memory After: 4,008.555 KB
Memory Used: 0.211 KB

Page generated in 0.02818489074707 seconds with 13 queries, spending 0.003204345703125 doing MySQL queries and 0.024980545043945 doing PHP things.
Shutdown Queries:
DISABLED