Including Functions.php

Time Before: 0.00554 seconds
Time After: 0.01364 seconds
Time Taken: 0.00810 seconds

Memory Before: 1,774.320 KB
Memory After: 3,019.273 KB
Memory Used: 1,244.953 KB

Connect to Database on Server: localhost

Time Before: 0.01401 seconds
Time After: 0.01465 seconds
Time Taken: 0.00064 seconds

Memory Before: 3,019.211 KB
Memory After: 3,020.164 KB
Memory Used: 0.953 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01483 seconds
Time After: 0.01489 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,020.898 KB
Memory After: 3,021.453 KB
Memory Used: 0.555 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY152 18100.00Using index condition

Time Before: 0.01546 seconds
Time After: 0.01727 seconds
Time Taken: 0.00181 seconds

Memory Before: 3,024.727 KB
Memory After: 3,025.609 KB
Memory Used: 0.883 KB

Time Before: 0.01493 seconds
Time After: 0.02550 seconds
Time Taken: 0.01056 seconds

Memory Before: 3,020.703 KB
Memory After: 5,566.508 KB
Memory Used: 2,545.805 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '172.68.65.59'
	AND idhash = 'd68f307a5c30b13cbdd7b1320e714b44'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refguest_lookup,user_activityguest_lookup145const,const,const2100.00 

Time Before: 0.02936 seconds
Time After: 0.02959 seconds
Time Taken: 0.00023 seconds

Memory Before: 6,163.250 KB
Memory After: 6,163.719 KB
Memory Used: 0.469 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 = 8
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.03090 seconds
Time After: 0.03193 seconds
Time Taken: 0.00103 seconds

Memory Before: 6,178.758 KB
Memory After: 6,178.453 KB
Memory Used: -0.305 KB

Time Before: 0.02858 seconds
Time After: 0.03225 seconds
Time Taken: 0.00367 seconds

Memory Before: 6,155.586 KB
Memory After: 6,392.914 KB
Memory Used: 237.328 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 7 AND userselect = 1)
	OR styleid = 7
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.04155 seconds
Time After: 0.04193 seconds
Time Taken: 0.00039 seconds

Memory Before: 7,205.852 KB
Memory After: 7,206.445 KB
Memory Used: 0.594 KB

End call of global.php: 0.04394793510437
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
	
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)

WHERE user.userid = 14597 LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEusercsscache systemPRIMARY   00.00const row not found
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEcustomprofilepic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.05483 seconds
Time After: 0.05538 seconds
Time Taken: 0.00055 seconds

Memory Before: 8,774.922 KB
Memory After: 8,775.031 KB
Memory Used: 0.109 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (7873,11498,11459,11460,11462,11468,11467,11294,11295,11296,10889,10890,11297,11043,11044,11298,11303,11299,11300,11301,11304,11305,11306,11307,11308,11359,11361,11363,11365,7955,10995,11415,11414,11417,11418,11421,11422,11664,11834,11840,11473,11471,11474,11476,11475,11477,11478,11479,11480,11481,11482,11483,11488,11485,11487,11484,11486,11497,11499,11500,11509,11491,11502,11503,11504,11505,11507,11470,11496,11501,11510,11506,11512,11511,11508,11588,11923,11933,11874,11944,0,0,5728,5722,8390,5355,5727,5725,5361,5729,5730,5731,11630,11926,11576,11580,11577,11578,11579,11942,0,0,11905,11907,11600,11601,11603,11604,11827,11869,11868,11918,11870,11427,11426,11430)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 113100.00Using index condition

Time Before: 0.06353 seconds
Time After: 0.06468 seconds
Time Taken: 0.00115 seconds

Memory Before: 10,227.859 KB
Memory After: 10,230.367 KB
Memory Used: 2.508 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 14597
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEusernote refuseriduserid4const1100.00 

Time Before: 0.06860 seconds
Time After: 0.06873 seconds
Time Taken: 0.00014 seconds

Memory Before: 10,510.508 KB
Memory After: 10,511.031 KB
Memory Used: 0.523 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 14597
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofileblockprivacy refPRIMARYPRIMARY4const1100.00 

Time Before: 0.06927 seconds
Time After: 0.06946 seconds
Time Taken: 0.00019 seconds

Memory Before: 10,531.617 KB
Memory After: 10,532.125 KB
Memory Used: 0.508 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpfc systemPRIMARY   00.00const row not found
1SIMPLEpf ALL    812.50Using where; Using filesort

Time Before: 0.06981 seconds
Time After: 0.07005 seconds
Time Taken: 0.00024 seconds

