Including Functions.php

Time Before: 0.00551 seconds
Time After: 0.01331 seconds
Time Taken: 0.00781 seconds

Memory Before: 1,755.141 KB
Memory After: 2,949.852 KB
Memory Used: 1,194.711 KB

Connect to Database on Server: localhost

Time Before: 0.01337 seconds
Time After: 0.01396 seconds
Time Taken: 0.00059 seconds

Memory Before: 2,949.836 KB
Memory After: 2,950.781 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01406 seconds
Time After: 0.01411 seconds
Time Taken: 0.00005 seconds

Memory Before: 2,951.469 KB
Memory After: 2,952.023 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.01439 seconds
Time After: 0.01497 seconds
Time Taken: 0.00058 seconds

Memory Before: 2,955.156 KB
Memory After: 2,955.461 KB
Memory Used: 0.305 KB

Time Before: 0.01413 seconds
Time After: 0.01778 seconds
Time Taken: 0.00365 seconds

Memory Before: 2,951.273 KB
Memory After: 4,675.195 KB
Memory Used: 1,723.922 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.02040 seconds
Time After: 0.02052 seconds
Time Taken: 0.00012 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.81.76.247'
	AND idhash = '81e8974b015172d872ab806c922b9a0b'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.02105 seconds
Time After: 0.02115 seconds
Time Taken: 0.00010 seconds

Memory Before: 5,370.563 KB
Memory After: 5,370.984 KB
Memory Used: 0.422 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.02165 seconds
Time After: 0.02211 seconds
Time Taken: 0.00046 seconds

Memory Before: 5,383.547 KB
Memory After: 5,382.984 KB
Memory Used: -0.563 KB

Time Before: 0.02079 seconds
Time After: 0.02234 seconds
Time Taken: 0.00155 seconds

Memory Before: 5,363.703 KB
Memory After: 5,560.430 KB
Memory Used: 196.727 KB

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

Time Before: 0.02270 seconds
Time After: 0.02277 seconds
Time Taken: 0.00007 seconds

Memory Before: 5,568.531 KB
Memory After: 5,569.039 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.05113 seconds
Time After: 0.05134 seconds
Time Taken: 0.00021 seconds

Memory Before: 7,902.250 KB
Memory After: 7,902.680 KB
Memory Used: 0.430 KB

End call of global.php: 0.053229093551636
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 = 33144
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicsystemPRIMARY   1 
1SIMPLEdbtech_livewall_settingsconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.06271 seconds
Time After: 0.06312 seconds
Time Taken: 0.00041 seconds

Memory Before: 9,543.977 KB
Memory After: 9,542.422 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.07155 seconds
Time After: 0.07240 seconds
Time Taken: 0.00086 seconds

Memory Before: 11,077.578 KB
Memory After: 11,077.406 KB
Memory Used: -0.172 KB

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

Time Before: 0.09180 seconds
Time After: 0.09188 seconds
Time Taken: 0.00008 seconds

Memory Before: 11,595.125 KB
Memory After: 11,595.602 KB
Memory Used: 0.477 KB

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

Time Before: 0.09231 seconds
Time After: 0.09242 seconds
Time Taken: 0.00011 seconds

Memory Before: 11,617.617 KB
Memory After: 11,618.102 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.09267 seconds
Time After: 0.09296 seconds
Time Taken: 0.00029 seconds

Memory Before: 11,618.352 KB
Memory After: 11,618.633 KB
Memory Used: 0.281 KB

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

Time Before: 0.09583 seconds
Time After: 0.09594 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,049.875 KB
Memory After: 12,050.359 KB
Memory Used: 0.484 KB

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

Time Before: 0.09614 seconds
Time After: 0.09623 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,050.656 KB
Memory After: 12,051.148 KB
Memory Used: 0.492 KB

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

Time Before: 0.09641 seconds
Time After: 0.09650 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,051.773 KB
Memory After: 12,052.266 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 = 33144
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 6
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const9Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.09817 seconds
Time After: 0.09893 seconds
Time Taken: 0.00077 seconds

Memory Before: 12,125.406 KB
Memory After: 12,125.242 KB
Memory Used: -0.164 KB

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

Time Before: 0.10259 seconds
Time After: 0.10269 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,141.492 KB
Memory After: 12,141.813 KB
Memory Used: 0.320 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 = 33144
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const8Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.profilevisitor.visitorid1 

Time Before: 0.10296 seconds
Time After: 0.10316 seconds
Time Taken: 0.00020 seconds

Memory Before: 12,142.820 KB
Memory After: 12,142.984 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 = 33144
	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.10423 seconds
Time After: 0.10442 seconds
Time Taken: 0.00019 seconds

Memory Before: 12,162.539 KB
Memory After: 12,162.531 KB
Memory Used: -0.008 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
	visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
	
	
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
	
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE visitormessage.userid = 33144
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const2Using where
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.10777 seconds
Time After: 0.10805 seconds
Time Taken: 0.00028 seconds

