Including Functions.php

Time Before: 0.00568 seconds
Time After: 0.01422 seconds
Time Taken: 0.00855 seconds

Memory Before: 1,755.172 KB
Memory After: 2,949.852 KB
Memory Used: 1,194.680 KB

Connect to Database on Server: localhost

Time Before: 0.01428 seconds
Time After: 0.01503 seconds
Time Taken: 0.00074 seconds

Memory Before: 2,949.813 KB
Memory After: 2,950.758 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01513 seconds
Time After: 0.01522 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,951.445 KB
Memory After: 2,952.000 KB
Memory Used: 0.555 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 16Using where

Time Before: 0.01558 seconds
Time After: 0.01617 seconds
Time Taken: 0.00059 seconds

Memory Before: 2,955.133 KB
Memory After: 2,955.438 KB
Memory Used: 0.305 KB

Time Before: 0.01524 seconds
Time After: 0.01918 seconds
Time Taken: 0.00394 seconds

Memory Before: 2,951.250 KB
Memory After: 4,675.180 KB
Memory Used: 1,723.930 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.02189 seconds
Time After: 0.02202 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,312.133 KB
Memory After: 5,312.547 KB
Memory Used: 0.414 KB

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

Time Before: 0.02263 seconds
Time After: 0.02274 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,370.586 KB
Memory After: 5,371.000 KB
Memory Used: 0.414 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_wol AS phrasegroup_wol,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_messaging AS phrasegroup_messaging,
			phrasegroup_cprofilefield AS phrasegroup_cprofilefield,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_profilefield AS phrasegroup_profilefield,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			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.02330 seconds
Time After: 0.02377 seconds
Time Taken: 0.00047 seconds

Memory Before: 5,383.578 KB
Memory After: 5,383.016 KB
Memory Used: -0.563 KB

Time Before: 0.02231 seconds
Time After: 0.02398 seconds
Time Taken: 0.00167 seconds

Memory Before: 5,363.703 KB
Memory After: 5,560.438 KB
Memory Used: 196.734 KB

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

Time Before: 0.02438 seconds
Time After: 0.02447 seconds
Time Taken: 0.00009 seconds

Memory Before: 5,568.539 KB
Memory After: 5,569.047 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.05268 seconds
Time After: 0.05289 seconds
Time Taken: 0.00021 seconds

Memory Before: 7,902.320 KB
Memory After: 7,902.750 KB
Memory Used: 0.430 KB

End call of global.php: 0.054666996002197
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usercsscache.cachedcss, IF(usercsscache.cachedcss IS NULL, 0, 1) AS hascachedcss, usercsscache.buildpermissions AS cssbuildpermissions
	 , dbtech_livewall_settings.posts_display , dbtech_livewall_settings.posts_privacy , dbtech_livewall_settings.socialgroupposts_display , dbtech_livewall_settings.socialgroupposts_privacy , dbtech_livewall_settings.socialgroupthreads_display , dbtech_livewall_settings.socialgroupthreads_privacy , dbtech_livewall_settings.threads_display , dbtech_livewall_settings.threads_privacy , dbtech_livewall_settings.statusupdate_display , dbtech_livewall_settings.statusupdate_privacy , dbtech_livewall_settings.aptl_display , dbtech_livewall_settings.aptl_privacy
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN usercsscache AS usercsscache ON (user.userid = usercsscache.userid)
 LEFT JOIN dbtech_livewall_settings AS dbtech_livewall_settings ON(dbtech_livewall_settings.userid = user.userid)
WHERE user.userid = 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicsystemPRIMARY   1 
1SIMPLEdbtech_livewall_settingsconstPRIMARYPRIMARY4const1 

Time Before: 0.06129 seconds
Time After: 0.06164 seconds
Time Taken: 0.00035 seconds

Memory Before: 9,543.836 KB
Memory After: 9,542.281 KB
Memory Used: -1.555 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (6283,5341,5302,5303,5305,5311,5310,5138,5139,5140,0,0,5141,0,0,5142,5147,5143,5144,5145,5148,5149,5150,5151,5152,5203,5205,5207,5209,5211,0,5258,5257,5260,5261,5264,5265,5507,5677,5683,5316,5314,5317,5319,5318,5320,5321,6284,5323,5324,5325,5326,5331,5328,5330,5327,5329,5340,5342,5343,5352,5334,5345,5346,5347,5348,5350,5313,5339,5344,5353,5349,5355,5354,5351,5431,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,3057,3639,3638,3635,3636,3701,3702,3703,6103,6098,6112,6111,6113,6105,6107,6106,6050,6049,6051,0,6054,6052,6328)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 133Using where

Time Before: 0.07003 seconds
Time After: 0.07076 seconds
Time Taken: 0.00073 seconds