Memory Before: 10,532.359 KB
Memory After: 10,534.063 KB
Memory Used: 1.703 KB

SQL Query
SELECT * FROM customprofile WHERE userid='14597'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.07326 seconds
Time After: 0.07342 seconds
Time Taken: 0.00016 seconds

Memory Before: 10,957.109 KB
Memory After: 10,957.633 KB
Memory Used: 0.523 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.07384 seconds
Time After: 0.07398 seconds
Time Taken: 0.00014 seconds

Memory Before: 10,957.930 KB
Memory After: 10,958.445 KB
Memory Used: 0.516 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.07436 seconds
Time After: 0.07453 seconds
Time Taken: 0.00016 seconds

Memory Before: 10,959.047 KB
Memory After: 10,959.563 KB
Memory Used: 0.516 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 = 14597
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEuserlist refPRIMARY,userid,relationidPRIMARY4const112.50Using index condition; Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.userlist.relationid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4whitefor_b1.userlist.relationid1100.00 

Time Before: 0.07591 seconds
Time After: 0.07672 seconds
Time Taken: 0.00081 seconds

Memory Before: 10,972.563 KB
Memory After: 10,973.156 KB
Memory Used: 0.594 KB

SQL Query
SELECT album.*,
	a.attachmentid, album.moderation,
	fd.thumbnail_dateline, fd.thumbnail_width, fd.thumbnail_height, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail
	
FROM album AS album
LEFT JOIN attachment AS a ON (album.coverattachmentid = a.attachmentid)
LEFT JOIN filedata AS fd ON (fd.filedataid = a.filedataid)

WHERE
	album.userid = 14597
		AND
	album.state IN ('public')
	AND album.visible > 0
	
ORDER BY album.lastpicturedate DESC
LIMIT 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEalbum refuseriduserid4const111.11Using where
1SIMPLEa eq_refPRIMARYPRIMARY4whitefor_b1.album.coverattachmentid1100.00 
1SIMPLEfd eq_refPRIMARYPRIMARY4whitefor_b1.a.filedataid1100.00 

Time Before: 0.07865 seconds
Time After: 0.07884 seconds
Time Taken: 0.00018 seconds

Memory Before: 11,029.422 KB
Memory After: 11,029.531 KB
Memory Used: 0.109 KB

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

Time Before: 0.07895 seconds
Time After: 0.07913 seconds
Time Taken: 0.00018 seconds

Memory Before: 11,029.500 KB
Memory After: 11,029.820 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 = 14597
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const1410.08Using index condition; Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.profilevisitor.visitorid1100.00 

Time Before: 0.07952 seconds
Time After: 0.07981 seconds
Time Taken: 0.00029 seconds

Memory Before: 11,030.914 KB
Memory After: 11,031.563 KB
Memory Used: 0.648 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 = 14597
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsocialgroupmember refPRIMARY,groupid,useriduserid5const,const1100.00Using temporary; Using filesort
1SIMPLEsocialgroup eq_refPRIMARYPRIMARY4whitefor_b1.socialgroupmember.groupid1100.00 
1SIMPLEsgicon eq_refPRIMARYPRIMARY4whitefor_b1.socialgroupmember.groupid1100.00 

Time Before: 0.08078 seconds
Time After: 0.08108 seconds
Time Taken: 0.00031 seconds

Memory Before: 11,055.023 KB
Memory After: 11,055.047 KB
Memory Used: 0.023 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 = 14597
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEvisitormessage refuseriduserid4const133.33Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.visitormessage.postuserid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4whitefor_b1.user.userid1100.00 

Time Before: 0.08505 seconds
Time After: 0.08534 seconds
Time Taken: 0.00029 seconds

Memory Before: 11,532.016 KB
Memory After: 11,531.742 KB
Memory Used: -0.273 KB

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

Time Before: 0.08558 seconds
Time After: 0.08563 seconds
Time Taken: 0.00006 seconds

Memory Before: 11,529.273 KB
Memory After: 11,529.914 KB
Memory Used: 0.641 KB

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

WHERE visitormessage.userid = 14597
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvisitormessage refpostuserid,useriduserid4const133.40Using index condition; Using where

Time Before: 0.08626 seconds
Time After: 0.08641 seconds
Time Taken: 0.00015 seconds

Memory Before: 11,591.555 KB
Memory After: 11,591.906 KB
Memory Used: 0.352 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 14597
	AND usergroupid NOT IN (3,4)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusergroupid,referreridreferrerid4const193.29Using where

Time Before: 0.08687 seconds
Time After: 0.08700 seconds
Time Taken: 0.00013 seconds

