Including Functions.php

Time Before: 0.00783 seconds
Time After: 0.00785 seconds
Time Taken: 0.00002 seconds

Memory Before: 414.695 KB
Memory After: 416.531 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00786 seconds
Time After: 0.00814 seconds
Time Taken: 0.00028 seconds

Memory Before: 416.516 KB
Memory After: 417.406 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00830 seconds
Time After: 0.00839 seconds
Time Taken: 0.00009 seconds

Memory Before: 417.453 KB
Memory After: 417.508 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.00874 seconds
Time After: 0.01043 seconds
Time Taken: 0.00169 seconds

Memory Before: 418.766 KB
Memory After: 635.664 KB
Memory Used: 216.898 KB

Time Before: 0.00840 seconds
Time After: 0.02221 seconds
Time Taken: 0.01380 seconds

Memory Before: 417.297 KB
Memory After: 940.125 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.02692 seconds
Time After: 0.02924 seconds
Time Taken: 0.00231 seconds

Memory Before: 941.859 KB
Memory After: 1,326.180 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.147.67.237'
	AND idhash = '2f099232454274a5a060b1641eb8abce'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1000Using where

Time Before: 0.02983 seconds
Time After: 0.03030 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,132.336 KB
Memory After: 1,148.781 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.03115 seconds
Time After: 0.03165 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,138.094 KB
Memory After: 1,234.789 KB
Memory Used: 96.695 KB

Time Before: 0.02931 seconds
Time After: 0.03168 seconds
Time Taken: 0.00237 seconds

Memory Before: 1,129.891 KB
Memory After: 1,179.227 KB
Memory Used: 49.336 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.03531 seconds
Time After: 0.03553 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,258.938 KB
Memory After: 1,355.445 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.03795 seconds
Time After: 0.03819 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,400.367 KB
Memory After: 1,619.109 KB
Memory Used: 218.742 KB

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

Time Before: 0.04054 seconds
Time After: 0.04096 seconds
Time Taken: 0.00042 seconds

Memory Before: 1,615.547 KB
Memory After: 1,631.992 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.04235 seconds
Time After: 0.04243 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,618.188 KB
Memory After: 1,634.305 KB
Memory Used: 16.117 KB

SQL Query
UPDATE session
SET lastactivity = 1734876519, location = '/attachment.php?attachmentid=155012&d=1463438145&explain=1', inforum = 0, inthread = 0, badlocation = 1
WHERE sessionhash = '442b81252531f7f8489286e8531b609c'

Time Before: 0.04427 seconds
Time After: 0.07008 seconds
Time Taken: 0.02581 seconds

Memory Before: 1,746.477 KB
Memory After: 1,746.273 KB
Memory Used: -0.203 KB

Page generated in 0.044152021408081 seconds with 10 queries, spending 0.032107830047607 doing MySQL queries and 0.012044191360474 doing PHP things.
Shutdown Queries:
DISABLED