Including Functions.php

Time Before: 0.00750 seconds
Time After: 0.01873 seconds
Time Taken: 0.01123 seconds

Memory Before: 1,713.203 KB
Memory After: 2,907.977 KB
Memory Used: 1,194.773 KB

Connect to Database on Server: localhost

Time Before: 0.01881 seconds
Time After: 0.01980 seconds
Time Taken: 0.00099 seconds

Memory Before: 2,907.953 KB
Memory After: 2,908.898 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02002 seconds
Time After: 0.02011 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,909.586 KB
Memory After: 2,910.141 KB
Memory Used: 0.555 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('userstats','birthdaycache','maxloggedin','iconcache','eventcache','mailqueue','activeblocks','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 21Using where

Time Before: 0.02108 seconds
Time After: 0.02182 seconds
Time Taken: 0.00074 seconds

Memory Before: 2,913.469 KB
Memory After: 2,913.711 KB
Memory Used: 0.242 KB

Time Before: 0.02017 seconds
Time After: 0.02441 seconds
Time Taken: 0.00424 seconds

Memory Before: 2,909.391 KB
Memory After: 3,888.016 KB
Memory Used: 978.625 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('dbtech_vbshout_button','dbtech_vbshout_chatroom','dbtech_vbshout_instance','dbtech_livewall_contenttype')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 4Using where

Time Before: 0.02814 seconds
Time After: 0.02838 seconds
Time Taken: 0.00024 seconds

Memory Before: 4,525.383 KB
Memory After: 4,525.797 KB
Memory Used: 0.414 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.146.50.80'
	AND idhash = 'b5718944b946dabea919dc5d810d29b5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.02899 seconds
Time After: 0.02912 seconds
Time Taken: 0.00013 seconds

Memory Before: 4,579.922 KB
Memory After: 4,580.344 KB
Memory Used: 0.422 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_holiday AS phrasegroup_holiday,
			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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.02997 seconds
Time After: 0.03030 seconds
Time Taken: 0.00033 seconds

Memory Before: 4,591.602 KB
Memory After: 4,591.477 KB
Memory Used: -0.125 KB

Time Before: 0.02861 seconds
Time After: 0.03051 seconds
Time Taken: 0.00190 seconds

Memory Before: 4,573.063 KB
Memory After: 4,672.352 KB
Memory Used: 99.289 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY52const1 

Time Before: 0.03098 seconds
Time After: 0.03108 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,680.875 KB
Memory After: 4,681.383 KB
Memory Used: 0.508 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 12 AND userselect = 1)
	OR styleid = 12
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.06546 seconds
Time After: 0.06573 seconds
Time Taken: 0.00027 seconds

Memory Before: 6,615.500 KB
Memory After: 6,615.930 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (5084,2018,5212,5213,5215,5216,5217,5218,5214,6279,5285,5291,6281,6282,5288,5289,5290,5636,6324,5776,5717,5787,2029,2028,2030,2020,2019,2026,5081,5088,2024,2033,2034,5068,5473,5769,6286,6287,5420,5421,5422,5785,0,0,5748,5750,5443,5444,5446,5447,5670,5712,5711,5761,5713,5270,5269,5273,3059,3639,3701,3702,3703,6103,6098,6112,6111,6113,6105,5260,6107,6106,6050,6049,6051,0,6186,6187,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6188,6328)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 97Using where

Time Before: 0.06993 seconds
Time After: 0.07066 seconds
Time Taken: 0.00074 seconds

Memory Before: 7,628.680 KB
Memory After: 7,628.703 KB
Memory Used: 0.023 KB

SQL Query
SELECT
	st.*, sd.founded
FROM
	seoqueries_data sd
LEFT JOIN
	seoqueries_terms st
	ON
	sd.stid = st.stid
WHERE
	sd.page_type = 'index'
	AND
	sd.page_id = 0
ORDER BY
	sd.founded DESC LIMIT 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsdALL    206925Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.09648 seconds
Time After: 0.13228 seconds
Time Taken: 0.03580 seconds

Memory Before: 8,190.977 KB
Memory After: 8,191.234 KB
Memory Used: 0.258 KB

End call of global.php: 0.1354079246521
SQL Query
SELECT
	user.username, (user.options & 512) AS invisible, user.usergroupid, user.lastvisit,
	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 > 1508714017
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 174Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.session.userid1 

Time Before: 0.14020 seconds
Time After: 0.14115 seconds
Time Taken: 0.00095 seconds

Memory Before: 8,481.875 KB
Memory After: 8,482.016 KB
Memory Used: 0.141 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, default_tags_ids, 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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    32 
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.forum.lastposterid1 
1SIMPLEuserlisteq_refPRIMARY,userid,relationidPRIMARY9const,douglasr_bleachforuns.user.userid,const1 

