Including Functions.php

Time Before: 0.00046 seconds
Time After: 0.00051 seconds
Time Taken: 0.00004 seconds

Memory Before: 442.617 KB
Memory After: 509.570 KB
Memory Used: 66.953 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00053 seconds
Time After: 0.00127 seconds
Time Taken: 0.00074 seconds

Memory Before: 509.547 KB
Memory After: 510.438 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00150 seconds
Time After: 0.00165 seconds
Time Taken: 0.00015 seconds

Memory Before: 510.461 KB
Memory After: 510.516 KB
Memory Used: 0.055 KB

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

Time Before: 0.00234 seconds
Time After: 0.00329 seconds
Time Taken: 0.00095 seconds

Memory Before: 512.281 KB
Memory After: 740.289 KB
Memory Used: 228.008 KB

Time Before: 0.00167 seconds
Time After: 0.01331 seconds
Time Taken: 0.01164 seconds

Memory Before: 510.281 KB
Memory After: 1,093.305 KB
Memory Used: 583.023 KB

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

Time Before: 0.01502 seconds
Time After: 0.01538 seconds
Time Taken: 0.00036 seconds

Memory Before: 1,257.211 KB
Memory After: 1,273.977 KB
Memory Used: 16.766 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			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.01624 seconds
Time After: 0.01667 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,265.211 KB
Memory After: 1,334.039 KB
Memory Used: 68.828 KB

Time Before: 0.01415 seconds
Time After: 0.01678 seconds
Time Taken: 0.00263 seconds

Memory Before: 1,253.438 KB
Memory After: 1,319.266 KB
Memory Used: 65.828 KB

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

Time Before: 0.07766 seconds
Time After: 0.07803 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,513.695 KB
Memory After: 1,529.883 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.07864 seconds
Time After: 0.07898 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,506.875 KB
Memory After: 1,635.516 KB
Memory Used: 128.641 KB

End call of global.php: 0.083419799804688
SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEmoderator ALLuserid_forumid   81100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.moderator.userid1100.00 

Time Before: 0.08415 seconds
Time After: 0.08496 seconds
Time Taken: 0.00082 seconds

Memory Before: 2,019.406 KB
Memory After: 2,052.039 KB
Memory Used: 32.633 KB

SQL Query
SELECT forum.forumid, forum.lastpost, forum.lastposter, forum.lastposterid, forum.lastthread, forum.lastthreadid, forum.lasticonid, forum.threadcount, forum.replycount, forum.lastpostid, forum.lastprefixid, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
	user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
	
FROM forum AS forum

LEFT JOIN user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    52100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.forum.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,userid,relationidPRIMARY9const,webdev.user.userid,const1100.00 

Time Before: 0.08646 seconds
Time After: 0.08746 seconds
Time Taken: 0.00101 seconds

Memory Before: 2,117.234 KB
Memory After: 2,152.570 KB
Memory Used: 35.336 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (14945,16579,24709,24713,24711,23955,23957,16583,23953,16667,23951,23939,24831,24963,24689,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 56100.00Using index condition

Time Before: 0.09114 seconds
Time After: 0.09211 seconds
Time Taken: 0.00097 seconds

Memory Before: 2,315.109 KB
Memory After: 2,483.680 KB
Memory Used: 168.570 KB

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

Time Before: 0.09334 seconds
Time After: 0.09355 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,491.438 KB
Memory After: 2,507.719 KB
Memory Used: 16.281 KB

SQL Query
SELECT user.username, (user.options & 512) AS invisible, user.usergroupid,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1519106487
ORDER BY username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALLlast_activity   146360.15Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4webdev.session.userid1100.00 

Time Before: 0.09821 seconds
Time After: 0.10597 seconds
Time Taken: 0.00776 seconds

Memory Before: 2,564.391 KB
Memory After: 2,758.008 KB
Memory Used: 193.617 KB

SQL Query
UPDATE session
SET lastactivity = 1519108287, location = 'forumdisplay.php?f=39', inforum = 39, inthread = 0, badlocation = 0
WHERE sessionhash = '45a6e7401e63975334c98ad178bfae35'

Time Before: 0.13570 seconds
Time After: 0.13769 seconds
Time Taken: 0.00200 seconds

Memory Before: 2,750.789 KB
Memory After: 2,750.633 KB
Memory Used: -0.156 KB

Page generated in 0.13507795333862 seconds with 12 queries, spending 0.01609992980957 doing MySQL queries and 0.11897802352905 doing PHP things.
Shutdown Queries:
DISABLED