Memory Before: 12,694.797 KB
Memory After: 12,694.492 KB
Memory Used: -0.305 KB

SQL Query
SELECT FOUND_ROWS()
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       No tables used

Time Before: 0.10818 seconds
Time After: 0.10821 seconds
Time Taken: 0.00003 seconds

Memory Before: 12,692.070 KB
Memory After: 12,692.656 KB
Memory Used: 0.586 KB

SQL Query
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM visitormessage AS visitormessage

WHERE visitormessage.userid = 33144
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefpostuserid,useriduserid4const2Using where

Time Before: 0.11734 seconds
Time After: 0.11746 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,986.477 KB
Memory After: 12,986.766 KB
Memory Used: 0.289 KB

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

Time Before: 0.11848 seconds
Time After: 0.11857 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,752.984 KB
Memory After: 12,753.453 KB
Memory Used: 0.469 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 = 33144
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 7
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,userid,relationidPRIMARY4const9Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 

Time Before: 0.12396 seconds
Time After: 0.12465 seconds
Time Taken: 0.00069 seconds

Memory Before: 12,776.469 KB
Memory After: 12,776.289 KB
Memory Used: -0.180 KB

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

Time Before: 0.12956 seconds
Time After: 0.12965 seconds
Time Taken: 0.00009 seconds

Memory Before: 13,013.641 KB
Memory After: 13,014.078 KB
Memory Used: 0.438 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 <= 1531868689 AND stream.userid IN (33144,1,20,20216,25257,28772,31673,33451)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstreamrangedateline,useriduserid8 42Using where; Using filesort
1SIMPLEtypeeq_refPRIMARYPRIMARY4douglasr_bleachforuns.stream.typeid1 

Time Before: 0.13000 seconds
Time After: 0.13034 seconds
Time Taken: 0.00034 seconds

Memory Before: 13,022.547 KB
Memory After: 13,022.781 KB
Memory Used: 0.234 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 (136764,136762,136759,136756,136752,136750,136746,136743,136733,136730,136728,136726,136725,136722,136720,136425,136418,136377,136372,136352,136176,136175,136172,136115,136113,136105,136099)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 27Using where
1SIMPLEteq_refPRIMARYPRIMARY4douglasr_bleachforuns.p.threadid1Using where
1SIMPLEfpeq_refPRIMARYPRIMARY4douglasr_bleachforuns.t.firstpostid1 

Time Before: 0.13193 seconds
Time After: 0.13239 seconds
Time Taken: 0.00046 seconds

Memory Before: 13,237.648 KB
Memory After: 13,237.328 KB
Memory Used: -0.320 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,1,8)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEurangePRIMARYPRIMARY4 4Using where
1SIMPLEaveq_refPRIMARYPRIMARY2douglasr_bleachforuns.u.avatarid1 
1SIMPLEcueq_refPRIMARYPRIMARY4douglasr_bleachforuns.u.userid1 

Time Before: 0.13309 seconds
Time After: 0.13346 seconds
Time Taken: 0.00036 seconds

Memory Before: 13,309.844 KB
Memory After: 13,309.953 KB
Memory Used: 0.109 KB

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

Time Before: 0.14898 seconds
Time After: 0.14922 seconds
Time Taken: 0.00024 seconds

Memory Before: 13,248.273 KB
Memory After: 13,248.781 KB
Memory Used: 0.508 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.14958 seconds
Time After: 0.14975 seconds
Time Taken: 0.00017 seconds

Memory Before: 13,248.180 KB
Memory After: 13,248.656 KB
Memory Used: 0.477 KB

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

Time Before: 0.15172 seconds
Time After: 0.15182 seconds
Time Taken: 0.00010 seconds

Memory Before: 13,378.547 KB
Memory After: 13,379.039 KB
Memory Used: 0.492 KB

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

Time Before: 0.15201 seconds
Time After: 0.15211 seconds
Time Taken: 0.00010 seconds

Memory Before: 13,379.289 KB
Memory After: 13,379.781 KB
Memory Used: 0.492 KB

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

Time Before: 0.15230 seconds
Time After: 0.15238 seconds
Time Taken: 0.00009 seconds

Memory Before: 13,379.469 KB
Memory After: 13,379.961 KB
Memory Used: 0.492 KB

SQL Query
UPDATE session
SET lastactivity = 1531868689, location = 'member.php?u=33144', badlocation = 0
WHERE sessionhash = '5fcbb2e37912b822e8c7157ba5df3d59'

Time Before: 0.15492 seconds
Time After: 0.15501 seconds
Time Taken: 0.00009 seconds

Memory Before: 13,861.531 KB
Memory After: 13,861.766 KB
Memory Used: 0.234 KB

Page generated in 0.15400409698486 seconds with 34 queries, spending 0.0086855888366699 doing MySQL queries and 0.14531850814819 doing PHP things.
Shutdown Queries:
DISABLED