Including Functions.php

Time Before: 0.00369 seconds
Time After: 0.00872 seconds
Time Taken: 0.00503 seconds

Memory Before: 1,144.023 KB
Memory After: 1,886.266 KB
Memory Used: 742.242 KB

Connect to Database on Server: localhost

Time Before: 0.00876 seconds
Time After: 0.01063 seconds
Time Taken: 0.00186 seconds

Memory Before: 1,886.250 KB
Memory After: 1,886.820 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01072 seconds
Time After: 0.01090 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,886.867 KB
Memory After: 1,886.922 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.01142 seconds
Time After: 0.01207 seconds
Time Taken: 0.00065 seconds

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

Time Before: 0.01092 seconds
Time After: 0.01370 seconds
Time Taken: 0.00278 seconds

Memory Before: 1,886.711 KB
Memory After: 2,039.078 KB
Memory Used: 152.367 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.236.239.91'
	AND idhash = '018119e073143c3ab84a113f5d695a62'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    2785Using where

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

Memory Before: 2,056.242 KB
Memory After: 2,056.422 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.01537 seconds
Time After: 0.01588 seconds
Time Taken: 0.00051 seconds

Memory Before: 2,063.531 KB
Memory After: 2,063.711 KB
Memory Used: 0.180 KB

Time Before: 0.01394 seconds
Time After: 0.01596 seconds
Time Taken: 0.00203 seconds

Memory Before: 2,055.922 KB
Memory After: 2,174.172 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.01858 seconds
Time After: 0.01886 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,266.398 KB
Memory After: 2,266.703 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.02021 seconds
Time After: 0.02113 seconds
Time Taken: 0.00092 seconds

Memory Before: 2,417.016 KB
Memory After: 2,416.758 KB
Memory Used: -0.258 KB

End call of global.php: 0.02190089225769
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 = 2586
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.02666 seconds
Time After: 0.02707 seconds
Time Taken: 0.00041 seconds

Memory Before: 3,034.555 KB
Memory After: 3,035.734 KB
Memory Used: 1.180 KB

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

Time Before: 0.03310 seconds
Time After: 0.03325 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,962.109 KB
Memory After: 3,962.414 KB
Memory Used: 0.305 KB

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

Time Before: 0.03349 seconds
Time After: 0.03362 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,971.719 KB
Memory After: 3,971.789 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.03394 seconds
Time After: 0.03435 seconds
Time Taken: 0.00041 seconds

Memory Before: 3,972.172 KB
Memory After: 3,972.164 KB
Memory Used: -0.008 KB

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

Time Before: 0.03453 seconds
Time After: 0.03480 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,989.594 KB
Memory After: 3,989.594 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 = 2586
	 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.03514 seconds
Time After: 0.03553 seconds
Time Taken: 0.00039 seconds

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

Time Before: 0.03593 seconds
Time After: 0.03612 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,993.383 KB
Memory After: 3,993.188 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 = 2586
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4drc2.visitormessage.postuserid1 

Time Before: 0.03907 seconds
Time After: 0.03941 seconds
Time Taken: 0.00033 seconds

Memory Before: 4,329.969 KB
Memory After: 4,329.398 KB
Memory Used: -0.570 KB

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

Time Before: 0.03957 seconds
Time After: 0.03968 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,327.836 KB
Memory After: 4,328.203 KB
Memory Used: 0.367 KB

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

WHERE visitormessage.userid = 2586
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefpostuserid,useriduserid4const1Using index condition; Using where

Time Before: 0.03997 seconds
Time After: 0.04017 seconds
Time Taken: 0.00020 seconds

Memory Before: 4,334.313 KB
Memory After: 4,334.305 KB
Memory Used: -0.008 KB

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

Time Before: 0.04066 seconds
Time After: 0.04083 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,338.898 KB
Memory After: 4,339.203 KB
Memory Used: 0.305 KB

SQL Query
UPDATE session
SET lastactivity = 1634965660, location = '/member.php?u=2586&explain=1', inforum = 0, inthread = 0
WHERE sessionhash = '76231ca16e197fac283dadb15deffd94'

Time Before: 0.04235 seconds
Time After: 0.04259 seconds
Time Taken: 0.00024 seconds

Memory Before: 4,490.203 KB
Memory After: 4,490.078 KB
Memory Used: -0.125 KB

Page generated in 0.042112112045288 seconds with 18 queries, spending 0.0080568790435791 doing MySQL queries and 0.034055233001709 doing PHP things.
Shutdown Queries:
DISABLED