Memory Before: 11,094.898 KB
Memory After: 11,094.727 KB
Memory Used: -0.172 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.08950 seconds
Time After: 0.08956 seconds
Time Taken: 0.00006 seconds

Memory Before: 11,612.469 KB
Memory After: 11,612.945 KB
Memory Used: 0.477 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.08988 seconds
Time After: 0.08995 seconds
Time Taken: 0.00007 seconds

Memory Before: 11,634.961 KB
Memory After: 11,635.445 KB
Memory Used: 0.484 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM profilefield AS pf
LEFT JOIN profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 
		AND pf.hidden = 0
ORDER BY pfc.displayorder, pf.displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpfcsystemPRIMARY   0const row not found
1SIMPLEpfALL    8Using where; Using filesort

Time Before: 0.09014 seconds
Time After: 0.09030 seconds
Time Taken: 0.00015 seconds

Memory Before: 11,635.680 KB
Memory After: 11,635.977 KB
Memory Used: 0.297 KB

SQL Query
SELECT * FROM customprofile WHERE userid='20'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.09298 seconds
Time After: 0.09310 seconds
Time Taken: 0.00012 seconds

Memory Before: 12,067.055 KB
Memory After: 12,067.547 KB
Memory Used: 0.492 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.09355 seconds
Time After: 0.09365 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,084.125 KB
Memory After: 12,084.617 KB
Memory Used: 0.492 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.09385 seconds
Time After: 0.09395 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,084.867 KB
Memory After: 12,085.359 KB
Memory Used: 0.492 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.09413 seconds
Time After: 0.09421 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,085.906 KB
Memory After: 12,086.398 KB
Memory Used: 0.492 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 20
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 6
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const87Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.09573 seconds
Time After: 0.09755 seconds
Time Taken: 0.00182 seconds

Memory Before: 12,142.719 KB
Memory After: 12,142.563 KB
Memory Used: -0.156 KB

SQL Query
UPDATE user SET
	profilevisits = profilevisits + 1
WHERE userid = 20

Time Before: 0.10177 seconds
Time After: 0.10188 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,159.117 KB
Memory After: 12,159.445 KB
Memory Used: 0.328 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, user.infractiongroupid
	
FROM profilevisitor AS profilevisitor
INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 20
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const11Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.profilevisitor.visitorid1 

Time Before: 0.10213 seconds
Time After: 0.10232 seconds
Time Taken: 0.00019 seconds

Memory Before: 12,160.445 KB
Memory After: 12,160.609 KB
Memory Used: 0.164 KB

SQL Query
SELECT socialgroup.groupid, socialgroup.name, socialgroup.description, socialgroup.dateline, sgicon.dateline AS icondateline,
	sgicon.thumbnail_width AS iconthumb_width, sgicon.thumbnail_height AS iconthumb_height
FROM socialgroupmember AS socialgroupmember
INNER JOIN socialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 20
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using where; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4douglasr_bleachforuns.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4douglasr_bleachforuns.socialgroup.groupid1 

Time Before: 0.10348 seconds
Time After: 0.10378 seconds
Time Taken: 0.00030 seconds

