Including Functions.php

Time Before: 0.00040 seconds
Time After: 0.00046 seconds
Time Taken: 0.00006 seconds

Memory Before: 442.766 KB
Memory After: 509.719 KB
Memory Used: 66.953 KB

Connect to Database on Server: localhost

Time Before: 0.00052 seconds
Time After: 0.00124 seconds
Time Taken: 0.00071 seconds

Memory Before: 509.695 KB
Memory After: 510.586 KB
Memory Used: 0.891 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 ALLPRIMARY   3357.58Using where

Time Before: 0.00202 seconds
Time After: 0.00477 seconds
Time Taken: 0.00275 seconds

Memory Before: 512.430 KB
Memory After: 646.438 KB
Memory Used: 134.008 KB

Time Before: 0.00139 seconds
Time After: 0.01494 seconds
Time Taken: 0.01356 seconds

Memory Before: 510.406 KB
Memory After: 911.641 KB
Memory Used: 401.234 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '34.239.158.107'
	AND idhash = '613d28032e6bc98d55618606671d6a7a'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refuser_activity,guest_lookupguest_lookup83const,const,const2100.00 

Time Before: 0.01609 seconds
Time After: 0.01637 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,075.539 KB
Memory After: 1,092.242 KB
Memory Used: 16.703 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 = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.01721 seconds
Time After: 0.01903 seconds
Time Taken: 0.00182 seconds

Memory Before: 1,083.484 KB
Memory After: 1,152.313 KB
Memory Used: 68.828 KB

Time Before: 0.01545 seconds
Time After: 0.01915 seconds
Time Taken: 0.00370 seconds

Memory Before: 1,071.766 KB
Memory After: 1,141.477 KB
Memory Used: 69.711 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcms_permissions constusergroupid,nodeidusergroupid8const,const1100.00 

Time Before: 0.02605 seconds
Time After: 0.02628 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,261.039 KB
Memory After: 1,277.289 KB
Memory Used: 16.250 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 constPRIMARYPRIMARY2const1100.00 

Time Before: 0.02707 seconds
Time After: 0.02996 seconds
Time Taken: 0.00288 seconds

Memory Before: 1,261.398 KB
Memory After: 1,390.039 KB
Memory Used: 128.641 KB

End call of global.php: 0.037042140960693
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   1100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.moderator.userid1100.00 

Time Before: 0.03788 seconds
Time After: 0.03818 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,785.758 KB
Memory After: 1,802.023 KB
Memory Used: 16.266 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    3100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.forum.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,relationid,useridPRIMARY9const,vb_local.user.userid,const1100.00 

Time Before: 0.03902 seconds
Time After: 0.03942 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,790.734 KB
Memory After: 1,808.234 KB
Memory Used: 17.500 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (421,541,929,931,930,552,553,549,551,548,550,544,990,1056,919,967,999,1000,1020,0,0,426,420,419,424,425,423,422,427,428,429,735,1009,681,685,682,683,684,1039,0,0,1019,980,705,706,708,709,932,1051,1033,983,984,532,531,535,85)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 53100.00Using where

Time Before: 0.04332 seconds
Time After: 0.04413 seconds
Time Taken: 0.00082 seconds

Memory Before: 1,918.266 KB
Memory After: 2,081.414 KB
Memory Used: 163.148 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 <= 1566302781
	AND enddate >= 1566302781
	AND forumid IN (2,1,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEannouncement rangeforumid,startdatestartdate6 1100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.announcement.userid1100.00 

Time Before: 0.04932 seconds
Time After: 0.04968 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,172.617 KB
Memory After: 2,188.461 KB
Memory Used: 15.844 KB

SQL Query
SELECT COUNT(*) AS threads

FROM thread AS thread


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

Time Before: 0.05019 seconds
Time After: 0.05041 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,189.672 KB
Memory After: 2,206.078 KB
Memory Used: 16.406 KB

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


WHERE thread.forumid = 2
	AND thread.lastpost > 1566302781
	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.05086 seconds
Time After: 0.05109 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,190.227 KB
Memory After: 2,206.633 KB
Memory Used: 16.406 KB

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

Time Before: 0.05147 seconds
Time After: 0.05265 seconds
Time Taken: 0.00119 seconds

Memory Before: 2,190.125 KB
Memory After: 2,206.281 KB
Memory Used: 16.156 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 = 2
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumid,forumid_lastpostforumid6const,const,const16100.00Using where

Time Before: 0.05305 seconds
Time After: 0.05342 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,190.875 KB
Memory After: 2,209.727 KB
Memory Used: 18.852 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,17,16,15,14,13,12,11,10,9,8,7,6,5,4,1,2,3) 
ORDER BY thread.sticky DESC, lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread ALLPRIMARY   17100.00Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4vb_local.thread.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,relationid,useridPRIMARY9const,vb_local.user.userid,const1100.00 
1SIMPLEpost eq_refPRIMARYPRIMARY4vb_local.thread.firstpostid1100.00 

Time Before: 0.05429 seconds
Time After: 0.05538 seconds
Time Taken: 0.00108 seconds

Memory Before: 2,193.641 KB
Memory After: 2,221.305 KB
Memory Used: 27.664 KB

SQL Query
UPDATE session
SET lastactivity = 1566302781, location = 'forumdisplay.php?f=2', inforum = 2, badlocation = 0
WHERE sessionhash = 'eb34bd1fe69cc3ad6b6709878f2c67ad'

Time Before: 0.07556 seconds
Time After: 0.07593 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,391.883 KB
Memory After: 2,391.758 KB
Memory Used: -0.125 KB

Page generated in 0.075129985809326 seconds with 15 queries, spending 0.014001846313477 doing MySQL queries and 0.06112813949585 doing PHP things.
Shutdown Queries:
DISABLED