Including Functions.php

Time Before: 0.00368 seconds
Time After: 0.00878 seconds
Time Taken: 0.00509 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.00882 seconds
Time After: 0.01064 seconds
Time Taken: 0.00181 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.01073 seconds
Time After: 0.01087 seconds
Time Taken: 0.00014 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.01129 seconds
Time After: 0.01175 seconds
Time Taken: 0.00046 seconds

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

Time Before: 0.01089 seconds
Time After: 0.01339 seconds
Time Taken: 0.00250 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    2865Using where

Time Before: 0.01394 seconds
Time After: 0.01460 seconds
Time Taken: 0.00066 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.01502 seconds
Time After: 0.01551 seconds
Time Taken: 0.00049 seconds

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

Time Before: 0.01362 seconds
Time After: 0.01560 seconds
Time Taken: 0.00198 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.01823 seconds
Time After: 0.01846 seconds
Time Taken: 0.00023 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.01979 seconds
Time After: 0.02065 seconds
Time Taken: 0.00087 seconds

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

End call of global.php: 0.021464109420776
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 = 1397
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.02631 seconds
Time After: 0.02671 seconds
Time Taken: 0.00039 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 = 1397
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03303 seconds
Time After: 0.03315 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,968.148 KB
Memory After: 3,968.453 KB
Memory Used: 0.305 KB

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

Time Before: 0.03338 seconds
Time After: 0.03349 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,976.508 KB
Memory After: 3,976.578 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.03384 seconds
Time After: 0.03427 seconds
Time Taken: 0.00043 seconds

Memory Before: 3,976.961 KB
Memory After: 3,976.953 KB
Memory Used: -0.008 KB

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

Time Before: 0.03444 seconds
Time After: 0.03467 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,994.383 KB
Memory After: 3,994.383 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 = 1397
	 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.03498 seconds
Time After: 0.03536 seconds
Time Taken: 0.00039 seconds

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

Time Before: 0.03575 seconds
Time After: 0.03596 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,998.172 KB
Memory After: 3,997.977 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 = 1397
	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.03891 seconds
Time After: 0.03922 seconds
Time Taken: 0.00031 seconds

Memory Before: 4,332.883 KB
Memory After: 4,332.313 KB
Memory Used: -0.570 KB

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

Time Before: 0.03937 seconds
Time After: 0.03946 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,330.750 KB
Memory After: 4,331.117 KB
Memory Used: 0.367 KB

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

WHERE visitormessage.userid = 1397
	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.03975 seconds
Time After: 0.03993 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,337.227 KB
Memory After: 4,337.219 KB
Memory Used: -0.008 KB

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

Time Before: 0.04057 seconds
Time After: 0.04073 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,346.750 KB
Memory After: 4,347.055 KB
Memory Used: 0.305 KB

SQL Query
UPDATE session
SET lastactivity = 1634968067, location = '/member.php?u=1397&explain=1', incalendar = 0
WHERE sessionhash = '76231ca16e197fac283dadb15deffd94'

Time Before: 0.04247 seconds
Time After: 0.04268 seconds
Time Taken: 0.00020 seconds

Memory Before: 4,519.734 KB
Memory After: 4,519.609 KB
Memory Used: -0.125 KB

Page generated in 0.042191982269287 seconds with 18 queries, spending 0.0074934959411621 doing MySQL queries and 0.034698486328125 doing PHP things.
Shutdown Queries:
DISABLED