Including Functions.php

Time Before: 0.01301 seconds
Time After: 0.02590 seconds
Time Taken: 0.01289 seconds

Memory Before: 408.539 KB
Memory After: 416.430 KB
Memory Used: 7.891 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.02610 seconds
Time After: 0.02964 seconds
Time Taken: 0.00354 seconds

Memory Before: 416.383 KB
Memory After: 417.305 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.03069 seconds
Time After: 0.03144 seconds
Time Taken: 0.00075 seconds

Memory Before: 420.367 KB
Memory After: 420.906 KB
Memory Used: 0.539 KB

Time Before: 0.03007 seconds
Time After: 0.03227 seconds
Time Taken: 0.00219 seconds

Memory Before: 416.977 KB
Memory After: 696.078 KB
Memory Used: 279.102 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.87.147.184'
	AND idhash = '185ebca33444bc8c339dd51ea9e09274'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    2330.43Using where

Time Before: 0.03311 seconds
Time After: 0.03381 seconds
Time Taken: 0.00070 seconds

Memory Before: 705.063 KB
Memory After: 705.484 KB
Memory Used: 0.422 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.03495 seconds
Time After: 0.03556 seconds
Time Taken: 0.00061 seconds

Memory Before: 714.641 KB
Memory After: 714.492 KB
Memory Used: -0.148 KB

Time Before: 0.03243 seconds
Time After: 0.03566 seconds
Time Taken: 0.00323 seconds

Memory Before: 700.547 KB
Memory After: 746.406 KB
Memory Used: 45.859 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.04842 seconds
Time After: 0.04930 seconds
Time Taken: 0.00088 seconds

Memory Before: 857.516 KB
Memory After: 857.992 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.05023 seconds
Time After: 0.05136 seconds
Time Taken: 0.00114 seconds

Memory Before: 985.281 KB
Memory After: 985.594 KB
Memory Used: 0.313 KB

End call of global.php: 0.052409887313843
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.05960 seconds
Time After: 0.06009 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,092.922 KB
Memory After: 1,093.344 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.06238 seconds
Time After: 0.06288 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,102.813 KB
Memory After: 1,103.188 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 > 1558690236
ORDER BY username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    23333.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.session.userid1100.00 

Time Before: 0.06414 seconds
Time After: 0.06467 seconds
Time Taken: 0.00053 seconds

Memory Before: 1,113.656 KB
Memory After: 1,113.828 KB
Memory Used: 0.172 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 <= 1558691136
	AND enddate >= 1558691136
	AND forumid IN (3,1,-1)
ORDER BY startdate DESC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.06635 seconds
Time After: 0.06711 seconds
Time Taken: 0.00076 seconds

Memory Before: 1,127.266 KB
Memory After: 1,127.477 KB
Memory Used: 0.211 KB

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

FROM thread AS thread

WHERE forumid = 3
	AND sticky = 0
	 AND visible = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const2100.00 

Time Before: 0.07009 seconds
Time After: 0.07063 seconds
Time Taken: 0.00054 seconds

Memory Before: 1,131.039 KB
Memory After: 1,131.398 KB
Memory Used: 0.359 KB

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

Time Before: 0.07138 seconds
Time After: 0.07162 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,132.648 KB
Memory After: 1,133.086 KB
Memory Used: 0.438 KB

SQL Query
SELECT  threadid
	
FROM thread AS thread

WHERE forumid = 3
	AND sticky = 0
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, thread.lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const2100.00Using where

Time Before: 0.07229 seconds
Time After: 0.07255 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,133.883 KB
Memory After: 1,134.258 KB
Memory Used: 0.375 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,11954,11953,11952) 
ORDER BY sticky DESC, thread.lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread ALLPRIMARY   580.00Using where; Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.thread.firstpostid1100.00 

Time Before: 0.07404 seconds
Time After: 0.07444 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,135.734 KB
Memory After: 1,135.617 KB
Memory Used: -0.117 KB

Page generated in 0.07826 seconds with 13 queries, spending 0.011341094970703 doing MySQL queries and 0.066918905029297 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1558691136, location = '/members/forumdisplay.php?f=3&explain=1', inforum = 3, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'a5824a9c3b239436e2271d953b2d1fbf'

Time Before: 0.07891 seconds
Time After: 0.07934 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,424.672 KB
Memory After: 1,424.852 KB
Memory Used: 0.180 KB