Including Functions.php

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

Memory Before: 420.023 KB
Memory After: 421.859 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00024 seconds
Time After: 0.00055 seconds
Time Taken: 0.00031 seconds

Memory Before: 421.844 KB
Memory After: 422.734 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00064 seconds
Time After: 0.00070 seconds
Time Taken: 0.00006 seconds

Memory Before: 422.781 KB
Memory After: 422.836 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 16Using where

Time Before: 0.00108 seconds
Time After: 0.00180 seconds
Time Taken: 0.00072 seconds

Memory Before: 424.313 KB
Memory After: 641.180 KB
Memory Used: 216.867 KB

Time Before: 0.00073 seconds
Time After: 0.00678 seconds
Time Taken: 0.00606 seconds

Memory Before: 422.625 KB
Memory After: 954.547 KB
Memory Used: 531.922 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('modstats_coder','modstats_designer','modstats_motm','modtitle_coder','modtitle_designer')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY200 5Using where

Time Before: 0.00707 seconds
Time After: 0.00729 seconds
Time Taken: 0.00023 seconds

Memory Before: 956.281 KB
Memory After: 1,340.602 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = '8d52453e95298f548124ff6b76fb4bb7'
	AND lastactivity > 1736866766
	AND idhash = 'e503cd3ab06686ea35585a62c1df28ff'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.00764 seconds
Time After: 0.00778 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,146.789 KB
Memory After: 1,163.359 KB
Memory Used: 16.570 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_postbit AS phrasegroup_postbit,
			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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.00816 seconds
Time After: 0.00831 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,152.578 KB
Memory After: 1,257.180 KB
Memory Used: 104.602 KB

Time Before: 0.00738 seconds
Time After: 0.00838 seconds
Time Taken: 0.00100 seconds

Memory Before: 1,144.313 KB
Memory After: 1,198.664 KB
Memory Used: 54.352 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 = 2042247
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00973 seconds
Time After: 0.00993 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,282.195 KB
Memory After: 1,298.516 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 233871
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01013 seconds
Time After: 0.01032 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,285.094 KB
Memory After: 1,301.664 KB
Memory Used: 16.570 KB

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

Time Before: 0.01063 seconds
Time After: 0.01072 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,290.102 KB
Memory After: 1,386.609 KB
Memory Used: 96.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (186,187,189,196,195,607,369,355,356,358,357,364,366,368,92,94,96,98,400,641,644,624,67,66,68,63,62,339,645,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,599,600,595,609,596,131,132,133,134,149,584,585,587,588,586,583,581,582,594,589,590,593,592,591,366,394,395,392,598,615,619,610,611,612,613,616,618)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 80Using where

Time Before: 0.01172 seconds
Time After: 0.01200 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,443.063 KB
Memory After: 1,694.555 KB
Memory Used: 251.492 KB

End call of global.php: 0.012866020202637
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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid = 2042247
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01356 seconds
Time After: 0.01411 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,691.836 KB
Memory After: 1,759.063 KB
Memory Used: 67.227 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 = 2042247
ORDER BY attachmentid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrefpostidpostid4const1Using where
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where

Time Before: 0.01449 seconds
Time After: 0.01480 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,701.375 KB
Memory After: 1,717.570 KB
Memory Used: 16.195 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (2042247) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrefpostidpostid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.post_thanks.userid1Using where

Time Before: 0.01518 seconds
Time After: 0.01556 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,734.969 KB
Memory After: 1,767.281 KB
Memory Used: 32.313 KB

SQL Query
UPDATE session
SET lastactivity = 1736867666, location = '/showpost.php?explain=1&p=2042247&postcount=313', inforum = 245, inthread = 233871
WHERE sessionhash = '8d52453e95298f548124ff6b76fb4bb7'

Time Before: 0.01674 seconds
Time After: 0.01686 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,808.352 KB
Memory After: 1,808.273 KB
Memory Used: -0.078 KB

Page generated in 0.016633033752441 seconds with 13 queries, spending 0.0037424564361572 doing MySQL queries and 0.012890577316284 doing PHP things.
Shutdown Queries:
DISABLED