Including Functions.php

Time Before: 0.00051 seconds
Time After: 0.00058 seconds
Time Taken: 0.00006 seconds

Memory Before: 434.039 KB
Memory After: 500.992 KB
Memory Used: 66.953 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00064 seconds
Time After: 0.00151 seconds
Time Taken: 0.00088 seconds

Memory Before: 500.969 KB
Memory After: 501.859 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00181 seconds
Time After: 0.00201 seconds
Time Taken: 0.00020 seconds

Memory Before: 501.883 KB
Memory After: 501.938 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY52 16100.00Using index condition

Time Before: 0.00285 seconds
Time After: 0.00380 seconds
Time Taken: 0.00095 seconds

Memory Before: 503.578 KB
Memory After: 726.977 KB
Memory Used: 223.398 KB

Time Before: 0.00203 seconds
Time After: 0.01979 seconds
Time Taken: 0.01775 seconds

Memory Before: 501.703 KB
Memory After: 1,062.570 KB
Memory Used: 560.867 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.226.33.117'
	AND idhash = '168439c288adb7e0843e3e3aa40a9a54'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refguest_lookup,user_activityguest_lookup55const,const,const1100.00 

Time Before: 0.02141 seconds
Time After: 0.02235 seconds
Time Taken: 0.00093 seconds

Memory Before: 1,222.180 KB
Memory After: 1,238.945 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_fronthelp AS phrasegroup_fronthelp,
			phrasegroup_register AS phrasegroup_register,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.02396 seconds
Time After: 0.02450 seconds
Time Taken: 0.00054 seconds

Memory Before: 1,230.180 KB
Memory After: 1,311.008 KB
Memory Used: 80.828 KB

Time Before: 0.02029 seconds
Time After: 0.02461 seconds
Time Taken: 0.00432 seconds

Memory Before: 1,220.258 KB
Memory After: 1,299.984 KB
Memory Used: 79.727 KB

SQL Query
SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,



post.pagetext AS description,
thread.*


FROM thread AS thread




LEFT JOIN post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid = 297241 LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.03193 seconds
Time After: 0.03235 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,416.969 KB
Memory After: 1,433.547 KB
Memory Used: 16.578 KB

SQL Query
SELECT COUNT(*) AS count FROM user WHERE usergroupid = 4
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusergroupidusergroupid2const2100.00Using index

Time Before: 0.10366 seconds
Time After: 0.10395 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,502.992 KB
Memory After: 1,519.180 KB
Memory Used: 16.188 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 19 AND userselect = 1)
	OR styleid = 19
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.10503 seconds
Time After: 0.10549 seconds
Time Taken: 0.00046 seconds

Memory Before: 1,496.172 KB
Memory After: 1,624.813 KB
Memory Used: 128.641 KB

End call of global.php: 0.11323118209839
SQL Query
SELECT COUNT(postid) AS posts, IF(post.userid = 0, post.username, user.userid) as memberid, user.userid,
	post.username AS postuser, user.username
FROM post AS post
LEFT JOIN user AS user USING(userid)
WHERE threadid = 297241
	AND visible = 1
GROUP BY memberid
ORDER BY posts DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadid,threadid_visible_datelinethreadid4const110.00Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.post.userid1100.00 

Time Before: 0.11451 seconds
Time After: 0.11536 seconds
Time Taken: 0.00084 seconds

Memory Before: 2,008.516 KB
Memory After: 2,024.734 KB
Memory Used: 16.219 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (24771,24773,16601,25469,25468,24891,14189,14188,14190,14185,14184,14951,14953,14949,14947,14193,14194,14961,24321,21591,16585,24221,24215,24217,16589,24929,0,0,24889,24811,24261,24263,24267,24269,24715,24953,24917,24817,24819,23915,23913,23921,21563,21565)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 43100.00Using index condition

Time Before: 0.11902 seconds
Time After: 0.11988 seconds
Time Taken: 0.00086 seconds

Memory Before: 2,128.742 KB
Memory After: 2,214.109 KB
Memory Used: 85.367 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 16587
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.12117 seconds
Time After: 0.12183 seconds
Time Taken: 0.00066 seconds

Memory Before: 2,220.336 KB
Memory After: 2,236.617 KB
Memory Used: 16.281 KB

SQL Query
UPDATE session
SET lastactivity = 1518953498, location = '/forum/misc.php?do=whoposted&t=297241&explain=1', inforum = 2, inthread = 297241, badlocation = 0
WHERE sessionhash = '6a92bbe99a01f3ebd1ef3a83134762df'

Time Before: 0.12454 seconds
Time After: 0.13242 seconds
Time Taken: 0.00787 seconds

Memory Before: 2,267.578 KB
Memory After: 2,267.391 KB
Memory Used: -0.188 KB

Page generated in 0.12411308288574 seconds with 11 queries, spending 0.014909267425537 doing MySQL queries and 0.10920381546021 doing PHP things.
Shutdown Queries:
DISABLED