Including Functions.php

Time Before: 0.00017 seconds
Time After: 0.00019 seconds
Time Taken: 0.00002 seconds

Memory Before: 426.133 KB
Memory After: 428.773 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00022 seconds
Time After: 0.00064 seconds
Time Taken: 0.00042 seconds

Memory Before: 428.727 KB
Memory After: 429.617 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00081 seconds
Time After: 0.00096 seconds
Time Taken: 0.00016 seconds

Memory Before: 429.641 KB
Memory After: 429.695 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.00142 seconds
Time After: 0.00241 seconds
Time Taken: 0.00099 seconds

Memory Before: 430.969 KB
Memory After: 544.102 KB
Memory Used: 113.133 KB

Time Before: 0.00099 seconds
Time After: 0.00580 seconds
Time Taken: 0.00481 seconds

Memory Before: 429.484 KB
Memory After: 677.844 KB
Memory Used: 248.359 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.166'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    32Using where

Time Before: 0.00618 seconds
Time After: 0.00642 seconds
Time Taken: 0.00024 seconds

Memory Before: 682.445 KB
Memory After: 698.945 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.00683 seconds
Time After: 0.00788 seconds
Time Taken: 0.00105 seconds

Memory Before: 688.578 KB
Memory After: 749.141 KB
Memory Used: 60.563 KB

Time Before: 0.00586 seconds
Time After: 0.00797 seconds
Time Taken: 0.00211 seconds

Memory Before: 680.195 KB
Memory After: 733.930 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 = 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const1 

Time Before: 0.00974 seconds
Time After: 0.00999 seconds
Time Taken: 0.00025 seconds

Memory Before: 870.648 KB
Memory After: 887.023 KB
Memory Used: 16.375 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01031 seconds
Time After: 0.01051 seconds
Time Taken: 0.00020 seconds

Memory Before: 879.320 KB
Memory After: 895.945 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.01090 seconds
Time After: 0.01116 seconds
Time Taken: 0.00026 seconds

Memory Before: 887.188 KB
Memory After: 951.750 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.01483 seconds
Time After: 0.01571 seconds
Time Taken: 0.00088 seconds

Memory Before: 1,027.688 KB
Memory After: 1,106.375 KB
Memory Used: 78.688 KB

End call of global.php: 0.017023086547852
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 = 50
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.01823 seconds
Time After: 0.01885 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,163.664 KB
Memory After: 1,181.914 KB
Memory Used: 18.250 KB

SQL Query
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter,
	postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
	attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid = 50
ORDER BY attachmentid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrefpostidpostid4const2Using where; Using filesort
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY22vbfp_forum.attachment.extension1 

Time Before: 0.01926 seconds
Time After: 0.01967 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,177.828 KB
Memory After: 1,194.297 KB
Memory Used: 16.469 KB

SQL Query
UPDATE session
SET lastactivity = 1764997854, location = '/showpost.php?explain=1&p=50&postcount=1', inforum = 4, inthread = 10
WHERE sessionhash = 'e50b84b3539cdcb1ce960fdb479478a0'

Time Before: 0.02165 seconds
Time After: 0.02183 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,307.789 KB
Memory After: 1,307.664 KB
Memory Used: -0.125 KB

Page generated in 0.021482944488525 seconds with 11 queries, spending 0.0056719779968262 doing MySQL queries and 0.015810966491699 doing PHP things.
Shutdown Queries:
DISABLED