Including Functions.php

Time Before: 0.00061 seconds
Time After: 0.00065 seconds
Time Taken: 0.00004 seconds

Memory Before: 419.781 KB
Memory After: 421.617 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00071 seconds
Time After: 0.00249 seconds
Time Taken: 0.00178 seconds

Memory Before: 421.602 KB
Memory After: 422.172 KB
Memory Used: 0.570 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00260 seconds
Time After: 0.00274 seconds
Time Taken: 0.00015 seconds

Memory Before: 422.219 KB
Memory After: 422.273 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   32Using where

Time Before: 0.00323 seconds
Time After: 0.00390 seconds
Time Taken: 0.00067 seconds

Memory Before: 423.750 KB
Memory After: 423.617 KB
Memory Used: -0.133 KB

Time Before: 0.00276 seconds
Time After: 0.00556 seconds
Time Taken: 0.00279 seconds

Memory Before: 422.063 KB
Memory After: 574.430 KB
Memory Used: 152.367 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.173.214.227'
	AND idhash = 'aceb955a70ca06ed43827ad01fd9b82e'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    482Using where

Time Before: 0.00595 seconds
Time After: 0.00628 seconds
Time Taken: 0.00033 seconds

Memory Before: 578.695 KB
Memory After: 578.875 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.00684 seconds
Time After: 0.00742 seconds
Time Taken: 0.00058 seconds

Memory Before: 585.984 KB
Memory After: 586.164 KB
Memory Used: 0.180 KB

Time Before: 0.00562 seconds
Time After: 0.00757 seconds
Time Taken: 0.00195 seconds

Memory Before: 576.250 KB
Memory After: 696.625 KB
Memory Used: 120.375 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.01016 seconds
Time After: 0.01039 seconds
Time Taken: 0.00024 seconds

Memory Before: 839.750 KB
Memory After: 840.055 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.01168 seconds
Time After: 0.01257 seconds
Time Taken: 0.00089 seconds

Memory Before: 990.367 KB
Memory After: 990.109 KB
Memory Used: -0.258 KB

End call of global.php: 0.013803005218506
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 = 2454
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01452 seconds
Time After: 0.01498 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,169.148 KB
Memory After: 1,170.328 KB
Memory Used: 1.180 KB

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

Time Before: 0.01608 seconds
Time After: 0.01625 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,217.117 KB
Memory After: 1,217.422 KB
Memory Used: 0.305 KB

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

Time Before: 0.01655 seconds
Time After: 0.01672 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,226.727 KB
Memory After: 1,226.797 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.01704 seconds
Time After: 0.01746 seconds
Time Taken: 0.00042 seconds

Memory Before: 1,227.180 KB
Memory After: 1,227.172 KB
Memory Used: -0.008 KB

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

Time Before: 0.01770 seconds
Time After: 0.01798 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,242.688 KB
Memory After: 1,242.688 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 = 2454
	 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.01831 seconds
Time After: 0.01868 seconds
Time Taken: 0.00037 seconds

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

Time Before: 0.01920 seconds
Time After: 0.01944 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,245.883 KB
Memory After: 1,245.688 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 = 2454
	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.02008 seconds
Time After: 0.02042 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,251.523 KB
Memory After: 1,250.953 KB
Memory Used: -0.570 KB

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

Time Before: 0.02060 seconds
Time After: 0.02074 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,249.391 KB
Memory After: 1,249.758 KB
Memory Used: 0.367 KB

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

WHERE visitormessage.userid = 2454
	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.02106 seconds
Time After: 0.02124 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,256.234 KB
Memory After: 1,256.227 KB
Memory Used: -0.008 KB

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

Time Before: 0.02174 seconds
Time After: 0.02191 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,260.820 KB
Memory After: 1,261.125 KB
Memory Used: 0.305 KB

SQL Query
UPDATE session
SET lastactivity = 1642893370, location = '/member.php?u=2454&explain=1'
WHERE sessionhash = '9e5fae84995df6aaa70a2814a755acb3'

Time Before: 0.02372 seconds
Time After: 0.02393 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,386.664 KB
Memory After: 1,386.602 KB
Memory Used: -0.063 KB

Page generated in 0.02347207069397 seconds with 18 queries, spending 0.0077893733978271 doing MySQL queries and 0.015682697296143 doing PHP things.
Shutdown Queries:
DISABLED