Including Functions.php

Time Before: 0.01006 seconds
Time After: 0.02074 seconds
Time Taken: 0.01069 seconds

Memory Before: 407.383 KB
Memory After: 415.297 KB
Memory Used: 7.914 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.02083 seconds
Time After: 0.02372 seconds
Time Taken: 0.00288 seconds

Memory Before: 415.250 KB
Memory After: 416.172 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.02531 seconds
Time After: 0.02596 seconds
Time Taken: 0.00065 seconds

Memory Before: 419.266 KB
Memory After: 419.820 KB
Memory Used: 0.555 KB

Time Before: 0.02395 seconds
Time After: 0.02657 seconds
Time Taken: 0.00262 seconds

Memory Before: 415.844 KB
Memory After: 694.938 KB
Memory Used: 279.094 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.227.233.55'
	AND idhash = '10b993183f0364f1e02e8a1c402b3353'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    205.00Using where

Time Before: 0.02719 seconds
Time After: 0.02771 seconds
Time Taken: 0.00052 seconds

Memory Before: 703.938 KB
Memory After: 704.359 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.02908 seconds
Time After: 0.02965 seconds
Time Taken: 0.00058 seconds

Memory Before: 713.516 KB
Memory After: 713.367 KB
Memory Used: -0.148 KB

Time Before: 0.02670 seconds
Time After: 0.02972 seconds
Time Taken: 0.00302 seconds

Memory Before: 699.422 KB
Memory After: 745.281 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.03851 seconds
Time After: 0.03910 seconds
Time Taken: 0.00059 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.04081 seconds
Time After: 0.04180 seconds
Time Taken: 0.00100 seconds

Memory Before: 984.086 KB
Memory After: 984.398 KB
Memory Used: 0.313 KB

End call of global.php: 0.042491912841797
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.05115 seconds
Time After: 0.05134 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,091.695 KB
Memory After: 1,092.117 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.05345 seconds
Time After: 0.05373 seconds
Time Taken: 0.00028 seconds

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

Time Before: 0.05487 seconds
Time After: 0.05545 seconds
Time Taken: 0.00058 seconds

Memory Before: 1,112.391 KB
Memory After: 1,112.586 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 <= 1568734853
	AND enddate >= 1568734853
	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.05804 seconds
Time After: 0.05835 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,126.047 KB
Memory After: 1,126.258 KB
Memory Used: 0.211 KB

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

FROM thread AS thread

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

Time Before: 0.06120 seconds
Time After: 0.06160 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,129.992 KB
Memory After: 1,130.320 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.06240 seconds
Time After: 0.06274 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,131.453 KB
Memory After: 1,131.891 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 >= 1566142853
	
	
ORDER BY sticky DESC, thread.lastpost DESC
LIMIT 0, 20
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread rangeforumid,lastpostforumid10 1100.00Using index condition

Time Before: 0.06337 seconds
Time After: 0.06369 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,132.789 KB
Memory After: 1,133.164 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) 
ORDER BY sticky DESC, thread.lastpost DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.06617 seconds
Time After: 0.06667 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,134.289 KB
Memory After: 1,134.188 KB
Memory Used: -0.102 KB

Page generated in 0.06777 seconds with 13 queries, spending 0.0091440677642822 doing MySQL queries and 0.058625932235718 doing PHP things.
Shutdown Queries:

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

Time Before: 0.06814 seconds
Time After: 0.06946 seconds
Time Taken: 0.00132 seconds

Memory Before: 1,389.164 KB
Memory After: 1,389.344 KB
Memory Used: 0.180 KB