Including Functions.php

Time Before: 0.08889 seconds
Time After: 0.14968 seconds
Time Taken: 0.06079 seconds

Memory Before: 410.969 KB
Memory After: 418.852 KB
Memory Used: 7.883 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.15017 seconds
Time After: 0.15606 seconds
Time Taken: 0.00589 seconds

Memory Before: 418.805 KB
Memory After: 419.727 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.16263 seconds
Time After: 0.16420 seconds
Time Taken: 0.00157 seconds

Memory Before: 422.781 KB
Memory After: 423.328 KB
Memory Used: 0.547 KB

Time Before: 0.15849 seconds
Time After: 0.16554 seconds
Time Taken: 0.00704 seconds

Memory Before: 419.398 KB
Memory After: 698.617 KB
Memory Used: 279.219 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.235.172.213'
	AND idhash = 'ee272c643280e3332eed9b59c6d99b05'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    11150.10Using where

Time Before: 0.17405 seconds
Time After: 0.17446 seconds
Time Taken: 0.00041 seconds

Memory Before: 707.711 KB
Memory After: 708.117 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.17629 seconds
Time After: 0.17753 seconds
Time Taken: 0.00123 seconds

Memory Before: 717.313 KB
Memory After: 717.164 KB
Memory Used: -0.148 KB

Time Before: 0.17329 seconds
Time After: 0.17767 seconds
Time Taken: 0.00439 seconds

Memory Before: 703.109 KB
Memory After: 749.086 KB
Memory Used: 45.977 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.20216 seconds
Time After: 0.20396 seconds
Time Taken: 0.00180 seconds

Memory Before: 860.242 KB
Memory After: 860.719 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.20605 seconds
Time After: 0.20880 seconds
Time Taken: 0.00275 seconds

Memory Before: 988.000 KB
Memory After: 988.313 KB
Memory Used: 0.313 KB

End call of global.php: 0.2125608921051
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.24137 seconds
Time After: 0.24185 seconds
Time Taken: 0.00048 seconds

Memory Before: 1,095.297 KB
Memory After: 1,095.719 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.25499 seconds
Time After: 0.25563 seconds
Time Taken: 0.00065 seconds

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

Time Before: 0.26010 seconds
Time After: 0.26103 seconds
Time Taken: 0.00094 seconds

Memory Before: 1,116.102 KB
Memory After: 1,116.289 KB
Memory Used: 0.188 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 <= 1590908583
	AND enddate >= 1590908583
	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.26947 seconds
Time After: 0.27008 seconds
Time Taken: 0.00061 seconds

Memory Before: 1,129.680 KB
Memory After: 1,129.891 KB
Memory Used: 0.211 KB

SQL Query
SELECT COUNT(*) AS threads,
SUM(IF(thread.lastpost >= 1590908583 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.27167 seconds
Time After: 0.27283 seconds
Time Taken: 0.00115 seconds

Memory Before: 1,133.180 KB
Memory After: 1,133.539 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.27374 seconds
Time After: 0.27415 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,134.789 KB
Memory After: 1,135.227 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, views DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread refforumidforumid6const,const,const2100.00Using index condition; Using filesort

Time Before: 0.27575 seconds
Time After: 0.27657 seconds
Time Taken: 0.00081 seconds

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

Time Before: 0.27778 seconds
Time After: 0.27938 seconds
Time Taken: 0.00160 seconds

Memory Before: 1,137.844 KB
Memory After: 1,137.742 KB
Memory Used: -0.102 KB

Page generated in 0.29270 seconds with 13 queries, spending 0.020317077636719 doing MySQL queries and 0.27238292236328 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1590908583, location = '/members/forumdisplay.php?f=3&daysprune=-1&order=desc&sort=views&explain=1', inforum = 3, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '1077ffc4da20ae8838a59a8133be9df7'

Time Before: 0.29344 seconds
Time After: 0.29498 seconds
Time Taken: 0.00155 seconds

Memory Before: 1,427.727 KB
Memory After: 1,427.859 KB
Memory Used: 0.133 KB