Including Functions.php

Time Before: 0.00009 seconds
Time After: 0.00010 seconds
Time Taken: 0.00001 seconds

Memory Before: 417.984 KB
Memory After: 419.820 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00012 seconds
Time After: 0.00098 seconds
Time Taken: 0.00086 seconds

Memory Before: 419.805 KB
Memory After: 420.695 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00109 seconds
Time After: 0.00120 seconds
Time Taken: 0.00010 seconds

Memory Before: 420.742 KB
Memory After: 420.797 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.00583 seconds
Time After: 0.00603 seconds
Time Taken: 0.00020 seconds

Memory Before: 422.055 KB
Memory After: 638.953 KB
Memory Used: 216.898 KB

Time Before: 0.00121 seconds
Time After: 0.01251 seconds
Time Taken: 0.01130 seconds

Memory Before: 420.586 KB
Memory After: 943.414 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.01457 seconds
Time After: 0.01474 seconds
Time Taken: 0.00017 seconds

Memory Before: 945.148 KB
Memory After: 1,329.469 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = '698f82d98886d08b23f4ba087aa6d1bc'
	AND lastactivity > 1743646647
	AND idhash = '051c63ad589fd2a8bf78921e2be3d26f'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.01497 seconds
Time After: 0.01513 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,135.656 KB
Memory After: 1,152.227 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.01555 seconds
Time After: 0.01565 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,141.172 KB
Memory After: 1,237.867 KB
Memory Used: 96.695 KB

Time Before: 0.01481 seconds
Time After: 0.01569 seconds
Time Taken: 0.00088 seconds

Memory Before: 1,133.180 KB
Memory After: 1,182.266 KB
Memory Used: 49.086 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.01763 seconds
Time After: 0.01772 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,261.977 KB
Memory After: 1,358.484 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.01957 seconds
Time After: 0.01980 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,403.406 KB
Memory After: 1,622.148 KB
Memory Used: 218.742 KB

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

Time Before: 0.03074 seconds
Time After: 0.03262 seconds
Time Taken: 0.00189 seconds

Memory Before: 1,618.523 KB
Memory After: 1,634.969 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.03295 seconds
Time After: 0.03301 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,621.156 KB
Memory After: 1,637.273 KB
Memory Used: 16.117 KB

SQL Query
UPDATE session
SET location = '/attachment.php?attachmentid=156663&d=1507089711&explain=1'
WHERE sessionhash = '698f82d98886d08b23f4ba087aa6d1bc'

Time Before: 0.03444 seconds
Time After: 0.03473 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,749.117 KB
Memory After: 1,749.070 KB
Memory Used: -0.047 KB

Page generated in 0.034326076507568 seconds with 10 queries, spending 0.0041441917419434 doing MySQL queries and 0.030181884765625 doing PHP things.
Shutdown Queries:
DISABLED