Including Functions.php

Time Before: 0.00926 seconds
Time After: 0.01899 seconds
Time Taken: 0.00973 seconds

Memory Before: 407.453 KB
Memory After: 415.352 KB
Memory Used: 7.898 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.01908 seconds
Time After: 0.02544 seconds
Time Taken: 0.00636 seconds

Memory Before: 415.297 KB
Memory After: 416.219 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.03078 seconds
Time After: 0.03193 seconds
Time Taken: 0.00114 seconds

Memory Before: 419.297 KB
Memory After: 419.828 KB
Memory Used: 0.531 KB

Time Before: 0.02620 seconds
Time After: 0.03309 seconds
Time Taken: 0.00689 seconds

Memory Before: 415.891 KB
Memory After: 694.945 KB
Memory Used: 279.055 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.215.182.81'
	AND idhash = '7be46e4e3200bb274e10789eb37c4af6'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    9930.10Using where

Time Before: 0.03403 seconds
Time After: 0.03468 seconds
Time Taken: 0.00065 seconds

Memory Before: 703.945 KB
Memory After: 704.367 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.04001 seconds
Time After: 0.04158 seconds
Time Taken: 0.00157 seconds

Memory Before: 713.523 KB
Memory After: 713.375 KB
Memory Used: -0.148 KB

Time Before: 0.03331 seconds
Time After: 0.04173 seconds
Time Taken: 0.00842 seconds

Memory Before: 699.430 KB
Memory After: 745.289 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.05064 seconds
Time After: 0.05116 seconds
Time Taken: 0.00052 seconds

Memory Before: 856.336 KB
Memory After: 856.813 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.05374 seconds
Time After: 0.05599 seconds
Time Taken: 0.00225 seconds

Memory Before: 984.109 KB
Memory After: 984.422 KB
Memory Used: 0.313 KB

End call of global.php: 0.057076930999756
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.07915 seconds
Time After: 0.07976 seconds
Time Taken: 0.00061 seconds

Memory Before: 1,091.750 KB
Memory After: 1,092.172 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.09207 seconds
Time After: 0.09251 seconds
Time Taken: 0.00044 seconds

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

Time Before: 0.09447 seconds
Time After: 0.09533 seconds
Time Taken: 0.00086 seconds

Memory Before: 1,112.438 KB
Memory After: 1,112.633 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 <= 1585831948
	AND enddate >= 1585831948
	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.10567 seconds
Time After: 0.10631 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,126.281 KB
Memory After: 1,126.492 KB
Memory Used: 0.211 KB

SQL Query
SELECT COUNT(*) AS threads,
SUM(IF(thread.lastpost >= 1585831948 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.10944 seconds
Time After: 0.11080 seconds
Time Taken: 0.00136 seconds

Memory Before: 1,130.055 KB
Memory After: 1,130.414 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.11159 seconds
Time After: 0.11375 seconds
Time Taken: 0.00217 seconds

Memory Before: 1,131.664 KB
Memory After: 1,132.102 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.11460 seconds
Time After: 0.11541 seconds
Time Taken: 0.00081 seconds

Memory Before: 1,132.898 KB
Memory After: 1,133.273 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.11806 seconds
Time After: 0.11940 seconds
Time Taken: 0.00134 seconds

Memory Before: 1,134.750 KB
Memory After: 1,134.633 KB
Memory Used: -0.117 KB

Page generated in 0.12247 seconds with 13 queries, spending 0.020717144012451 doing MySQL queries and 0.10175285598755 doing PHP things.
Shutdown Queries:

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

Time Before: 0.12295 seconds
Time After: 0.12340 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,423.641 KB
Memory After: 1,423.820 KB
Memory Used: 0.180 KB