Including Functions.php

Time Before: 0.00681 seconds
Time After: 0.01193 seconds
Time Taken: 0.00513 seconds

Memory Before: 1,143.891 KB
Memory After: 1,886.133 KB
Memory Used: 742.242 KB

Connect to Database on Server: localhost

Time Before: 0.01198 seconds
Time After: 0.02896 seconds
Time Taken: 0.01698 seconds

Memory Before: 1,886.117 KB
Memory After: 1,886.688 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.03106 seconds
Time After: 0.03121 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,886.734 KB
Memory After: 1,886.789 KB
Memory Used: 0.055 KB

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

Time Before: 0.03279 seconds
Time After: 0.03347 seconds
Time Taken: 0.00068 seconds

Memory Before: 1,888.266 KB
Memory After: 1,888.133 KB
Memory Used: -0.133 KB

Time Before: 0.03123 seconds
Time After: 0.03515 seconds
Time Taken: 0.00392 seconds

Memory Before: 1,886.578 KB
Memory After: 2,038.945 KB
Memory Used: 152.367 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '44.192.27.11'
	AND idhash = '6c0e6ba983118600570f7d53ff396742'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    371Using where

Time Before: 0.03591 seconds
Time After: 0.03697 seconds
Time Taken: 0.00106 seconds

Memory Before: 2,056.109 KB
Memory After: 2,056.289 KB
Memory Used: 0.180 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_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.03758 seconds
Time After: 0.03857 seconds
Time Taken: 0.00099 seconds

Memory Before: 2,063.398 KB
Memory After: 2,063.578 KB
Memory Used: 0.180 KB

Time Before: 0.03545 seconds
Time After: 0.03869 seconds
Time Taken: 0.00324 seconds

Memory Before: 2,055.789 KB
Memory After: 2,174.039 KB
Memory Used: 118.250 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.04152 seconds
Time After: 0.04178 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,266.266 KB
Memory After: 2,266.570 KB
Memory Used: 0.305 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (197,218,186,187,189,196,195,92,94,96,98,132,131,133,134,368,366,521,527,199,200,201,202,203,204,205,206,207,208,212,210,211,209,213,217,219,220,229,223,224,225,226,228,198,216,221,230,232,231,227,399,418,563,558,564,67,66,68,63,62,339,290,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 77Using index condition

Time Before: 0.04297 seconds
Time After: 0.04394 seconds
Time Taken: 0.00096 seconds

Memory Before: 2,416.883 KB
Memory After: 2,416.625 KB
Memory Used: -0.258 KB

End call of global.php: 0.044836044311523
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(user.displaygroupid=0, user.usergroupid, user.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 = 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEcustomprofilepicsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 

Time Before: 0.04959 seconds
Time After: 0.05000 seconds
Time Taken: 0.00040 seconds

Memory Before: 3,034.422 KB
Memory After: 3,035.602 KB
Memory Used: 1.180 KB

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

Time Before: 0.05720 seconds
Time After: 0.05734 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,961.945 KB
Memory After: 3,962.250 KB
Memory Used: 0.305 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.05760 seconds
Time After: 0.05773 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,971.555 KB
Memory After: 3,971.625 KB
Memory Used: 0.070 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    4Using where; Using filesort

Time Before: 0.05802 seconds
Time After: 0.05826 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,972.008 KB
Memory After: 3,972.000 KB
Memory Used: -0.008 KB

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

Time Before: 0.05846 seconds
Time After: 0.05870 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,989.430 KB
Memory After: 3,989.430 KB
Memory Used: 0.000 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 = 4
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4drc2.profilevisitor.visitorid1 

Time Before: 0.05906 seconds
Time After: 0.05929 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,990.180 KB
Memory After: 3,990.172 KB
Memory Used: -0.008 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 = 4
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.05969 seconds
Time After: 0.05988 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,993.219 KB
Memory After: 3,993.023 KB
Memory Used: -0.195 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 = 4
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.06347 seconds
Time After: 0.06379 seconds
Time Taken: 0.00031 seconds

Memory Before: 4,329.305 KB
Memory After: 4,328.734 KB
Memory Used: -0.570 KB

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

Time Before: 0.06397 seconds
Time After: 0.06407 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,327.672 KB
Memory After: 4,328.039 KB
Memory Used: 0.367 KB

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

WHERE visitormessage.userid = 4
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.06442 seconds
Time After: 0.06457 seconds
Time Taken: 0.00016 seconds

Memory Before: 4,334.148 KB
Memory After: 4,334.141 KB
Memory Used: -0.008 KB

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

Time Before: 0.06523 seconds
Time After: 0.06539 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,338.734 KB
Memory After: 4,339.039 KB
Memory Used: 0.305 KB

SQL Query
UPDATE session
SET lastactivity = 1618122480, location = '/member.php?u=4&explain=1', badlocation = 0
WHERE sessionhash = 'e56f61ba3b7a33587078eb9d9b9b3c12'

Time Before: 0.06719 seconds
Time After: 0.06736 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,490.008 KB
Memory After: 4,489.883 KB
Memory Used: -0.125 KB

Page generated in 0.066912889480591 seconds with 18 queries, spending 0.023585796356201 doing MySQL queries and 0.04332709312439 doing PHP things.
Shutdown Queries:
DISABLED