Including Functions.php

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

Memory Before: 417.789 KB
Memory After: 419.625 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00018 seconds
Time After: 0.00041 seconds
Time Taken: 0.00022 seconds

Memory Before: 419.609 KB
Memory After: 420.500 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00048 seconds
Time After: 0.00053 seconds
Time Taken: 0.00005 seconds

Memory Before: 420.547 KB
Memory After: 420.602 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.00077 seconds
Time After: 0.00126 seconds
Time Taken: 0.00050 seconds

Memory Before: 421.859 KB
Memory After: 638.758 KB
Memory Used: 216.898 KB

Time Before: 0.00054 seconds
Time After: 0.00540 seconds
Time Taken: 0.00486 seconds

Memory Before: 420.391 KB
Memory After: 943.219 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.00560 seconds
Time After: 0.00589 seconds
Time Taken: 0.00029 seconds

Memory Before: 944.953 KB
Memory After: 1,329.273 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = '29583b6b8e415a113b5ed50a87da2154'
	AND lastactivity > 1743663768
	AND idhash = 'e470d7a3ebc7732ac65016ff78e75ca7'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.00613 seconds
Time After: 0.00626 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,135.461 KB
Memory After: 1,152.031 KB
Memory Used: 16.570 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.00659 seconds
Time After: 0.01072 seconds
Time Taken: 0.00414 seconds

Memory Before: 1,141.000 KB
Memory After: 1,237.695 KB
Memory Used: 96.695 KB

Time Before: 0.00596 seconds
Time After: 0.01076 seconds
Time Taken: 0.00480 seconds

Memory Before: 1,132.984 KB
Memory After: 1,182.094 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 = 372862
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01188 seconds
Time After: 0.01213 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,262.500 KB
Memory After: 1,278.820 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 50785
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01232 seconds
Time After: 0.01248 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,266.508 KB
Memory After: 1,283.078 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.01275 seconds
Time After: 0.01283 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,271.445 KB
Memory After: 1,367.953 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.01369 seconds
Time After: 0.01391 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,412.875 KB
Memory After: 1,631.617 KB
Memory Used: 218.742 KB

End call of global.php: 0.014533996582031
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 = 372862
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrefpostidpostid4const1 
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY80vbsupport_vborg.attachment.extension1Using where
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEthreadeq_refPRIMARYPRIMARY4vbsupport_vborg.post.threadid1Using where

Time Before: 0.01480 seconds
Time After: 0.01512 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,627.570 KB
Memory After: 1,644.000 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.01544 seconds
Time After: 0.01573 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,627.305 KB
Memory After: 1,643.453 KB
Memory Used: 16.148 KB

SQL Query
UPDATE session
SET lastactivity = 1743664668, location = '/attachment.php?explain=1&nojs=1&postid=372862', inforum = 0, inthread = 0, badlocation = 3
WHERE sessionhash = '29583b6b8e415a113b5ed50a87da2154'

Time Before: 0.01699 seconds
Time After: 0.01710 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,742.297 KB
Memory After: 1,742.156 KB
Memory Used: -0.141 KB

Page generated in 0.01688289642334 seconds with 12 queries, spending 0.0067460536956787 doing MySQL queries and 0.010136842727661 doing PHP things.
Shutdown Queries:
DISABLED