Time Before: 0.14279 seconds
Time After: 0.14329 seconds
Time Taken: 0.00050 seconds

Memory Before: 8,488.945 KB
Memory After: 8,488.875 KB
Memory Used: -0.070 KB

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_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   8 
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.moderator.userid1 

Time Before: 0.14446 seconds
Time After: 0.14467 seconds
Time Taken: 0.00021 seconds

Memory Before: 8,600.727 KB
Memory After: 8,601.078 KB
Memory Used: 0.352 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'forumblock.6f086eaf4db5a06d2dba61393d152340'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.16762 seconds
Time After: 0.16771 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,127.484 KB
Memory After: 9,127.930 KB
Memory Used: 0.445 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'forumblock.022e182423897dc1303e132e279866e3'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.16852 seconds
Time After: 0.16861 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,191.234 KB
Memory After: 9,191.680 KB
Memory Used: 0.445 KB

SQL Query
SELECT user.*, discussion.discussionid, discussion.groupid, discussion.lastpostid, discussion.lastpost,
	discussion.lastposter, discussion.lastposterid, discussion.visible,
	groupmessage.gmid, groupmessage.postuserid, groupmessage.postusername, groupmessage.dateline,
	groupmessage.title, groupmessage.pagetext as message,
	socialgroup.name as groupname, socialgroup.description as groupdescription
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar,
		customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM discussion AS discussion
INNER JOIN socialgroup AS socialgroup ON(discussion.groupid = socialgroup.groupid)
INNER JOIN groupmessage AS groupmessage ON (discussion.firstpostid = groupmessage.gmid)
LEFT JOIN user AS user ON (groupmessage.postuserid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
		
		WHERE 1=1



AND discussion.visible > 0
AND groupmessage.state = 'visible'
 AND discussion.lastpost > 1508922017

		ORDER BY discussion.lastpost DESC
		LIMIT 0,5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdiscussionALLgroupid   59Using where; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4douglasr_bleachforuns.discussion.groupid1 
1SIMPLEgroupmessageeq_refPRIMARYPRIMARY4douglasr_bleachforuns.discussion.firstpostid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.groupmessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.17203 seconds
Time After: 0.17243 seconds
Time Taken: 0.00040 seconds

Memory Before: 9,504.719 KB
Memory After: 9,504.094 KB
Memory Used: -0.625 KB

SQL Query
SELECT user.*, discussion.discussionid, discussion.groupid, discussion.lastpostid, discussion.lastpost,
	discussion.lastposter, discussion.lastposterid, discussion.visible,
	groupmessage.gmid, groupmessage.postuserid, groupmessage.postusername, groupmessage.dateline,
	groupmessage.title, groupmessage.pagetext as message,
	socialgroup.name as groupname, socialgroup.description as groupdescription
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar,
		customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM discussion AS discussion
INNER JOIN socialgroup AS socialgroup ON(discussion.groupid = socialgroup.groupid)
INNER JOIN groupmessage AS groupmessage ON (discussion.firstpostid = groupmessage.gmid)
LEFT JOIN user AS user ON (groupmessage.postuserid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
		
		WHERE 1=1



AND discussion.visible > 0
AND groupmessage.state = 'visible'
 AND discussion.lastpost > 1508922017

		ORDER BY discussion.lastpost DESC
		LIMIT 0,5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdiscussionALLgroupid   59Using where; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4douglasr_bleachforuns.discussion.groupid1 
1SIMPLEgroupmessageeq_refPRIMARYPRIMARY4douglasr_bleachforuns.discussion.firstpostid1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.groupmessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.17289 seconds
Time After: 0.17324 seconds
Time Taken: 0.00034 seconds

Memory Before: 9,504.180 KB
Memory After: 9,503.555 KB
Memory Used: -0.625 KB

SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    35Using where; Using filesort

Time Before: 0.17379 seconds
Time After: 0.17401 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,498.703 KB
Memory After: 9,499.180 KB
Memory Used: 0.477 KB

SQL Query
UPDATE session
SET lastactivity = 1511514017, location = '/forum.php?explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = '1c88c02e30046fc5d1c7625a1ae610c9'

Time Before: 0.17873 seconds
Time After: 0.17886 seconds
Time Taken: 0.00013 seconds

Memory Before: 10,113.219 KB
Memory After: 10,113.414 KB
Memory Used: 0.195 KB

Page generated in 0.17753791809082 seconds with 18 queries, spending 0.042349576950073 doing MySQL queries and 0.13518834114075 doing PHP things.
Shutdown Queries:
DISABLED