Including Functions.php

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

Memory Before: 417.445 KB
Memory After: 419.281 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00019 seconds
Time After: 0.00043 seconds
Time Taken: 0.00024 seconds

Memory Before: 419.266 KB
Memory After: 420.156 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00055 seconds
Time After: 0.00062 seconds
Time Taken: 0.00007 seconds

Memory Before: 420.203 KB
Memory After: 420.258 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.00089 seconds
Time After: 0.00113 seconds
Time Taken: 0.00023 seconds

Memory Before: 421.516 KB
Memory After: 638.414 KB
Memory Used: 216.898 KB

Time Before: 0.00064 seconds
Time After: 0.00549 seconds
Time Taken: 0.00486 seconds

Memory Before: 420.047 KB
Memory After: 942.875 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.00569 seconds
Time After: 0.00588 seconds
Time Taken: 0.00019 seconds

Memory Before: 944.609 KB
Memory After: 1,328.930 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.15.26.231'
	AND idhash = '1721a7e6e795fc622ea1b0057a89c6d2'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1219Using where

Time Before: 0.00616 seconds
Time After: 0.00704 seconds
Time Taken: 0.00088 seconds

Memory Before: 1,135.086 KB
Memory After: 1,151.531 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.00740 seconds
Time After: 0.00752 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,140.695 KB
Memory After: 1,237.391 KB
Memory Used: 96.695 KB

Time Before: 0.00597 seconds
Time After: 0.00756 seconds
Time Taken: 0.00159 seconds

Memory Before: 1,132.641 KB
Memory After: 1,181.789 KB
Memory Used: 49.148 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 = 221100
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00863 seconds
Time After: 0.00883 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,262.195 KB
Memory After: 1,278.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 = 35058
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00906 seconds
Time After: 0.00923 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,264.930 KB
Memory After: 1,281.500 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.00947 seconds
Time After: 0.00956 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,269.875 KB
Memory After: 1,366.383 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.01051 seconds
Time After: 0.01069 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,411.305 KB
Memory After: 1,630.047 KB
Memory Used: 218.742 KB

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

Time Before: 0.01162 seconds
Time After: 0.01191 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,626.094 KB
Memory After: 1,642.789 KB
Memory Used: 16.695 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'nopermission_loggedout' 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.01232 seconds
Time After: 0.01237 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,627.875 KB
Memory After: 1,643.992 KB
Memory Used: 16.117 KB

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

Time Before: 0.01375 seconds
Time After: 0.01387 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,755.719 KB
Memory After: 1,755.641 KB
Memory Used: -0.078 KB

Page generated in 0.013638973236084 seconds with 12 queries, spending 0.0028166770935059 doing MySQL queries and 0.010822296142578 doing PHP things.
Shutdown Queries:
DISABLED