Including Functions.php

Time Before: 0.00036 seconds
Time After: 0.00040 seconds
Time Taken: 0.00005 seconds

Memory Before: 426.102 KB
Memory After: 428.742 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00046 seconds
Time After: 0.00122 seconds
Time Taken: 0.00076 seconds

Memory Before: 428.695 KB
Memory After: 429.586 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00155 seconds
Time After: 0.00183 seconds
Time Taken: 0.00028 seconds

Memory Before: 429.609 KB
Memory After: 429.664 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreALLPRIMARY   40Using where

Time Before: 0.00275 seconds
Time After: 0.00472 seconds
Time Taken: 0.00197 seconds

Memory Before: 430.938 KB
Memory After: 544.070 KB
Memory Used: 113.133 KB

Time Before: 0.00189 seconds
Time After: 0.01231 seconds
Time Taken: 0.01042 seconds

Memory Before: 429.453 KB
Memory After: 677.813 KB
Memory Used: 248.359 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.217.99'
	AND idhash = '746d2c2e12532723401903d41921bd01'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    386Using where

Time Before: 0.01336 seconds
Time After: 0.01435 seconds
Time Taken: 0.00099 seconds

Memory Before: 682.414 KB
Memory After: 698.914 KB
Memory Used: 16.500 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01536 seconds
Time After: 0.01683 seconds
Time Taken: 0.00147 seconds

Memory Before: 688.547 KB
Memory After: 749.109 KB
Memory Used: 60.563 KB

Time Before: 0.01246 seconds
Time After: 0.01697 seconds
Time Taken: 0.00452 seconds

Memory Before: 680.164 KB
Memory After: 733.898 KB
Memory Used: 53.734 KB

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


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const1 

Time Before: 0.02092 seconds
Time After: 0.02156 seconds
Time Taken: 0.00064 seconds

Memory Before: 870.617 KB
Memory After: 886.992 KB
Memory Used: 16.375 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02232 seconds
Time After: 0.02289 seconds
Time Taken: 0.00057 seconds

Memory Before: 877.273 KB
Memory After: 893.898 KB
Memory Used: 16.625 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 7 AND userselect = 1)
	OR styleid = 7
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.02372 seconds
Time After: 0.02431 seconds
Time Taken: 0.00059 seconds

Memory Before: 885.117 KB
Memory After: 949.680 KB
Memory Used: 64.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2102,2103,2105,2112,2111,907,2285,908,2272,2274,909,2280,911,2284,2008,2010,2012,2014,2316,921,920,2480,1983,1982,1984,1979,1978,2255,903,904,2208,2209,2475,2478,2487,2228,2229,2230,2231,2429,2492,2491,2493,2496)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 44Using index condition

Time Before: 0.02734 seconds
Time After: 0.02863 seconds
Time Taken: 0.00129 seconds

Memory Before: 1,025.617 KB
Memory After: 1,104.305 KB
Memory Used: 78.688 KB

End call of global.php: 0.03118896484375
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,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	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, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight
	
	
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 postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 7 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 7 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const1Unique row not found
1SIMPLEcustomavatarsystemPRIMARY   1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const1 
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const1Unique row not found

Time Before: 0.03286 seconds
Time After: 0.03431 seconds
Time Taken: 0.00145 seconds

Memory Before: 1,160.469 KB
Memory After: 1,178.719 KB
Memory Used: 18.250 KB

SQL Query
UPDATE session
SET lastactivity = 1786737352, location = '/showpost.php?explain=1&p=2&postcount=1', inforum = 10, inthread = 2
WHERE sessionhash = 'a7d887162f8a95a7dbfe1c47dc345135'

Time Before: 0.03772 seconds
Time After: 0.04626 seconds
Time Taken: 0.00854 seconds

Memory Before: 1,271.789 KB
Memory After: 1,271.664 KB
Memory Used: -0.125 KB

Page generated in 0.037379026412964 seconds with 10 queries, spending 0.018546104431152 doing MySQL queries and 0.018832921981812 doing PHP things.
Shutdown Queries:
DISABLED