Including Functions.php

Time Before: 0.00020 seconds
Time After: 0.00022 seconds
Time Taken: 0.00002 seconds

Memory Before: 417.359 KB
Memory After: 419.195 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00024 seconds
Time After: 0.00053 seconds
Time Taken: 0.00029 seconds

Memory Before: 419.180 KB
Memory After: 420.070 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00061 seconds
Time After: 0.00066 seconds
Time Taken: 0.00006 seconds

Memory Before: 420.117 KB
Memory After: 420.172 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.00103 seconds
Time After: 0.00161 seconds
Time Taken: 0.00058 seconds

Memory Before: 421.430 KB
Memory After: 638.328 KB
Memory Used: 216.898 KB

Time Before: 0.00068 seconds
Time After: 0.00622 seconds
Time Taken: 0.00555 seconds

Memory Before: 419.961 KB
Memory After: 942.789 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.00644 seconds
Time After: 0.00695 seconds
Time Taken: 0.00051 seconds

Memory Before: 944.523 KB
Memory After: 1,328.844 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.147.86.30'
	AND idhash = 'b0f2bb4b27fd5f7d393a68d0fd421c25'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1448Using where

Time Before: 0.00728 seconds
Time After: 0.00787 seconds
Time Taken: 0.00060 seconds

Memory Before: 1,135.000 KB
Memory After: 1,151.445 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.00825 seconds
Time After: 0.00834 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,140.508 KB
Memory After: 1,237.203 KB
Memory Used: 96.695 KB

Time Before: 0.00705 seconds
Time After: 0.00837 seconds
Time Taken: 0.00133 seconds

Memory Before: 1,132.555 KB
Memory After: 1,181.602 KB
Memory Used: 49.047 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.00944 seconds
Time After: 0.00953 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,261.313 KB
Memory After: 1,357.820 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.01044 seconds
Time After: 0.01066 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,402.742 KB
Memory After: 1,621.484 KB
Memory Used: 218.742 KB

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

Time Before: 0.01169 seconds
Time After: 0.01193 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,617.859 KB
Memory After: 1,634.305 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.01229 seconds
Time After: 0.01235 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,620.500 KB
Memory After: 1,636.617 KB
Memory Used: 16.117 KB

SQL Query
UPDATE session
SET lastactivity = 1735268089, location = '/attachment.php?attachmentid=157468&d=1567511353&explain=1', badlocation = 1
WHERE sessionhash = '2528c39693a4bdc3c6092236748da698'

Time Before: 0.01387 seconds
Time After: 0.01402 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,748.648 KB
Memory After: 1,748.570 KB
Memory Used: -0.078 KB

Page generated in 0.013756036758423 seconds with 10 queries, spending 0.0028669834136963 doing MySQL queries and 0.010889053344727 doing PHP things.
Shutdown Queries:
DISABLED