Memory Before: 12,189.641 KB
Memory After: 12,189.641 KB
Memory Used: 0.000 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 20
	AND usergroupid NOT IN (3,4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserrefusergroupid,referreridreferrerid4const128Using where

Time Before: 0.10698 seconds
Time After: 0.10715 seconds
Time Taken: 0.00017 seconds

Memory Before: 12,503.938 KB
Memory After: 12,504.398 KB
Memory Used: 0.461 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 20
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const87Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.11739 seconds
Time After: 0.11897 seconds
Time Taken: 0.00158 seconds

Memory Before: 12,574.031 KB
Memory After: 12,573.852 KB
Memory Used: -0.180 KB

SQL Query
SELECT relationid
FROM userlist
WHERE
	userid IN (20)
		AND
	type = 'buddy'
		AND
	friend = 'yes'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARYPRIMARY4const87Using where

Time Before: 0.12604 seconds
Time After: 0.12618 seconds
Time Taken: 0.00014 seconds

Memory Before: 12,818.500 KB
Memory After: 12,818.961 KB
Memory Used: 0.461 KB

SQL Query
SELECT stream.*, type.section, type.type
FROM activitystream AS stream
LEFT JOIN activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1524489208 AND stream.userid IN (20,1,5,8,24,58,121,305,375,400,517,1111,1172,1280,1848,2207,2586,2604,2754,2966,3041,3075,3360,3479,3510,3591,3714,3891,4064,4271,4414,4777,4958,4990,5216,5226,5448,6199,6221,6581,6858,6867,6896,7007,7141,7151,7313,7369,7375,7495,7637,7884,9082,9111,9131,11186,12709,12823,17460,18637,19382,20216,20218,20259,20481,21459,22247,22384,22672,23103,23523,25479,26259,27933,28489,28772,31673,33144,33468,34268,35065)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstreamrangedateline,useriduserid8 253Using where; Using filesort
1SIMPLEtypeeq_refPRIMARYPRIMARY4douglasr_bleachforuns.stream.typeid1 

Time Before: 0.12700 seconds
Time After: 0.12799 seconds
Time Taken: 0.00099 seconds

Memory Before: 12,841.695 KB
Memory After: 12,841.586 KB
Memory Used: -0.109 KB

SQL Query
SELECT
	p.postid AS p_postid, p.threadid AS p_threadid, p.title AS p_title, p.visible AS p_visible, p.userid AS p_userid, p.pagetext AS p_pagetext, p.username AS p_username,
	t.threadid AS t_threadid, t.title AS t_title, t.forumid AS t_forumid, t.pollid AS t_pollid, t.open AS t_open, t.postusername AS t_postusername,
	t.views AS t_views, t.visible AS t_visible, t.postuserid AS t_postuserid, t.postuserid AS t_userid, t.replycount AS t_replycount,
	fp.pagetext AS t_pagetext
FROM post AS p
INNER JOIN thread AS t ON (p.threadid = t.threadid)
INNER JOIN post AS fp ON (t.firstpostid = fp.postid)
WHERE
	p.postid IN (136726,136725,136722,136720,136716,136715,136645,136597,136555,136475,136427,136425,136418,136377,136372,136352,136342,136310,136306,136176,136175,136172,136171,136117,136115,136113,136111,136105,136099,136081)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 30Using where
1SIMPLEteq_refPRIMARYPRIMARY4douglasr_bleachforuns.p.threadid1Using where
1SIMPLEfpeq_refPRIMARYPRIMARY4douglasr_bleachforuns.t.firstpostid1 

Time Before: 0.12966 seconds
Time After: 0.13012 seconds
Time Taken: 0.00046 seconds

Memory Before: 13,062.414 KB
Memory After: 13,062.086 KB
Memory Used: -0.328 KB

SQL Query
SELECT u.*
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
		
FROM user AS u

	LEFT JOIN avatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN customavatar AS cu ON(cu.userid = u.userid)
	
WHERE u.userid IN (20,30538,58,1172,300,1)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEurangePRIMARYPRIMARY4 6Using where
1SIMPLEaveq_refPRIMARYPRIMARY2douglasr_bleachforuns.u.avatarid1 
1SIMPLEcueq_refPRIMARYPRIMARY4douglasr_bleachforuns.u.userid1 

Time Before: 0.13087 seconds
Time After: 0.13120 seconds
Time Taken: 0.00033 seconds

Memory Before: 13,154.758 KB
Memory After: 13,154.859 KB
Memory Used: 0.102 KB

SQL Query
SELECT COUNT(*) AS files FROM dl2_files WHERE uploaderid = 20 AND modqueue = 0
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdl2_filesALL    246Using where

Time Before: 0.14821 seconds
Time After: 0.14843 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,074.063 KB
Memory After: 13,074.555 KB
Memory Used: 0.492 KB

SQL Query
SELECT *
FROM dl2_files
WHERE uploaderid = 20
	AND modqueue = 0
LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdl2_filesALL    246Using where

Time Before: 0.14862 seconds
Time After: 0.14881 seconds
Time Taken: 0.00019 seconds

Memory Before: 13,075.258 KB
Memory After: 13,075.711 KB
Memory Used: 0.453 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.14984 seconds
Time After: 0.15000 seconds
Time Taken: 0.00016 seconds

Memory Before: 13,076.281 KB
Memory After: 13,076.758 KB
Memory Used: 0.477 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.15186 seconds
Time After: 0.15196 seconds
Time Taken: 0.00010 seconds

Memory Before: 13,207.508 KB
Memory After: 13,208.000 KB
Memory Used: 0.492 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.15216 seconds
Time After: 0.15226 seconds
Time Taken: 0.00009 seconds

Memory Before: 13,208.250 KB
Memory After: 13,208.742 KB
Memory Used: 0.492 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcustomprofilerefuseriduserid4const1 

Time Before: 0.15244 seconds
Time After: 0.15255 seconds
Time Taken: 0.00011 seconds

Memory Before: 13,208.297 KB
Memory After: 13,208.789 KB
Memory Used: 0.492 KB

SQL Query
UPDATE session
SET lastactivity = 1524489208, location = 'member.php?u=20', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = '433bb6449286208385001eb707ffe84a'

Time Before: 0.15486 seconds
Time After: 0.15495 seconds
Time Taken: 0.00008 seconds

Memory Before: 13,720.328 KB
Memory After: 13,720.539 KB
Memory Used: 0.211 KB

Page generated in 0.15396404266357 seconds with 33 queries, spending 0.011222839355469 doing MySQL queries and 0.14274120330811 doing PHP things.
Shutdown Queries:
DISABLED