Including Functions.php

Time Before: 0.00027 seconds
Time After: 0.00030 seconds
Time Taken: 0.00003 seconds

Memory Before: 410.484 KB
Memory After: 412.320 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00040 seconds
Time After: 0.00097 seconds
Time Taken: 0.00057 seconds

Memory Before: 412.305 KB
Memory After: 413.195 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00108 seconds
Time After: 0.00118 seconds
Time Taken: 0.00009 seconds

Memory Before: 413.242 KB
Memory After: 413.297 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.00183 seconds
Time After: 0.00223 seconds
Time Taken: 0.00040 seconds

Memory Before: 414.773 KB
Memory After: 631.641 KB
Memory Used: 216.867 KB

Time Before: 0.00121 seconds
Time After: 0.00905 seconds
Time Taken: 0.00784 seconds

Memory Before: 413.086 KB
Memory After: 945.008 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.00930 seconds
Time After: 0.00953 seconds
Time Taken: 0.00023 seconds

Memory Before: 946.742 KB
Memory After: 1,331.063 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.191.218.234'
	AND idhash = 'd2a84a0e528c79e7944909e92fe26f38'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1273Using where

Time Before: 0.00985 seconds
Time After: 0.01095 seconds
Time Taken: 0.00110 seconds

Memory Before: 1,137.219 KB
Memory After: 1,153.664 KB
Memory Used: 16.445 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.01140 seconds
Time After: 0.01154 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,143.195 KB
Memory After: 1,247.797 KB
Memory Used: 104.602 KB

Time Before: 0.00960 seconds
Time After: 0.01162 seconds
Time Taken: 0.00202 seconds

Memory Before: 1,134.773 KB
Memory After: 1,189.469 KB
Memory Used: 54.695 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 = 2341166
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01317 seconds
Time After: 0.01345 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,273.000 KB
Memory After: 1,289.320 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 284213
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01369 seconds
Time After: 0.01392 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,276.938 KB
Memory After: 1,293.508 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.01420 seconds
Time After: 0.01432 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,281.906 KB
Memory After: 1,378.414 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.01547 seconds
Time After: 0.01578 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,434.867 KB
Memory After: 1,686.359 KB
Memory Used: 251.492 KB

End call of global.php: 0.016640901565552
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 = 2341166
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0Unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01743 seconds
Time After: 0.01810 seconds
Time Taken: 0.00067 seconds

Memory Before: 1,684.391 KB
Memory After: 1,751.617 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 = 2341166
ORDER BY attachmentid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrefpostidpostid4const2Using where
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where

Time Before: 0.01856 seconds
Time After: 0.01885 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,694.984 KB
Memory After: 1,711.383 KB
Memory Used: 16.398 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (2341166) 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.01932 seconds
Time After: 0.01975 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,729.984 KB
Memory After: 1,762.297 KB
Memory Used: 32.313 KB

SQL Query
UPDATE session
SET lastactivity = 1734907819, location = '/showpost.php?explain=1&p=2341166&postcount=47', inforum = 245, inthread = 284213
WHERE sessionhash = 'dfa69425655a44443d3daef869b22460'

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

Memory Before: 1,811.688 KB
Memory After: 1,811.609 KB
Memory Used: -0.078 KB

Page generated in 0.021352052688599 seconds with 13 queries, spending 0.0050423145294189 doing MySQL queries and 0.01630973815918 doing PHP things.
Shutdown Queries:
DISABLED