Including Functions.php

Time Before: 0.00046 seconds
Time After: 0.00050 seconds
Time Taken: 0.00004 seconds

Memory Before: 467.664 KB
Memory After: 469.563 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00056 seconds
Time After: 0.00166 seconds
Time Taken: 0.00109 seconds

Memory Before: 469.516 KB
Memory After: 470.281 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00194 seconds
Time After: 0.00213 seconds
Time Taken: 0.00019 seconds

Memory Before: 470.305 KB
Memory After: 470.383 KB
Memory Used: 0.078 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   29Using where

Time Before: 0.00377 seconds
Time After: 0.00449 seconds
Time Taken: 0.00072 seconds

Memory Before: 471.633 KB
Memory After: 535.750 KB
Memory Used: 64.117 KB

Time Before: 0.00217 seconds
Time After: 0.01372 seconds
Time Taken: 0.01155 seconds

Memory Before: 470.141 KB
Memory After: 649.031 KB
Memory Used: 178.891 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.217.108'
	AND idhash = '746d2c2e12532723401903d41921bd01'
ORDER BY lastactivity DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,userid_lastactivityguest_lookup314const,const,const1Using index condition; Using where; Using filesort

Time Before: 0.01594 seconds
Time After: 0.01864 seconds
Time Taken: 0.00270 seconds

Memory Before: 666.125 KB
Memory After: 682.445 KB
Memory Used: 16.320 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
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.02019 seconds
Time After: 0.02170 seconds
Time Taken: 0.00151 seconds

Memory Before: 672.391 KB
Memory After: 976.914 KB
Memory Used: 304.523 KB

Time Before: 0.01411 seconds
Time After: 0.02199 seconds
Time Taken: 0.00788 seconds

Memory Before: 651.180 KB
Memory After: 826.930 KB
Memory Used: 175.750 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.02886 seconds
Time After: 0.02951 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,012.125 KB
Memory After: 1,100.445 KB
Memory Used: 88.320 KB

End call of global.php: 0.033304929733276
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 = 157
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEusercsscacheconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.03442 seconds
Time After: 0.03553 seconds
Time Taken: 0.00111 seconds

Memory Before: 1,203.273 KB
Memory After: 1,252.773 KB
Memory Used: 49.500 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 157
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusernoterefuseriduserid4const1 

Time Before: 0.03648 seconds
Time After: 0.03672 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,247.359 KB
Memory After: 1,263.680 KB
Memory Used: 16.320 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 157
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.03737 seconds
Time After: 0.03782 seconds
Time Taken: 0.00046 seconds

Memory Before: 1,255.633 KB
Memory After: 1,271.813 KB
Memory Used: 16.180 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
1SIMPLEpfALL    4Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY2vbsupport_vb3.pf.profilefieldcategoryid1 

Time Before: 0.04160 seconds
Time After: 0.04281 seconds
Time Taken: 0.00121 seconds

Memory Before: 1,256.195 KB
Memory After: 1,272.250 KB
Memory Used: 16.055 KB

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

Time Before: 0.04365 seconds
Time After: 0.06421 seconds
Time Taken: 0.02056 seconds

Memory Before: 1,266.992 KB
Memory After: 1,267.008 KB
Memory Used: 0.016 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, profilevisitor.dateline, user.infractiongroupid
	
FROM profilevisitor AS profilevisitor
INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 157
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using index; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.profilevisitor.visitorid1 

Time Before: 0.06517 seconds
Time After: 0.06585 seconds
Time Taken: 0.00068 seconds

Memory Before: 1,267.906 KB
Memory After: 1,283.836 KB
Memory Used: 15.930 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 = 157
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4vbsupport_vb3.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4vbsupport_vb3.socialgroupmember.groupid1 

Time Before: 0.06750 seconds
Time After: 0.06818 seconds
Time Taken: 0.00068 seconds

Memory Before: 1,270.109 KB
Memory After: 1,285.664 KB
Memory Used: 15.555 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 = 157
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vb3.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where

Time Before: 0.06909 seconds
Time After: 0.07200 seconds
Time Taken: 0.00291 seconds

Memory Before: 1,274.633 KB
Memory After: 1,306.156 KB
Memory Used: 31.523 KB

SQL Query
SELECT FOUND_ROWS()

Time Before: 0.07204 seconds
Time After: 0.07308 seconds
Time Taken: 0.00104 seconds

Memory Before: 1,304.305 KB
Memory After: 1,320.672 KB
Memory Used: 16.367 KB

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

WHERE visitormessage.userid = 157
	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.07489 seconds
Time After: 0.07534 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,317.477 KB
Memory After: 1,333.422 KB
Memory Used: 15.945 KB

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

Time Before: 0.07615 seconds
Time After: 0.07660 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,283.391 KB
Memory After: 1,299.711 KB
Memory Used: 16.320 KB

SQL Query
INSERT INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, languageid, inforum, inthread, incalendar, badlocation, useragent)
VALUES
	('6e9267100d768bd013026cb0feb0c2e3', 0, '216.73.217.108', '746d2c2e12532723401903d41921bd01', 1795056771, '/member.php?explain=1&u=157', 0, 0, 0, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)')
ON DUPLICATE KEY UPDATE userid = VALUES(userid), host = VALUES(host), idhash = VALUES(idhash), lastactivity = VALUES(lastactivity), location = VALUES(location), languageid = VALUES(languageid), inforum = VALUES(inforum), inthread = VALUES(inthread), incalendar = VALUES(incalendar), badlocation = VALUES(badlocation), useragent = VALUES(useragent)

Time Before: 0.07882 seconds
Time After: 0.08049 seconds
Time Taken: 0.00166 seconds

Memory Before: 1,386.703 KB
Memory After: 1,386.828 KB
Memory Used: 0.125 KB

Page generated in 0.077474117279053 seconds with 30 queries, spending 0.038298368453979 doing MySQL queries and 0.039175748825073 doing PHP things.
Shutdown Queries:
DISABLED