Including Functions.php

Time Before: 0.01499 seconds
Time After: 0.02935 seconds
Time Taken: 0.01436 seconds

Memory Before: 413.102 KB
Memory After: 420.992 KB
Memory Used: 7.891 KB

Connect to Database on Server: sql5c11b.megasqlservers.com

Time Before: 0.02950 seconds
Time After: 0.03432 seconds
Time Taken: 0.00482 seconds

Memory Before: 420.945 KB
Memory After: 421.867 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','smiliecache','bbcodecache','mailqueue','hidprofilecache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore ALLPRIMARY   2458.33Using where

Time Before: 0.08054 seconds
Time After: 0.08162 seconds
Time Taken: 0.00108 seconds

Memory Before: 425.039 KB
Memory After: 425.555 KB
Memory Used: 0.516 KB

Time Before: 0.03472 seconds
Time After: 0.08364 seconds
Time Taken: 0.04892 seconds

Memory Before: 421.539 KB
Memory After: 914.273 KB
Memory Used: 492.734 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '34.232.62.209'
	AND idhash = '06eea7b4c387b5c623b25161f71a1b3f'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    9050.11Using where

Time Before: 0.08464 seconds
Time After: 0.08509 seconds
Time Taken: 0.00045 seconds

Memory Before: 923.352 KB
Memory After: 923.766 KB
Memory Used: 0.414 KB

SQL Query
SELECT languageid,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			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.08858 seconds
Time After: 0.08919 seconds
Time Taken: 0.00061 seconds

Memory Before: 933.203 KB
Memory After: 932.961 KB
Memory Used: -0.242 KB

Time Before: 0.08394 seconds
Time After: 0.08936 seconds
Time Taken: 0.00542 seconds

Memory Before: 918.836 KB
Memory After: 975.133 KB
Memory Used: 56.297 KB

SQL Query
SELECT post.*,
IF(visible = 2, 1, 0) AS isdeleted,


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason
FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)
WHERE post.postid = 15712
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog systemPRIMARY   1100.00 

Time Before: 0.10098 seconds
Time After: 0.10143 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,101.117 KB
Memory After: 1,101.406 KB
Memory Used: 0.289 KB

SQL Query
SELECT IF(visible = 2, 1, 0) AS isdeleted,



thread.*
FROM thread AS thread




WHERE thread.threadid = 11953
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.10496 seconds
Time After: 0.10785 seconds
Time Taken: 0.00289 seconds

Memory Before: 1,107.570 KB
Memory After: 1,107.984 KB
Memory Used: 0.414 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.11570 seconds
Time After: 0.11619 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,117.641 KB
Memory After: 1,118.117 KB
Memory Used: 0.477 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (3150,3385,3176,3177,3179,3186,3185,3274,3275,3276,3278,3277,3279,0,3280,3281,3282,3284,3286,3088,3090,3092,3094,3308,3309,3312,3313,3310,3268,3267,3269,3273,3271,3340,3127,3128,3129,450,3422,3389,3260,3405,418,3384,3387,3395,3246,3247,3248,3249,3355,3400,3399,3401,3404)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 55100.00Using index condition

Time Before: 0.13215 seconds
Time After: 0.13342 seconds
Time Taken: 0.00127 seconds

Memory Before: 1,245.859 KB
Memory After: 1,246.094 KB
Memory Used: 0.234 KB

End call of global.php: 0.13558411598206
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.16529 seconds
Time After: 0.16610 seconds
Time Taken: 0.00081 seconds

Memory Before: 1,434.383 KB
Memory After: 1,434.805 KB
Memory Used: 0.422 KB

SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 11953 AND visible = 1
AND dateline <= 1414784606
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const110.00Using where

Time Before: 0.16725 seconds
Time After: 0.16801 seconds
Time Taken: 0.00076 seconds

Memory Before: 1,450.242 KB
Memory After: 1,450.688 KB
Memory Used: 0.445 KB

SQL Query
SELECT postid
FROM post AS post

WHERE threadid = 11953
	AND visible = 1
	
ORDER BY dateline 
LIMIT 0, 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const110.00Using index condition; Using where; Using filesort

Time Before: 0.16908 seconds
Time After: 0.16939 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,455.297 KB
Memory After: 1,455.734 KB
Memory Used: 0.438 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	
	
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason,
	post_parsed.pagetext_html, post_parsed.hasimages,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
	, '' AS field4, '' AS field5, '' AS field8, '' AS field11, '' AS field12, '' AS field13, '' AS field14, '' AS field15, '' AS field18, '' AS field19, '' AS field22, '' AS field20, '' AS field33, '' AS field24, '' AS field32, '' AS field26, '' AS field27, '' AS field28, '' AS field29, '' AS field30, '' AS field31, '' AS field34
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
	
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
	
WHERE post.postid IN (0,15712)
ORDER BY post.dateline
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost_parsed systemPRIMARY   00.00const row not found
1SIMPLEpost rangePRIMARYPRIMARY4 2100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.post.userid1100.00 
1SIMPLEuserfield eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.user.userid1100.00 
1SIMPLEicon eq_refPRIMARYPRIMARY2skiextrm_skiextreme_ca.post.iconid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2skiextrm_skiextreme_ca.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.user.userid1100.00 
1SIMPLEeditlog eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.post.postid1100.00 

Time Before: 0.20620 seconds
Time After: 0.20692 seconds
Time Taken: 0.00072 seconds

Memory Before: 1,462.555 KB
Memory After: 1,461.398 KB
Memory Used: -1.156 KB

Time after parsing all posts: 0.21635603904724 Memory After: 1,542KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1590636458
ORDER BY  username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    90533.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4skiextrm_skiextreme_ca.session.userid1100.00 

Time Before: 0.21747 seconds
Time After: 0.21830 seconds
Time Taken: 0.00082 seconds

Memory Before: 1,544.977 KB
Memory After: 1,545.125 KB
Memory Used: 0.148 KB

Page generated in 0.22230 seconds with 12 queries, spending 0.01549506187439 doing MySQL queries and 0.20680493812561 doing PHP things.
Shutdown Queries:

SQL Query
UPDATE session
SET lastactivity = 1590637358, location = '/members/showthread.php?p=15712&explain=1', inthread = 11953, incalendar = 0, badlocation = 0
WHERE sessionhash = '6d6e9454d8f824382cfc9c3d09f61e19'

Time Before: 0.22336 seconds
Time After: 0.22866 seconds
Time Taken: 0.00530 seconds

Memory Before: 1,819.086 KB
Memory After: 1,819.273 KB
Memory Used: 0.188 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (11953)

Time Before: 0.22885 seconds
Time After: 0.23347 seconds
Time Taken: 0.00462 seconds

Memory Before: 1,813.875 KB
Memory After: 1,814.234 KB
Memory Used: 0.359 KB