Including Functions.php

Time Before: 0.01373 seconds
Time After: 0.02630 seconds
Time Taken: 0.01257 seconds

Memory Before: 407.039 KB
Memory After: 414.922 KB
Memory Used: 7.883 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.02640 seconds
Time After: 0.03003 seconds
Time Taken: 0.00363 seconds

Memory Before: 414.875 KB
Memory After: 415.797 KB
Memory Used: 0.922 KB

Datastore Setup
SQL Query
SELECT title, data
FROM datastore
WHERE title IN ('','options','bitfields','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','iconcache','mailqueue')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY17 12100.00Using index condition

Time Before: 0.03201 seconds
Time After: 0.03260 seconds
Time Taken: 0.00059 seconds

Memory Before: 418.844 KB
Memory After: 419.422 KB
Memory Used: 0.578 KB

Time Before: 0.03043 seconds
Time After: 0.03384 seconds
Time Taken: 0.00342 seconds

Memory Before: 415.469 KB
Memory After: 694.539 KB
Memory Used: 279.070 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.206.194.161'
	AND idhash = '86c8e5cb1942282b410e956a5ef61db8'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    1330.75Using where

Time Before: 0.03470 seconds
Time After: 0.03516 seconds
Time Taken: 0.00046 seconds

Memory Before: 703.570 KB
Memory After: 703.977 KB
Memory Used: 0.406 KB

SQL Query
SELECT languageid,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_global AS phrasegroup_global,
			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.03733 seconds
Time After: 0.03794 seconds
Time Taken: 0.00061 seconds

Memory Before: 713.125 KB
Memory After: 712.977 KB
Memory Used: -0.148 KB

Time Before: 0.03407 seconds
Time After: 0.03807 seconds
Time Taken: 0.00400 seconds

Memory Before: 699.031 KB
Memory After: 744.898 KB
Memory Used: 45.867 KB

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

Time Before: 0.04741 seconds
Time After: 0.04787 seconds
Time Taken: 0.00046 seconds

Memory Before: 855.945 KB
Memory After: 856.422 KB
Memory Used: 0.477 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (3148,3352,3353,3149,3159,3156,3158,3155,3157,3162,3164,3150,3161,3151,3152,3163,3165,3385,3341,450,3422,3389,3260,3405,418,3384,3387,3395,3246,3247,3248,3249,3355,3400,3399,3401,3404)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 37100.00Using index condition

Time Before: 0.05042 seconds
Time After: 0.05142 seconds
Time Taken: 0.00099 seconds

Memory Before: 983.711 KB
Memory After: 984.023 KB
Memory Used: 0.313 KB

End call of global.php: 0.052907943725586
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount
	
FROM forum AS forum
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    6100.00 

Time Before: 0.06501 seconds
Time After: 0.06526 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,091.305 KB
Memory After: 1,091.727 KB
Memory Used: 0.422 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.06717 seconds
Time After: 0.06747 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,101.180 KB
Memory After: 1,101.555 KB
Memory Used: 0.375 KB

SQL Query
SELECT user.username, (user.options & 512) AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1581916524
ORDER BY username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    13333.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.session.userid1100.00 

Time Before: 0.06896 seconds
Time After: 0.06951 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,112.000 KB
Memory After: 1,112.195 KB
Memory Used: 0.195 KB

SQL Query
SELECT
	announcementid, startdate, title, announcement.views,
	user.username, user.userid, user.usertitle, user.customtitle
FROM announcement AS announcement
LEFT JOIN user AS user ON(user.userid = announcement.userid)
WHERE startdate <= 1581921024
	AND enddate >= 1581921024
	AND forumid IN (5,1,-1)
ORDER BY startdate DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.07079 seconds
Time After: 0.07129 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,125.633 KB
Memory After: 1,125.844 KB
Memory Used: 0.211 KB

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

FROM thread AS thread

WHERE forumid = 5
	AND sticky = 0
	 AND visible = 1 
	
	AND thread.lastpost >= 1579325424
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,lastpostforumid10 1100.00Using index condition

Time Before: 0.07224 seconds
Time After: 0.07272 seconds
Time Taken: 0.00048 seconds

Memory Before: 1,129.578 KB
Memory After: 1,129.906 KB
Memory Used: 0.328 KB

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

Time Before: 0.07336 seconds
Time After: 0.07357 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,131.039 KB
Memory After: 1,131.477 KB
Memory Used: 0.438 KB

SQL Query
SELECT  threadid
	
FROM thread AS thread

WHERE forumid = 5
	AND sticky = 0
	 AND visible = 1 
	
	AND thread.lastpost >= 1579325424
	
	
ORDER BY sticky DESC, thread.lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,lastpostforumid10 1100.00Using index condition

Time Before: 0.07420 seconds
Time After: 0.07460 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,132.375 KB
Memory After: 1,132.727 KB
Memory Used: 0.352 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, replycount, postusername, postuserid, thread.iconid AS threadiconid,
	thread.lastpost, lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
	hiddencount
	
	
	
FROM thread AS thread
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
WHERE thread.threadid IN (0) 
ORDER BY sticky DESC, thread.lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.07545 seconds
Time After: 0.07592 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,133.875 KB
Memory After: 1,133.773 KB
Memory Used: -0.102 KB

Page generated in 0.07780 seconds with 13 queries, spending 0.009911060333252 doing MySQL queries and 0.067888939666748 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1581917424, location = '/members/forumdisplay.php?f=5&explain=1', inforum = 5, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '565c5ea068885ea71b06a1ef80dfab20'

Time Before: 0.07837 seconds
Time After: 0.07872 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,388.758 KB
Memory After: 1,388.938 KB
Memory Used: 0.180 KB