Including Functions.php

Time Before: 0.01441 seconds
Time After: 0.02814 seconds
Time Taken: 0.01373 seconds

Memory Before: 411.867 KB
Memory After: 419.758 KB
Memory Used: 7.891 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.02825 seconds
Time After: 0.03357 seconds
Time Taken: 0.00531 seconds

Memory Before: 419.711 KB
Memory After: 420.633 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.05706 seconds
Time After: 0.05898 seconds
Time Taken: 0.00192 seconds

Memory Before: 423.680 KB
Memory After: 424.234 KB
Memory Used: 0.555 KB

Time Before: 0.03398 seconds
Time After: 0.05978 seconds
Time Taken: 0.02580 seconds

Memory Before: 420.305 KB
Memory After: 699.586 KB
Memory Used: 279.281 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.06168 seconds
Time After: 0.06231 seconds
Time Taken: 0.00063 seconds

Memory Before: 708.586 KB
Memory After: 709.008 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.06623 seconds
Time After: 0.06874 seconds
Time Taken: 0.00251 seconds

Memory Before: 718.234 KB
Memory After: 718.086 KB
Memory Used: -0.148 KB

Time Before: 0.05993 seconds
Time After: 0.06885 seconds
Time Taken: 0.00892 seconds

Memory Before: 704.070 KB
Memory After: 750.000 KB
Memory Used: 45.930 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.09727 seconds
Time After: 0.09778 seconds
Time Taken: 0.00051 seconds

Memory Before: 861.141 KB
Memory After: 861.617 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.10222 seconds
Time After: 0.10390 seconds
Time Taken: 0.00167 seconds

Memory Before: 988.914 KB
Memory After: 989.227 KB
Memory Used: 0.313 KB

End call of global.php: 0.10467410087585
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.14052 seconds
Time After: 0.14340 seconds
Time Taken: 0.00288 seconds

Memory Before: 1,095.859 KB
Memory After: 1,096.281 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.18016 seconds
Time After: 0.18054 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,105.766 KB
Memory After: 1,106.141 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 > 1585827980
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.18193 seconds
Time After: 0.18308 seconds
Time Taken: 0.00115 seconds

Memory Before: 1,116.656 KB
Memory After: 1,116.852 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 <= 1585828880
	AND enddate >= 1585828880
	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.20250 seconds
Time After: 0.20540 seconds
Time Taken: 0.00290 seconds

Memory Before: 1,130.242 KB
Memory After: 1,130.453 KB
Memory Used: 0.211 KB

SQL Query
SELECT COUNT(*) AS threads,
SUM(IF(thread.lastpost >= 1585828880 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.20847 seconds
Time After: 0.21139 seconds
Time Taken: 0.00292 seconds

Memory Before: 1,133.750 KB
Memory After: 1,134.109 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.21433 seconds
Time After: 0.21734 seconds
Time Taken: 0.00301 seconds

Memory Before: 1,135.328 KB
Memory After: 1,135.766 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 
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const2100.00Using index condition

Time Before: 0.21893 seconds
Time After: 0.22000 seconds
Time Taken: 0.00108 seconds

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

Time Before: 0.22143 seconds
Time After: 0.22280 seconds
Time Taken: 0.00136 seconds

Memory Before: 1,138.406 KB
Memory After: 1,138.297 KB
Memory Used: -0.109 KB

Page generated in 0.22728 seconds with 13 queries, spending 0.028244733810425 doing MySQL queries and 0.19903526618958 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1585828880, location = '/members/forumdisplay.php?f=3&daysprune=-1&order=asc&sort=lastpost&pp=20&page=1&explain=1', inforum = 3, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '0dabe31ed0529e1f58b58066b3ae1ba8'

Time Before: 0.22843 seconds
Time After: 0.23040 seconds
Time Taken: 0.00198 seconds

Memory Before: 1,428.766 KB
Memory After: 1,428.867 KB
Memory Used: 0.102 KB