Including Functions.php

Time Before: 0.00219 seconds
Time After: 0.00586 seconds
Time Taken: 0.00368 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.00590 seconds
Time After: 0.00644 seconds
Time Taken: 0.00054 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.00706 seconds
Time After: 0.00746 seconds
Time Taken: 0.00040 seconds

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

Time Before: 0.00653 seconds
Time After: 0.00875 seconds
Time Taken: 0.00223 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 = '34.234.207.100'
	AND idhash = '7c68289421d7b1ef12a293269e33b39e'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    691.45Using where

Time Before: 0.00967 seconds
Time After: 0.00980 seconds
Time Taken: 0.00013 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.01029 seconds
Time After: 0.01060 seconds
Time Taken: 0.00031 seconds

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

Time Before: 0.00932 seconds
Time After: 0.01067 seconds
Time Taken: 0.00135 seconds

Memory Before: 2,977.594 KB
Memory After: 3,048.906 KB
Memory Used: 71.313 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.01180 seconds
Time After: 0.01193 seconds
Time Taken: 0.00014 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.01260 seconds
Time After: 0.01301 seconds
Time Taken: 0.00041 seconds

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

End call of global.php: 0.013868093490601
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.01593 seconds
Time After: 0.01611 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,432.641 KB
Memory After: 3,436.539 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.01689 seconds
Time After: 0.01704 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,512.922 KB
Memory After: 3,513.414 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 <= 1603966640
	AND enddate >= 1603966640
	AND forumid IN (13,3,-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.01911 seconds
Time Taken: 0.00014 seconds

Memory Before: 3,574.484 KB
Memory After: 3,574.586 KB
Memory Used: 0.102 KB

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

FROM thread AS thread


WHERE forumid = 13
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const747100.00 

Time Before: 0.01947 seconds
Time After: 0.02082 seconds
Time Taken: 0.00135 seconds

Memory Before: 3,581.867 KB
Memory After: 3,582.313 KB
Memory Used: 0.445 KB

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

Time Before: 0.02103 seconds
Time After: 0.02111 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,582.523 KB
Memory After: 3,582.992 KB
Memory Used: 0.469 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 = 13
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const747100.00Using where

Time Before: 0.02139 seconds
Time After: 0.02155 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,584.734 KB
Memory After: 3,586.109 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,117211,117199,117198,117167,117163,117161,117102,117100,116750,116749,116686,87905,116617,116543,116484,116374,116319,78837,115230,116220) 
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.02206 seconds
Time After: 0.02250 seconds
Time Taken: 0.00045 seconds

Memory Before: 3,587.055 KB
Memory After: 3,591.008 KB
Memory Used: 3.953 KB

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

Time Before: 0.03577 seconds
Time After: 0.03592 seconds
Time Taken: 0.00015 seconds

Memory Before: 4,116.625 KB
Memory After: 4,116.836 KB
Memory Used: 0.211 KB

Page generated in 0.035221099853516 seconds with 13 queries, spending 0.0045814514160156 doing MySQL queries and 0.0306396484375 doing PHP things.
Shutdown Queries:
DISABLED