Including Functions.php

Time Before: 0.00705 seconds
Time After: 0.01741 seconds
Time Taken: 0.01037 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.01749 seconds
Time After: 0.01829 seconds
Time Taken: 0.00081 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.01844 seconds
Time After: 0.01853 seconds
Time Taken: 0.00009 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.01907 seconds
Time After: 0.01989 seconds
Time Taken: 0.00082 seconds

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

Time Before: 0.01856 seconds
Time After: 0.02202 seconds
Time Taken: 0.00346 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.02550 seconds
Time After: 0.02579 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.156.47.142'
	AND idhash = '4aff4250545396ed9d51cdc4ca7055d2'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.02650 seconds
Time After: 0.02672 seconds
Time Taken: 0.00022 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.02751 seconds
Time After: 0.02797 seconds
Time Taken: 0.00046 seconds

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

Time Before: 0.02600 seconds
Time After: 0.02816 seconds
Time Taken: 0.00216 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.02867 seconds
Time After: 0.02880 seconds
Time Taken: 0.00013 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.06199 seconds
Time After: 0.06232 seconds
Time Taken: 0.00033 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.06641 seconds
Time After: 0.06767 seconds
Time Taken: 0.00126 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    206820Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.09260 seconds
Time After: 0.14434 seconds
Time Taken: 0.05174 seconds

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

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

Time Before: 0.15709 seconds
Time After: 0.24158 seconds
Time Taken: 0.08449 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.32040 seconds
Time After: 0.32090 seconds
Time Taken: 0.00050 seconds

Memory Before: 9,025.719 KB
Memory After: 9,025.648 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.32197 seconds
Time After: 0.32233 seconds
Time Taken: 0.00035 seconds

Memory Before: 9,137.914 KB
Memory After: 9,138.266 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.34487 seconds
Time After: 0.34500 seconds
Time Taken: 0.00013 seconds

Memory Before: 9,666.297 KB
Memory After: 9,666.742 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.34574 seconds
Time After: 0.34583 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,730.055 KB
Memory After: 9,730.500 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 > 1503346172

		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.34895 seconds
Time After: 0.34933 seconds
Time Taken: 0.00038 seconds

Memory Before: 10,043.609 KB
Memory After: 10,042.984 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 > 1503346172

		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.34980 seconds
Time After: 0.35013 seconds
Time Taken: 0.00033 seconds

Memory Before: 10,043.070 KB
Memory After: 10,042.445 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.35055 seconds
Time After: 0.35077 seconds
Time Taken: 0.00022 seconds

Memory Before: 10,037.594 KB
Memory After: 10,038.070 KB
Memory Used: 0.477 KB

SQL Query
UPDATE session
SET lastactivity = 1505938172, location = '/?explain=1', badlocation = 0
WHERE sessionhash = '88a0db6a8438c2323d0b484fc16e4311'

Time Before: 0.36082 seconds
Time After: 0.36103 seconds
Time Taken: 0.00021 seconds

Memory Before: 10,752.492 KB
Memory After: 10,752.734 KB
Memory Used: 0.242 KB

Page generated in 0.35967516899109 seconds with 18 queries, spending 0.14286780357361 doing MySQL queries and 0.21680736541748 doing PHP things.
Shutdown Queries:
DISABLED