Including Functions.php

Time Before: 0.00755 seconds
Time After: 0.01863 seconds
Time Taken: 0.01108 seconds

Memory Before: 1,714.906 KB
Memory After: 2,909.844 KB
Memory Used: 1,194.938 KB

Connect to Database on Server: localhost

Time Before: 0.01874 seconds
Time After: 0.01951 seconds
Time Taken: 0.00077 seconds

Memory Before: 2,909.828 KB
Memory After: 2,910.773 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01967 seconds
Time After: 0.01975 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,911.461 KB
Memory After: 2,912.016 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.02029 seconds
Time After: 0.02106 seconds
Time Taken: 0.00077 seconds

Memory Before: 2,915.344 KB
Memory After: 2,915.586 KB
Memory Used: 0.242 KB

Time Before: 0.01979 seconds
Time After: 0.02320 seconds
Time Taken: 0.00341 seconds

Memory Before: 2,911.266 KB
Memory After: 3,889.875 KB
Memory Used: 978.609 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.02701 seconds
Time After: 0.02730 seconds
Time Taken: 0.00029 seconds

Memory Before: 4,527.203 KB
Memory After: 4,527.617 KB
Memory Used: 0.414 KB

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

Time Before: 0.02806 seconds
Time After: 0.02826 seconds
Time Taken: 0.00021 seconds

Memory Before: 4,581.797 KB
Memory After: 4,582.211 KB
Memory Used: 0.414 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.02905 seconds
Time After: 0.02954 seconds
Time Taken: 0.00049 seconds

Memory Before: 4,593.453 KB
Memory After: 4,593.328 KB
Memory Used: -0.125 KB

Time Before: 0.02755 seconds
Time After: 0.02977 seconds
Time Taken: 0.00222 seconds

Memory Before: 4,574.922 KB
Memory After: 4,674.188 KB
Memory Used: 99.266 KB

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

Time Before: 0.03037 seconds
Time After: 0.03051 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,682.859 KB
Memory After: 4,683.367 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.06530 seconds
Time After: 0.06560 seconds
Time Taken: 0.00030 seconds

Memory Before: 6,617.125 KB
Memory After: 6,617.555 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.07038 seconds
Time After: 0.07162 seconds
Time Taken: 0.00125 seconds

Memory Before: 7,630.773 KB
Memory After: 7,630.797 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    206919Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.09744 seconds
Time After: 0.15125 seconds
Time Taken: 0.05381 seconds

Memory Before: 8,192.406 KB
Memory After: 8,192.680 KB
Memory Used: 0.273 KB

End call of global.php: 0.15587306022644
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 > 1508446034
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 16424Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.session.userid1 

Time Before: 0.16085 seconds
Time After: 0.23236 seconds
Time Taken: 0.07151 seconds

Memory Before: 8,483.445 KB
Memory After: 8,483.578 KB
Memory Used: 0.133 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.30932 seconds
Time After: 0.31007 seconds
Time Taken: 0.00075 seconds

Memory Before: 8,846.688 KB
Memory After: 8,846.617 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.31113 seconds
Time After: 0.31145 seconds
Time Taken: 0.00032 seconds

Memory Before: 8,958.453 KB
Memory After: 8,958.805 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.33637 seconds
Time After: 0.33649 seconds
Time Taken: 0.00012 seconds

Memory Before: 9,484.813 KB
Memory After: 9,485.258 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.33742 seconds
Time After: 0.33754 seconds
Time Taken: 0.00012 seconds

Memory Before: 9,548.563 KB
Memory After: 9,549.008 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 > 1508654034

		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.34085 seconds
Time After: 0.34145 seconds
Time Taken: 0.00060 seconds

Memory Before: 9,862.180 KB
Memory After: 9,861.555 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 > 1508654034

		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.34212 seconds
Time After: 0.34266 seconds
Time Taken: 0.00054 seconds

Memory Before: 9,861.641 KB
Memory After: 9,861.016 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.34323 seconds
Time After: 0.34362 seconds
Time Taken: 0.00039 seconds

Memory Before: 9,856.164 KB
Memory After: 9,856.641 KB
Memory Used: 0.477 KB

SQL Query
UPDATE session
SET lastactivity = 1511246034, location = '/?explain=1', badlocation = 0
WHERE sessionhash = '44f8715094e3a74ed384caf7b9170bbd'

Time Before: 0.35211 seconds
Time After: 0.35241 seconds
Time Taken: 0.00030 seconds

Memory Before: 10,536.367 KB
Memory After: 10,536.609 KB
Memory Used: 0.242 KB

Page generated in 0.35085701942444 seconds with 18 queries, spending 0.13275551795959 doing MySQL queries and 0.21810150146484 doing PHP things.
Shutdown Queries:
DISABLED