Including Functions.php

Time Before: 0.00016 seconds
Time After: 0.00019 seconds
Time Taken: 0.00003 seconds

Memory Before: 414.438 KB
Memory After: 416.273 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00021 seconds
Time After: 0.00047 seconds
Time Taken: 0.00026 seconds

Memory Before: 416.258 KB
Memory After: 417.148 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00057 seconds
Time After: 0.00062 seconds
Time Taken: 0.00006 seconds

Memory Before: 417.195 KB
Memory After: 417.250 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.00103 seconds
Time After: 0.00128 seconds
Time Taken: 0.00025 seconds

Memory Before: 418.508 KB
Memory After: 635.406 KB
Memory Used: 216.898 KB

Time Before: 0.00064 seconds
Time After: 0.00641 seconds
Time Taken: 0.00578 seconds

Memory Before: 417.039 KB
Memory After: 939.867 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.00669 seconds
Time After: 0.00696 seconds
Time Taken: 0.00027 seconds

Memory Before: 941.602 KB
Memory After: 1,325.922 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.118.33.239'
	AND idhash = '9452e9505ff00460ed07ca3dc8af04f7'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1418Using where

Time Before: 0.00726 seconds
Time After: 0.00731 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,132.078 KB
Memory After: 1,148.523 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.00782 seconds
Time After: 0.00793 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,137.875 KB
Memory After: 1,234.570 KB
Memory Used: 96.695 KB

Time Before: 0.00703 seconds
Time After: 0.00797 seconds
Time Taken: 0.00094 seconds

Memory Before: 1,129.633 KB
Memory After: 1,179.008 KB
Memory Used: 49.375 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 = 336082
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00941 seconds
Time After: 0.00971 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,259.414 KB
Memory After: 1,275.734 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 47124
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00995 seconds
Time After: 0.01012 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,262.156 KB
Memory After: 1,278.727 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.01045 seconds
Time After: 0.01055 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,267.055 KB
Memory After: 1,363.563 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.01166 seconds
Time After: 0.01194 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,408.484 KB
Memory After: 1,627.227 KB
Memory Used: 218.742 KB

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

Time Before: 0.01328 seconds
Time After: 0.01362 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,623.320 KB
Memory After: 1,639.750 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.01403 seconds
Time After: 0.01409 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,623.055 KB
Memory After: 1,639.203 KB
Memory Used: 16.148 KB

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

Time Before: 0.01581 seconds
Time After: 0.01601 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,745.844 KB
Memory After: 1,745.766 KB
Memory Used: -0.078 KB

Page generated in 0.015634059906006 seconds with 12 queries, spending 0.0024459362030029 doing MySQL queries and 0.013188123703003 doing PHP things.
Shutdown Queries:
DISABLED