Including Functions.php

Time Before: 0.02025 seconds
Time After: 0.02611 seconds
Time Taken: 0.00586 seconds

Memory Before: 1,211.648 KB
Memory After: 1,952.938 KB
Memory Used: 741.289 KB

Connect to Database on Server: localhost

Time Before: 0.02617 seconds
Time After: 0.02801 seconds
Time Taken: 0.00185 seconds

Memory Before: 1,952.922 KB
Memory After: 1,953.492 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02826 seconds
Time After: 0.02842 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,953.539 KB
Memory After: 1,953.594 KB
Memory Used: 0.055 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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreALLPRIMARY   30Using where

Time Before: 0.05822 seconds
Time After: 0.05890 seconds
Time Taken: 0.00068 seconds

Memory Before: 1,955.070 KB
Memory After: 1,954.938 KB
Memory Used: -0.133 KB

Time Before: 0.02844 seconds
Time After: 0.06163 seconds
Time Taken: 0.03320 seconds

Memory Before: 1,953.383 KB
Memory After: 2,106.320 KB
Memory Used: 152.938 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '44.192.27.11'
	AND idhash = '6c0e6ba983118600570f7d53ff396742'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    371Using where

Time Before: 0.06249 seconds
Time After: 0.06301 seconds
Time Taken: 0.00052 seconds

Memory Before: 2,123.484 KB
Memory After: 2,123.664 KB
Memory Used: 0.180 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 = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.06354 seconds
Time After: 0.06517 seconds
Time Taken: 0.00164 seconds

Memory Before: 2,130.398 KB
Memory After: 2,130.578 KB
Memory Used: 0.180 KB

Time Before: 0.06210 seconds
Time After: 0.06532 seconds
Time Taken: 0.00322 seconds

Memory Before: 2,123.164 KB
Memory After: 2,183.742 KB
Memory Used: 60.578 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.06706 seconds
Time After: 0.06730 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,215.242 KB
Memory After: 2,215.547 KB
Memory Used: 0.305 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,558,564,67,66,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 47Using index condition

Time Before: 0.06857 seconds
Time After: 0.06930 seconds
Time Taken: 0.00073 seconds

Memory Before: 2,354.609 KB
Memory After: 2,354.477 KB
Memory Used: -0.133 KB

End call of global.php: 0.070168972015381
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    2 

Time Before: 0.09674 seconds
Time After: 0.09710 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,536.805 KB
Memory After: 2,537.109 KB
Memory Used: 0.305 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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorsystemuserid_forumid   1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 

Time Before: 0.09854 seconds
Time After: 0.09877 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,539.461 KB
Memory After: 2,539.516 KB
Memory Used: 0.055 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 <= 1618121116
	AND enddate >= 1618121116
	AND forumid IN (2,1,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.10317 seconds
Time After: 0.10346 seconds
Time Taken: 0.00029 seconds

Memory Before: 2,576.875 KB
Memory After: 2,576.680 KB
Memory Used: -0.195 KB

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

FROM thread AS thread


WHERE forumid = 2
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const5 

Time Before: 0.10435 seconds
Time After: 0.10476 seconds
Time Taken: 0.00041 seconds

Memory Before: 2,577.844 KB
Memory After: 2,578.148 KB
Memory Used: 0.305 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 2
	AND sticky = 1
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const1 

Time Before: 0.10502 seconds
Time After: 0.10520 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,578.344 KB
Memory After: 2,578.336 KB
Memory Used: -0.008 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 = 2
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const5Using where

Time Before: 0.10553 seconds
Time After: 0.10578 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,578.906 KB
Memory After: 2,578.836 KB
Memory Used: -0.070 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,6,5,4,3,2,1) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadALLPRIMARY   6Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4drc2.thread.firstpostid1 

Time Before: 0.10714 seconds
Time After: 0.10787 seconds
Time Taken: 0.00074 seconds

Memory Before: 2,580.195 KB
Memory After: 2,579.500 KB
Memory Used: -0.695 KB

SQL Query
UPDATE session
SET lastactivity = 1618121116, location = '/forumdisplay.php?f=2&explain=1', inforum = 2, incalendar = 0
WHERE sessionhash = 'e56f61ba3b7a33587078eb9d9b9b3c12'

Time Before: 0.11181 seconds
Time After: 0.11201 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,770.070 KB
Memory After: 2,769.945 KB
Memory Used: -0.125 KB

Page generated in 0.11152100563049 seconds with 14 queries, spending 0.0084590911865234 doing MySQL queries and 0.10306191444397 doing PHP things.
Shutdown Queries:
DISABLED