Including Functions.php

Time Before: 0.01170 seconds
Time After: 0.02947 seconds
Time Taken: 0.01777 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.02962 seconds
Time After: 0.03061 seconds
Time Taken: 0.00099 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.03082 seconds
Time After: 0.03090 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.03152 seconds
Time After: 0.03227 seconds
Time Taken: 0.00075 seconds

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

Time Before: 0.03096 seconds
Time After: 0.03577 seconds
Time Taken: 0.00481 seconds

Memory Before: 2,911.266 KB
Memory After: 3,890.773 KB
Memory Used: 979.508 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.04140 seconds
Time After: 0.04162 seconds
Time Taken: 0.00022 seconds

Memory Before: 4,528.008 KB
Memory After: 4,528.422 KB
Memory Used: 0.414 KB

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

Time Before: 0.04248 seconds
Time After: 0.04266 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,582.625 KB
Memory After: 4,583.047 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.04347 seconds
Time After: 0.04382 seconds
Time Taken: 0.00035 seconds

Memory Before: 4,594.297 KB
Memory After: 4,594.172 KB
Memory Used: -0.125 KB

Time Before: 0.04198 seconds
Time After: 0.04408 seconds
Time Taken: 0.00210 seconds

Memory Before: 4,575.750 KB
Memory After: 4,675.039 KB
Memory Used: 99.289 KB

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

Time Before: 0.04477 seconds
Time After: 0.04491 seconds
Time Taken: 0.00013 seconds

Memory Before: 4,683.695 KB
Memory After: 4,684.203 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.10493 seconds
Time After: 0.10522 seconds
Time Taken: 0.00029 seconds

Memory Before: 6,618.453 KB
Memory After: 6,618.883 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.11157 seconds
Time After: 0.11227 seconds
Time Taken: 0.00070 seconds

Memory Before: 7,631.242 KB
Memory After: 7,631.266 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    206684Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.15836 seconds
Time After: 0.19215 seconds
Time Taken: 0.03378 seconds

Memory Before: 8,192.883 KB
Memory After: 8,193.156 KB
Memory Used: 0.273 KB

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

Time Before: 0.20417 seconds
Time After: 0.24798 seconds
Time Taken: 0.04380 seconds

Memory Before: 8,485.453 KB
Memory After: 8,485.586 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.28389 seconds
Time After: 0.28441 seconds
Time Taken: 0.00051 seconds

Memory Before: 8,941.578 KB
Memory After: 8,941.508 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.28525 seconds
Time After: 0.28553 seconds
Time Taken: 0.00028 seconds

Memory Before: 9,054.617 KB
Memory After: 9,054.969 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.30591 seconds
Time After: 0.30601 seconds
Time Taken: 0.00011 seconds

Memory Before: 9,581.625 KB
Memory After: 9,582.070 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.30673 seconds
Time After: 0.30681 seconds
Time Taken: 0.00007 seconds

Memory Before: 9,645.375 KB
Memory After: 9,645.820 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 > 1498128268

		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.30985 seconds
Time After: 0.31045 seconds
Time Taken: 0.00061 seconds

Memory Before: 9,958.984 KB
Memory After: 9,958.359 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 > 1498128268

		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.31110 seconds
Time After: 0.31169 seconds
Time Taken: 0.00058 seconds

Memory Before: 9,958.461 KB
Memory After: 9,957.836 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.31208 seconds
Time After: 0.31230 seconds
Time Taken: 0.00022 seconds

Memory Before: 9,952.969 KB
Memory After: 9,953.445 KB
Memory Used: 0.477 KB

SQL Query
UPDATE session
SET lastactivity = 1500720268, location = '/?explain=1', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'a269dcf640fc9106bcae67c6a2a181dd'

Time Before: 0.32081 seconds
Time After: 0.32105 seconds
Time Taken: 0.00025 seconds

Memory Before: 10,655.375 KB
Memory After: 10,655.602 KB
Memory Used: 0.227 KB

Page generated in 0.31966400146484 seconds with 18 queries, spending 0.083907127380371 doing MySQL queries and 0.23575687408447 doing PHP things.
Shutdown Queries:
DISABLED