Including Functions.php

Time Before: 0.00580 seconds
Time After: 0.01442 seconds
Time Taken: 0.00863 seconds

Memory Before: 1,809.766 KB
Memory After: 3,054.828 KB
Memory Used: 1,245.063 KB

Connect to Database on Server: localhost

Time Before: 0.01483 seconds
Time After: 0.01536 seconds
Time Taken: 0.00054 seconds

Memory Before: 3,054.766 KB
Memory After: 3,055.719 KB
Memory Used: 0.953 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01562 seconds
Time After: 0.01569 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,056.453 KB
Memory After: 3,057.016 KB
Memory Used: 0.563 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.01623 seconds
Time After: 0.01782 seconds
Time Taken: 0.00159 seconds

Memory Before: 3,060.320 KB
Memory After: 3,061.219 KB
Memory Used: 0.898 KB

Time Before: 0.01576 seconds
Time After: 0.02297 seconds
Time Taken: 0.00721 seconds

Memory Before: 3,056.266 KB
Memory After: 5,524.922 KB
Memory Used: 2,468.656 KB

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

Time Before: 0.02589 seconds
Time After: 0.02606 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,122.594 KB
Memory After: 6,123.203 KB
Memory Used: 0.609 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.02693 seconds
Time After: 0.02752 seconds
Time Taken: 0.00058 seconds

Memory Before: 6,135.703 KB
Memory After: 6,135.656 KB
Memory Used: -0.047 KB

Time Before: 0.02523 seconds
Time After: 0.02769 seconds
Time Taken: 0.00246 seconds

Memory Before: 6,114.547 KB
Memory After: 6,229.656 KB
Memory Used: 115.109 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.03232 seconds
Time After: 0.03274 seconds
Time Taken: 0.00041 seconds

Memory Before: 6,718.117 KB
Memory After: 6,718.711 KB
Memory Used: 0.594 KB

End call of global.php: 0.034214973449707
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.03684 seconds
Time After: 0.03740 seconds
Time Taken: 0.00057 seconds

Memory Before: 7,618.930 KB
Memory After: 7,622.688 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.03841 seconds
Time After: 0.03957 seconds
Time Taken: 0.00116 seconds

Memory Before: 7,739.570 KB
Memory After: 7,766.414 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.04361 seconds
Time After: 0.04431 seconds
Time Taken: 0.00070 seconds

Memory Before: 8,596.250 KB
Memory After: 8,597.672 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 > 1566614798
ORDER BY lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession rangelast_activitylast_activity4 44100.00Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.session.userid1100.00 

Time Before: 0.04985 seconds
Time After: 0.05063 seconds
Time Taken: 0.00078 seconds

Memory Before: 8,936.813 KB
Memory After: 8,951.070 KB
Memory Used: 14.258 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 <= 1566615698
	AND enddate >= 1566615698
	AND forumid IN (272,298,240,-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.05757 seconds
Time After: 0.05780 seconds
Time Taken: 0.00023 seconds

Memory Before: 9,090.266 KB
Memory After: 9,090.359 KB
Memory Used: 0.094 KB

SQL Query
SELECT COUNT(*) AS threads

FROM thread AS thread


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

Time Before: 0.05827 seconds
Time After: 0.05842 seconds
Time Taken: 0.00014 seconds

Memory Before: 9,094.883 KB
Memory After: 9,095.375 KB
Memory Used: 0.492 KB

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


WHERE thread.forumid = 272
	AND thread.lastpost > 1566615698
	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.05878 seconds
Time After: 0.05892 seconds
Time Taken: 0.00014 seconds

Memory Before: 9,095.594 KB
Memory After: 9,096.039 KB
Memory Used: 0.445 KB

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

Time Before: 0.05922 seconds
Time After: 0.05938 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,095.641 KB
Memory After: 9,096.188 KB
Memory Used: 0.547 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 = 272
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid_lastpost2const251.00Using where

Time Before: 0.05977 seconds
Time After: 0.06008 seconds
Time Taken: 0.00030 seconds

Memory Before: 9,098.445 KB
Memory After: 9,099.883 KB
Memory Used: 1.438 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,36560,3320,64202,63923,63297,62787,62270,59413,61986,61583,59850,57142,56369,54771,35224,31209,30068,29138,28601,1912,63130,58918) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangePRIMARYPRIMARY4 23100.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.06078 seconds
Time After: 0.06209 seconds
Time Taken: 0.00132 seconds

Memory Before: 9,102.789 KB
Memory After: 9,108.500 KB
Memory Used: 5.711 KB

SQL Query
UPDATE session
SET lastactivity = 1566615698, location = 'forumdisplay.php?f=272', inforum = 272, badlocation = 0
WHERE sessionhash = 'f4a6252fdfad228acad53a2c3044b159'

Time Before: 0.10015 seconds
Time After: 0.10044 seconds
Time Taken: 0.00029 seconds

Memory Before: 10,201.633 KB
Memory After: 10,201.859 KB
Memory Used: 0.227 KB

Page generated in 0.099078893661499 seconds with 16 queries, spending 0.0091347694396973 doing MySQL queries and 0.089944124221802 doing PHP things.
Shutdown Queries:
DISABLED