Including Functions.php

Time Before: 0.00551 seconds
Time After: 0.01357 seconds
Time Taken: 0.00806 seconds

Memory Before: 1,713.570 KB
Memory After: 2,908.375 KB
Memory Used: 1,194.805 KB

Connect to Database on Server: localhost

Time Before: 0.01362 seconds
Time After: 0.01428 seconds
Time Taken: 0.00065 seconds

Memory Before: 2,908.359 KB
Memory After: 2,909.305 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01437 seconds
Time After: 0.01443 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,909.992 KB
Memory After: 2,910.547 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.01477 seconds
Time After: 0.01523 seconds
Time Taken: 0.00047 seconds

Memory Before: 2,913.875 KB
Memory After: 2,914.117 KB
Memory Used: 0.242 KB

Time Before: 0.01445 seconds
Time After: 0.01693 seconds
Time Taken: 0.00247 seconds

Memory Before: 2,909.797 KB
Memory After: 3,888.438 KB
Memory Used: 978.641 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.01957 seconds
Time After: 0.01969 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,525.766 KB
Memory After: 4,526.180 KB
Memory Used: 0.414 KB

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

Time Before: 0.02009 seconds
Time After: 0.02019 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,580.336 KB
Memory After: 4,580.750 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.02070 seconds
Time After: 0.02091 seconds
Time Taken: 0.00021 seconds

Memory Before: 4,592.000 KB
Memory After: 4,591.875 KB
Memory Used: -0.125 KB

Time Before: 0.01985 seconds
Time After: 0.02106 seconds
Time Taken: 0.00121 seconds

Memory Before: 4,573.461 KB
Memory After: 4,672.711 KB
Memory Used: 99.250 KB

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

Time Before: 0.02143 seconds
Time After: 0.02150 seconds
Time Taken: 0.00007 seconds

Memory Before: 4,681.234 KB
Memory After: 4,681.742 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.04662 seconds
Time After: 0.04681 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,615.938 KB
Memory After: 6,616.367 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.04995 seconds
Time After: 0.05058 seconds
Time Taken: 0.00063 seconds

Memory Before: 7,628.977 KB
Memory After: 7,629.000 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    207182Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.06904 seconds
Time After: 0.09344 seconds
Time Taken: 0.02440 seconds

Memory Before: 8,191.336 KB
Memory After: 8,191.609 KB
Memory Used: 0.273 KB

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

Time Before: 0.09865 seconds
Time After: 0.10760 seconds
Time Taken: 0.00895 seconds

Memory Before: 8,482.078 KB
Memory After: 8,482.219 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.11533 seconds
Time After: 0.11568 seconds
Time Taken: 0.00035 seconds

Memory Before: 8,510.781 KB
Memory After: 8,510.711 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.11635 seconds
Time After: 0.11651 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,622.516 KB
Memory After: 8,622.867 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.13319 seconds
Time After: 0.13325 seconds
Time Taken: 0.00006 seconds

Memory Before: 9,149.055 KB
Memory After: 9,149.500 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.13384 seconds
Time After: 0.13390 seconds
Time Taken: 0.00006 seconds

Memory Before: 9,212.805 KB
Memory After: 9,213.250 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 > 1529187043

		ORDER BY discussion.lastpost DESC
		LIMIT 0,5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdiscussionALLgroupid   60Using 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.13621 seconds
Time After: 0.13648 seconds
Time Taken: 0.00027 seconds

Memory Before: 9,526.305 KB
Memory After: 9,525.680 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 > 1529187043

		ORDER BY discussion.lastpost DESC
		LIMIT 0,5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdiscussionALLgroupid   60Using 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.13681 seconds
Time After: 0.13706 seconds
Time Taken: 0.00025 seconds

Memory Before: 9,525.766 KB
Memory After: 9,525.141 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.13734 seconds
Time After: 0.13750 seconds
Time Taken: 0.00016 seconds

Memory Before: 9,520.289 KB
Memory After: 9,520.766 KB
Memory Used: 0.477 KB

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

Time Before: 0.14117 seconds
Time After: 0.14128 seconds
Time Taken: 0.00011 seconds

Memory Before: 10,140.734 KB
Memory After: 10,140.930 KB
Memory Used: 0.195 KB

Page generated in 0.14023208618164 seconds with 18 queries, spending 0.03726053237915 doing MySQL queries and 0.10297155380249 doing PHP things.
Shutdown Queries:
DISABLED