Including Functions.php

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

Memory Before: 417.266 KB
Memory After: 419.102 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00017 seconds
Time After: 0.00041 seconds
Time Taken: 0.00024 seconds

Memory Before: 419.086 KB
Memory After: 419.977 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00048 seconds
Time After: 0.00053 seconds
Time Taken: 0.00005 seconds

Memory Before: 420.023 KB
Memory After: 420.078 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.00081 seconds
Time After: 0.00101 seconds
Time Taken: 0.00020 seconds

Memory Before: 421.336 KB
Memory After: 638.234 KB
Memory Used: 216.898 KB

Time Before: 0.00055 seconds
Time After: 0.00535 seconds
Time Taken: 0.00481 seconds

Memory Before: 419.867 KB
Memory After: 942.695 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.00555 seconds
Time After: 0.00575 seconds
Time Taken: 0.00020 seconds

Memory Before: 944.430 KB
Memory After: 1,328.750 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.139.86.58'
	AND idhash = '83f11aa67027e71e2e07cf32f8f97d24'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1391Using where

Time Before: 0.00602 seconds
Time After: 0.00697 seconds
Time Taken: 0.00095 seconds

Memory Before: 1,134.906 KB
Memory After: 1,151.352 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.00730 seconds
Time After: 0.00738 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,140.516 KB
Memory After: 1,237.211 KB
Memory Used: 96.695 KB

Time Before: 0.00582 seconds
Time After: 0.00742 seconds
Time Taken: 0.00160 seconds

Memory Before: 1,132.461 KB
Memory After: 1,181.609 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.00848 seconds
Time After: 0.00856 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,261.320 KB
Memory After: 1,357.828 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.00947 seconds
Time After: 0.00968 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,402.750 KB
Memory After: 1,621.492 KB
Memory Used: 218.742 KB

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

Time Before: 0.01067 seconds
Time After: 0.01091 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,617.867 KB
Memory After: 1,634.313 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.01121 seconds
Time After: 0.01126 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,620.516 KB
Memory After: 1,636.633 KB
Memory Used: 16.117 KB

SQL Query
UPDATE session
SET location = '/attachment.php?attachmentid=102544&d=1248741675&explain=1', inforum = 0, inthread = 0, badlocation = 1
WHERE sessionhash = '3c7c4a73be9326bd7d9b3a94be7f7417'

Time Before: 0.01266 seconds
Time After: 0.01278 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,748.625 KB
Memory After: 1,748.547 KB
Memory Used: -0.078 KB

Page generated in 0.01253604888916 seconds with 10 queries, spending 0.0024306774139404 doing MySQL queries and 0.01010537147522 doing PHP things.
Shutdown Queries:
DISABLED