Including Functions.php

Time Before: 0.00014 seconds
Time After: 0.00015 seconds
Time Taken: 0.00001 seconds

Memory Before: 417.008 KB
Memory After: 418.844 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00016 seconds
Time After: 0.00038 seconds
Time Taken: 0.00021 seconds

Memory Before: 418.828 KB
Memory After: 419.719 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00045 seconds
Time After: 0.00050 seconds
Time Taken: 0.00006 seconds

Memory Before: 419.766 KB
Memory After: 419.820 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')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY200 14Using where

Time Before: 0.00080 seconds
Time After: 0.00102 seconds
Time Taken: 0.00023 seconds

Memory Before: 421.078 KB
Memory After: 637.977 KB
Memory Used: 216.898 KB

Time Before: 0.00052 seconds
Time After: 0.03656 seconds
Time Taken: 0.03604 seconds

Memory Before: 419.609 KB
Memory After: 942.438 KB
Memory Used: 522.828 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.03683 seconds
Time After: 0.03704 seconds
Time Taken: 0.00022 seconds

Memory Before: 944.172 KB
Memory After: 1,328.492 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.147.56.125'
	AND idhash = '41c87d88c713cf07bc7396a3dac355f3'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1039Using where

Time Before: 0.03732 seconds
Time After: 0.03739 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,134.648 KB
Memory After: 1,151.094 KB
Memory Used: 16.445 KB

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

Time Before: 0.03773 seconds
Time After: 0.03785 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,140.219 KB
Memory After: 1,236.914 KB
Memory Used: 96.695 KB

Time Before: 0.03712 seconds
Time After: 0.03788 seconds
Time Taken: 0.00076 seconds

Memory Before: 1,132.203 KB
Memory After: 1,181.313 KB
Memory Used: 49.109 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 = 400632
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.03928 seconds
Time After: 0.03947 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,261.719 KB
Memory After: 1,278.039 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 53454
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.03966 seconds
Time After: 0.03972 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,265.484 KB
Memory After: 1,282.055 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.03999 seconds
Time After: 0.04007 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,270.430 KB
Memory After: 1,366.938 KB
Memory Used: 96.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 56Using where

Time Before: 0.04095 seconds
Time After: 0.04122 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,411.859 KB
Memory After: 1,630.602 KB
Memory Used: 218.742 KB

End call of global.php: 0.04184103012085
SQL Query
SELECT filename, attachment.postid, attachment.userid, attachmentid, attachment.extension,
	attachment.dateline, filesize,
	attachment.visible, attachmenttype.newwindow, mimetype, thread.forumid, thread.threadid, thread.postuserid,
	post.visible AS post_visible, thread.visible AS thread_visible
	
FROM attachment AS attachment
LEFT JOIN attachmenttype AS attachmenttype ON (attachmenttype.extension = attachment.extension)
LEFT JOIN post AS post ON (post.postid = attachment.postid)
LEFT JOIN thread AS thread ON (post.threadid = thread.threadid)

WHERE attachment.postid = 400632
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrefpostidpostid4const1 
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEthreadeq_refPRIMARYPRIMARY4vbsupport_vborg.post.threadid1Using where

Time Before: 0.05280 seconds
Time After: 0.05306 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,626.633 KB
Memory After: 1,643.063 KB
Memory Used: 16.430 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'invalidid' AND languageid IN (-1, 0, 1)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type1086 3Using index condition
1SIMPLEphrasetypeeq_refPRIMARYPRIMARY80vbsupport_vborg.phrase.fieldname1Using where

Time Before: 0.05339 seconds
Time After: 0.05345 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,626.367 KB
Memory After: 1,642.516 KB
Memory Used: 16.148 KB

SQL Query
UPDATE session
SET lastactivity = 1734913616, location = '/attachment.php?explain=1&postid=400632', inforum = 0, inthread = 0, badlocation = 3
WHERE sessionhash = 'cb8ca3ab3cd0fb34a5ab1a75771c29f5'

Time Before: 0.05475 seconds
Time After: 0.05491 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,749.273 KB
Memory After: 1,749.195 KB
Memory Used: -0.078 KB

Page generated in 0.054632902145386 seconds with 12 queries, spending 0.001967191696167 doing MySQL queries and 0.052665710449219 doing PHP things.
Shutdown Queries:
DISABLED