Including Functions.php

Time Before: 0.00927 seconds
Time After: 0.02578 seconds
Time Taken: 0.01651 seconds

Memory Before: 1,809.344 KB
Memory After: 3,054.367 KB
Memory Used: 1,245.023 KB

Connect to Database on Server: localhost

Time Before: 0.02639 seconds
Time After: 0.02741 seconds
Time Taken: 0.00102 seconds

Memory Before: 3,054.305 KB
Memory After: 3,055.258 KB
Memory Used: 0.953 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02772 seconds
Time After: 0.02784 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,055.992 KB
Memory After: 3,056.547 KB
Memory Used: 0.555 KB

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

Time Before: 0.02869 seconds
Time After: 0.03121 seconds
Time Taken: 0.00252 seconds

Memory Before: 3,059.852 KB
Memory After: 3,060.750 KB
Memory Used: 0.898 KB

Time Before: 0.02795 seconds
Time After: 0.03698 seconds
Time Taken: 0.00903 seconds

Memory Before: 3,055.797 KB
Memory After: 5,524.469 KB
Memory Used: 2,468.672 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '172.69.63.36'
	AND idhash = 'a6d7a3185b58f43234493d3a9b6cec37'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refguest_lookup,user_activityguest_lookup145const,const,const2100.00 

Time Before: 0.04032 seconds
Time After: 0.04049 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,122.133 KB
Memory After: 6,122.750 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,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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 = 8
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.04152 seconds
Time After: 0.04220 seconds
Time Taken: 0.00069 seconds

Memory Before: 6,135.258 KB
Memory After: 6,135.211 KB
Memory Used: -0.047 KB

Time Before: 0.03956 seconds
Time After: 0.04241 seconds
Time Taken: 0.00285 seconds

Memory Before: 6,114.109 KB
Memory After: 6,229.227 KB
Memory Used: 115.117 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 7 AND userselect = 1)
	OR styleid = 7
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.04772 seconds
Time After: 0.04826 seconds
Time Taken: 0.00053 seconds

Memory Before: 6,717.508 KB
Memory After: 6,718.102 KB
Memory Used: 0.594 KB

End call of global.php: 0.049852132797241
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 ALLuserid_forumid   48100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.moderator.userid1100.00 

Time Before: 0.05253 seconds
Time After: 0.05311 seconds
Time Taken: 0.00059 seconds

Memory Before: 7,618.406 KB
Memory After: 7,622.164 KB
Memory Used: 3.758 KB

SQL Query
SELECT forum.forumid, forum.lastpost, forum.lastposter, forum.lastposterid, forum.lastthread, forum.lastthreadid, forum.lasticonid, forum.threadcount, forum.replycount, forum.lastpostid, forum.lastprefixid, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
	user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
	
FROM forum AS forum

LEFT JOIN user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    181100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.forum.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,userid,relationidPRIMARY9const,whitefor_b1.user.userid,const1100.00 

Time Before: 0.05421 seconds
Time After: 0.05540 seconds
Time Taken: 0.00120 seconds

Memory Before: 7,739.094 KB
Memory After: 7,765.938 KB
Memory Used: 26.844 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (5723,11436,11824,11826,11825,11447,11448,11444,11446,11443,11445,11439,11914,11864,11814,11923,11933,11874,11944,0,0,5728,5722,8390,5355,5727,5725,5361,5729,5730,5731,11630,11926,11576,11580,11577,11578,11579,11942,0,0,11905,11907,11600,11601,11603,11604,11827,11869,11868,11918,11870,11427,11426,11430)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 52100.00Using index condition

Time Before: 0.06022 seconds
Time After: 0.06107 seconds
Time Taken: 0.00085 seconds

Memory Before: 8,595.531 KB
Memory After: 8,596.953 KB
Memory Used: 1.422 KB

SQL Query
SELECT user.username, (user.options & 512) AS invisible, user.usergroupid,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1563538971
ORDER BY lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession rangelast_activitylast_activity4 76100.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.session.userid1100.00 

Time Before: 0.06715 seconds
Time After: 0.06761 seconds
Time Taken: 0.00046 seconds

Memory Before: 8,910.867 KB
Memory After: 8,916.289 KB
Memory Used: 5.422 KB

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

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

WHERE startdate <= 1563539871
	AND enddate >= 1563539871
	AND forumid IN (296,166,297,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEannouncement rangeforumid,enddateenddate6 322.22Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.announcement.userid1100.00 

Time Before: 0.07680 seconds
Time After: 0.07711 seconds
Time Taken: 0.00031 seconds

Memory Before: 9,063.711 KB
Memory After: 9,063.781 KB
Memory Used: 0.070 KB

SQL Query
SELECT COUNT(*) AS threads

FROM thread AS thread


WHERE thread.forumid = 296
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid6const,const,const1100.00Using index

Time Before: 0.07774 seconds
Time After: 0.07792 seconds
Time Taken: 0.00019 seconds

Memory Before: 9,068.320 KB
Memory After: 9,068.805 KB
Memory Used: 0.484 KB

SQL Query
SELECT COUNT(*) AS newthread
FROM thread AS thread


WHERE thread.forumid = 296
	AND thread.lastpost > 1563539871
	AND open <> 10
	AND sticky = 0
	
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,forumid_lastpost,lastpostforumid10 190.00Using index condition; Using where

Time Before: 0.07836 seconds
Time After: 0.07853 seconds
Time Taken: 0.00017 seconds

Memory Before: 9,069.031 KB
Memory After: 9,069.469 KB
Memory Used: 0.438 KB

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

Time Before: 0.07893 seconds
Time After: 0.07908 seconds
Time Taken: 0.00016 seconds

Memory Before: 9,069.078 KB
Memory After: 9,069.523 KB
Memory Used: 0.445 KB

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


WHERE forumid = 296
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid6const,const,const1100.00Using where

Time Before: 0.07954 seconds
Time After: 0.07972 seconds
Time Taken: 0.00018 seconds

Memory Before: 9,070.844 KB
Memory After: 9,071.078 KB
Memory Used: 0.234 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, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
	thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount, user.userid,
	user.membergroupids, user.infractiongroupids, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
	user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
	
	
	
	
	
	
FROM thread AS thread
	LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
	LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
	
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.08047 seconds
Time After: 0.08094 seconds
Time Taken: 0.00047 seconds

Memory Before: 9,075.094 KB
Memory After: 9,074.391 KB
Memory Used: -0.703 KB

SQL Query
UPDATE session
SET lastactivity = 1563539871, location = 'forumdisplay.php?f=296', inforum = 296, badlocation = 0
WHERE sessionhash = 'bb41d107fb06f97953617b8f6f274722'

Time Before: 0.08619 seconds
Time After: 0.08643 seconds
Time Taken: 0.00024 seconds

Memory Before: 9,397.031 KB
Memory After: 9,397.258 KB
Memory Used: 0.227 KB

Page generated in 0.085448980331421 seconds with 16 queries, spending 0.009852409362793 doing MySQL queries and 0.075596570968628 doing PHP things.
Shutdown Queries:
DISABLED