Including Functions.php

Time Before: 0.00563 seconds
Time After: 0.01393 seconds
Time Taken: 0.00830 seconds

Memory Before: 1,810.234 KB
Memory After: 3,055.375 KB
Memory Used: 1,245.141 KB

Connect to Database on Server: localhost

Time Before: 0.01431 seconds
Time After: 0.01494 seconds
Time Taken: 0.00063 seconds

Memory Before: 3,055.313 KB
Memory After: 3,056.266 KB
Memory Used: 0.953 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01511 seconds
Time After: 0.01519 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,057.000 KB
Memory After: 3,057.555 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.01572 seconds
Time After: 0.01732 seconds
Time Taken: 0.00160 seconds

Memory Before: 3,060.859 KB
Memory After: 3,061.758 KB
Memory Used: 0.898 KB

Time Before: 0.01523 seconds
Time After: 0.02226 seconds
Time Taken: 0.00703 seconds

Memory Before: 3,056.805 KB
Memory After: 5,525.531 KB
Memory Used: 2,468.727 KB

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

Time Before: 0.02489 seconds
Time After: 0.02504 seconds
Time Taken: 0.00015 seconds

Memory Before: 6,123.211 KB
Memory After: 6,123.656 KB
Memory Used: 0.445 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.02598 seconds
Time After: 0.02657 seconds
Time Taken: 0.00060 seconds

Memory Before: 6,137.727 KB
Memory After: 6,137.695 KB
Memory Used: -0.031 KB

Time Before: 0.02427 seconds
Time After: 0.02674 seconds
Time Taken: 0.00247 seconds

Memory Before: 6,115.180 KB
Memory After: 6,231.297 KB
Memory Used: 116.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.03098 seconds
Time After: 0.03135 seconds
Time Taken: 0.00037 seconds

Memory Before: 6,717.367 KB
Memory After: 6,717.961 KB
Memory Used: 0.594 KB

End call of global.php: 0.032559156417847
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.03490 seconds
Time After: 0.03543 seconds
Time Taken: 0.00052 seconds

Memory Before: 7,618.063 KB
Memory After: 7,621.820 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.03632 seconds
Time After: 0.03752 seconds
Time Taken: 0.00119 seconds

Memory Before: 7,739.070 KB
Memory After: 7,765.914 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.04099 seconds
Time After: 0.04168 seconds
Time Taken: 0.00070 seconds

Memory Before: 8,598.438 KB
Memory After: 8,599.859 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 > 1582463683
ORDER BY lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession rangelast_activitylast_activity4 39100.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.session.userid1100.00 

Time Before: 0.04688 seconds
Time After: 0.04735 seconds
Time Taken: 0.00047 seconds

Memory Before: 8,939.211 KB
Memory After: 8,946.805 KB
Memory Used: 7.594 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 <= 1582464583
	AND enddate >= 1582464583
	AND forumid IN (43,34,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEannouncement rangeforumid,enddateenddate6 318.52Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.announcement.userid1100.00 

Time Before: 0.05727 seconds
Time After: 0.05748 seconds
Time Taken: 0.00021 seconds

Memory Before: 9,366.195 KB
Memory After: 9,366.273 KB
Memory Used: 0.078 KB

SQL Query
SELECT COUNT(*) AS threads

FROM thread AS thread


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

Time Before: 0.05790 seconds
Time After: 0.05881 seconds
Time Taken: 0.00090 seconds

Memory Before: 9,370.828 KB
Memory After: 9,371.313 KB
Memory Used: 0.484 KB

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


WHERE thread.forumid = 43
	AND thread.lastpost > 1582464583
	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.05911 seconds
Time After: 0.05925 seconds
Time Taken: 0.00014 seconds

Memory Before: 9,371.555 KB
Memory After: 9,371.992 KB
Memory Used: 0.438 KB

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

Time Before: 0.05953 seconds
Time After: 0.05972 seconds
Time Taken: 0.00019 seconds

Memory Before: 9,371.586 KB
Memory After: 9,372.289 KB
Memory Used: 0.703 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 = 43
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid6const,const,const3785100.00Using where

Time Before: 0.06008 seconds
Time After: 0.06042 seconds
Time Taken: 0.00034 seconds

Memory Before: 9,374.500 KB
Memory After: 9,376.586 KB
Memory Used: 2.086 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,102584,102582,63027,64579,64561,64549,64548,64509,64514,64506,64430,64432,64399,63611,64434,64417,64345,64363,62311,63461,64361,19868,42458,64057,64227,64185,64188,64168,64030,64065,29647,47194,7485,19945,20153,53832,47005,34666) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 39100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.thread.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,userid,relationidPRIMARY9const,whitefor_b1.user.userid,const1100.00 
1SIMPLEpost eq_refPRIMARYPRIMARY4whitefor_b1.thread.firstpostid1100.00 

Time Before: 0.06111 seconds
Time After: 0.06301 seconds
Time Taken: 0.00190 seconds

Memory Before: 9,379.219 KB
Memory After: 9,389.570 KB
Memory Used: 10.352 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate, apiclientid, apiaccesstoken)
VALUES
	('ed967c86f56b519940648d59cd9eb89a', 0, '173.245.54.56', 'eb12f3a4bcbe38b1d6e1f826cb8f79c0', 1582464583, 'forumdisplay.php?f=43', 0, 0, 0, 43, 0, 0, 0, 'CCBot/2.0 (https://commoncrawl.org/faq/)', 0, 0, 0, '')

Time Before: 0.11800 seconds
Time After: 0.11824 seconds
Time Taken: 0.00025 seconds

Memory Before: 10,823.266 KB
Memory After: 10,823.227 KB
Memory Used: -0.039 KB

Page generated in 0.11520719528198 seconds with 16 queries, spending 0.010226726531982 doing MySQL queries and 0.10498046875 doing PHP things.
Shutdown Queries:
DISABLED