Memory Before: 11,556.023 KB
Memory After: 11,556.547 KB
Memory Used: 0.523 KB

SQL Query
SELECT COUNT(*) AS albumcount, SUM(album.visible) AS picturecount
FROM album AS album
WHERE album.userid = 14597
	AND album.state IN ('public')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEalbum refuseriduserid4const133.33Using where

Time Before: 0.08734 seconds
Time After: 0.08749 seconds
Time Taken: 0.00015 seconds

Memory Before: 11,564.719 KB
Memory After: 11,565.180 KB
Memory Used: 0.461 KB


Warning: Invalid argument supplied for foreach() in /home/whiteforum/public_html/includes/functions.php on line 1963
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 = 14597
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEuserlist refPRIMARY,userid,relationidPRIMARY4const112.50Using index condition; Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4whitefor_b1.userlist.relationid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4whitefor_b1.userlist.relationid1100.00 

Time Before: 0.08967 seconds
Time After: 0.09047 seconds
Time Taken: 0.00080 seconds

Memory Before: 11,579.320 KB
Memory After: 11,579.898 KB
Memory Used: 0.578 KB

SQL Query
SELECT relationid
FROM userlist
WHERE
	userid IN (14597)
		AND
	type = 'buddy'
		AND
	friend = 'yes'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuserlist refPRIMARYPRIMARY4const112.50Using index condition; Using where

Time Before: 0.09296 seconds
Time After: 0.09309 seconds
Time Taken: 0.00013 seconds

Memory Before: 11,759.641 KB
Memory After: 11,760.141 KB
Memory Used: 0.500 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 <= 1582332878 AND stream.userid IN (14597,4005)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstream rangedateline,useriduserid8 7100.00Using index condition; Using filesort
1SIMPLEtype eq_refPRIMARYPRIMARY4whitefor_b1.stream.typeid1100.00 

Time Before: 0.09349 seconds
Time After: 0.09372 seconds
Time Taken: 0.00024 seconds

Memory Before: 11,767.539 KB
Memory After: 11,768.195 KB
Memory Used: 0.656 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, t.prefixid AS t_prefixid,
	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 (1040450,1040446,1040445,1040444)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEp rangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 490.00Using index condition; Using where
1SIMPLEt eq_refPRIMARYPRIMARY4whitefor_b1.p.threadid190.00Using where
1SIMPLEfp eq_refPRIMARYPRIMARY4whitefor_b1.t.firstpostid1100.00 

Time Before: 0.09537 seconds
Time After: 0.09570 seconds
Time Taken: 0.00033 seconds

Memory Before: 11,941.680 KB
Memory After: 11,942.195 KB
Memory Used: 0.516 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 (14597,4775,1664,13030)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu rangePRIMARYPRIMARY4 4100.00Using index condition
1SIMPLEcu eq_refPRIMARYPRIMARY4whitefor_b1.u.userid1100.00 

Time Before: 0.09648 seconds
Time After: 0.09681 seconds
Time Taken: 0.00033 seconds

Memory Before: 11,961.836 KB
Memory After: 11,964.813 KB
Memory Used: 2.977 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.10430 seconds
Time After: 0.10448 seconds
Time Taken: 0.00018 seconds

Memory Before: 12,363.445 KB
Memory After: 12,363.961 KB
Memory Used: 0.516 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.10490 seconds
Time After: 0.10504 seconds
Time Taken: 0.00014 seconds

Memory Before: 12,364.219 KB
Memory After: 12,364.734 KB
Memory Used: 0.516 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcustomprofile refuseriduserid4const1100.00 

Time Before: 0.10545 seconds
Time After: 0.10559 seconds
Time Taken: 0.00014 seconds

Memory Before: 12,364.398 KB
Memory After: 12,364.914 KB
Memory Used: 0.516 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate, apiclientid, apiaccesstoken)
VALUES
	('e99726283d5f6ffca6b53bf9e45c62ca', 0, '172.68.65.59', 'd68f307a5c30b13cbdd7b1320e714b44', 1582332878, 'member.php?u=14597', 0, 0, 0, 0, 0, 0, 0, 'CCBot/2.0 (https://commoncrawl.org/faq/)', 0, 0, 0, '')

Time Before: 0.10899 seconds
Time After: 0.10916 seconds
Time Taken: 0.00017 seconds

Memory Before: 12,760.141 KB
Memory After: 12,760.094 KB
Memory Used: -0.047 KB

Page generated in 0.10714602470398 seconds with 32 queries, spending 0.011897325515747 doing MySQL queries and 0.095248699188232 doing PHP things.
Shutdown Queries:
DISABLED