Including Functions.php

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

Memory Before: 417.609 KB
Memory After: 419.445 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00017 seconds
Time After: 0.00040 seconds
Time Taken: 0.00023 seconds

Memory Before: 419.430 KB
Memory After: 420.320 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00049 seconds
Time After: 0.00055 seconds
Time Taken: 0.00006 seconds

Memory Before: 420.367 KB
Memory After: 420.422 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.00083 seconds
Time After: 0.00117 seconds
Time Taken: 0.00034 seconds

Memory Before: 421.680 KB
Memory After: 638.578 KB
Memory Used: 216.898 KB

Time Before: 0.00057 seconds
Time After: 0.00573 seconds
Time Taken: 0.00516 seconds

Memory Before: 420.211 KB
Memory After: 943.039 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.00595 seconds
Time After: 0.00616 seconds
Time Taken: 0.00020 seconds

Memory Before: 944.773 KB
Memory After: 1,329.094 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = 'fb43625b5823d609c319d1df201ab2ce'
	AND lastactivity > 1734890089
	AND idhash = '0a5696617ca67728b0fa1c736d9bc909'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.00642 seconds
Time After: 0.00655 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,135.281 KB
Memory After: 1,151.852 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.00687 seconds
Time After: 0.00698 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,140.859 KB
Memory After: 1,237.555 KB
Memory Used: 96.695 KB

Time Before: 0.00625 seconds
Time After: 0.00702 seconds
Time Taken: 0.00077 seconds

Memory Before: 1,132.805 KB
Memory After: 1,181.953 KB
Memory Used: 49.148 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.00841 seconds
Time After: 0.00849 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,261.664 KB
Memory After: 1,358.172 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.00949 seconds
Time After: 0.00973 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,403.094 KB
Memory After: 1,621.836 KB
Memory Used: 218.742 KB

End call of global.php: 0.010485887527466
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 attachmentid = 156312
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentconstPRIMARYPRIMARY4const1 
1SIMPLEattachmenttypeconstPRIMARYPRIMARY80const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01087 seconds
Time After: 0.01132 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,618.211 KB
Memory After: 1,634.656 KB
Memory Used: 16.445 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.01164 seconds
Time After: 0.01169 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,620.891 KB
Memory After: 1,637.008 KB
Memory Used: 16.117 KB

SQL Query
UPDATE session
SET location = '/attachment.php?attachmentid=156312&d=1492690360&explain=1', inforum = 0, inthread = 0, badlocation = 1
WHERE sessionhash = 'fb43625b5823d609c319d1df201ab2ce'

Time Before: 0.01310 seconds
Time After: 0.01321 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,749.000 KB
Memory After: 1,748.922 KB
Memory Used: -0.078 KB

Page generated in 0.012974977493286 seconds with 10 queries, spending 0.0020129680633545 doing MySQL queries and 0.010962009429932 doing PHP things.
Shutdown Queries:
DISABLED