Including Functions.php

Time Before: 0.00076 seconds
Time After: 0.00080 seconds
Time Taken: 0.00004 seconds

Memory Before: 407.063 KB
Memory After: 408.898 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00086 seconds
Time After: 0.00174 seconds
Time Taken: 0.00087 seconds

Memory Before: 408.883 KB
Memory After: 409.773 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00193 seconds
Time After: 0.00210 seconds
Time Taken: 0.00017 seconds

Memory Before: 409.820 KB
Memory After: 409.875 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00216 seconds
Time After: 0.00322 seconds
Time Taken: 0.00106 seconds

Memory Before: 409.664 KB
Memory After: 534.609 KB
Memory Used: 124.945 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE sessionhash = 'e0a9a3e2150a536499af3a3a589e4312'
	AND lastactivity > 1716238024
	AND idhash = 'e3439442e829923be195fa3d165b7f1f'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionconstPRIMARYPRIMARY96const1 

Time Before: 0.00420 seconds
Time After: 0.00450 seconds
Time Taken: 0.00030 seconds

Memory Before: 541.820 KB
Memory After: 558.391 KB
Memory Used: 16.570 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 vb_language
WHERE languageid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languageconstPRIMARYPRIMARY2const1 

Time Before: 0.00554 seconds
Time After: 0.00640 seconds
Time Taken: 0.00087 seconds

Memory Before: 547.961 KB
Memory After: 820.820 KB
Memory Used: 272.859 KB

Time Before: 0.00345 seconds
Time After: 0.00656 seconds
Time Taken: 0.00311 seconds

Memory Before: 539.344 KB
Memory After: 685.688 KB
Memory Used: 146.344 KB

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

Time Before: 0.00855 seconds
Time After: 0.00891 seconds
Time Taken: 0.00036 seconds

Memory Before: 804.172 KB
Memory After: 884.680 KB
Memory Used: 80.508 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (1367,1388,1356,1357,1359,1366,1365,1261,1263,1265,1267,1301,1300,1302,1303,1538,1536,1691,1697,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1382,1380,1381,1379,1383,1387,1389,1390,1399,1393,1394,1395,1396,1398,1368,1386,1391,1400,1402,1401,1397,1569,1588,1733,1728,1734,1236,1235,1237,1232,1231,1509,1460,1461,1462,1463,1729,1732,1741,1482,1483,1484,1485,1683,1746,1745,1747,1750)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 77Using where

Time Before: 0.01042 seconds
Time After: 0.01170 seconds
Time Taken: 0.00128 seconds

Memory Before: 926.727 KB
Memory After: 1,086.281 KB
Memory Used: 159.555 KB

End call of global.php: 0.013801097869873
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, 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 vb_user AS user
LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vb_avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN vb_customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN vb_sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN vb_usercsscache AS usercsscache ON (user.userid = usercsscache.userid)

WHERE user.userid = 1
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.01502 seconds
Time After: 0.01583 seconds
Time Taken: 0.00081 seconds

Memory Before: 1,098.383 KB
Memory After: 1,149.695 KB
Memory Used: 51.313 KB

SQL Query
SELECT blockid, requirement
FROM vb_profileblockprivacy
WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_profileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.01684 seconds
Time After: 0.01714 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,149.898 KB
Memory After: 1,166.094 KB
Memory Used: 16.195 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM vb_profilefield AS pf
LEFT JOIN vb_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    5Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY2vbtorrents.pf.profilefieldcategoryid1 

Time Before: 0.01771 seconds
Time After: 0.01937 seconds
Time Taken: 0.00166 seconds

Memory Before: 1,150.477 KB
Memory After: 1,168.031 KB
Memory Used: 17.555 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM vb_userlist AS userlist
INNER JOIN vb_user AS user ON (user.userid = userlist.relationid)
LEFT JOIN vb_avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN vb_customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbtorrents.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbtorrents.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbtorrents.userlist.relationid1 

Time Before: 0.02087 seconds
Time After: 0.02251 seconds
Time Taken: 0.00164 seconds

Memory Before: 1,162.180 KB
Memory After: 1,193.602 KB
Memory Used: 31.422 KB

SQL Query
UPDATE vb_user SET
	profilevisits = profilevisits + 1
WHERE userid = 1

Time Before: 0.02278 seconds
Time After: 0.02449 seconds
Time Taken: 0.00171 seconds

Memory Before: 1,163.055 KB
Memory After: 1,163.102 KB
Memory Used: 0.047 KB

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

WHERE profilevisitor.userid = 1
	 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_refPRIMARYPRIMARY4vbtorrents.profilevisitor.visitorid1 

Time Before: 0.02516 seconds
Time After: 0.02575 seconds
Time Taken: 0.00060 seconds

Memory Before: 1,163.805 KB
Memory After: 1,179.797 KB
Memory Used: 15.992 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 vb_socialgroupmember AS socialgroupmember
INNER JOIN vb_socialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN vb_socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 1
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY4vbtorrents.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY4vbtorrents.socialgroupmember.groupid1 

Time Before: 0.02657 seconds
Time After: 0.02769 seconds
Time Taken: 0.00112 seconds

Memory Before: 1,166.625 KB
Memory After: 1,182.180 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 vb_visitormessage AS visitormessage
LEFT JOIN vb_user AS user ON (visitormessage.postuserid = user.userid)

LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE visitormessage.userid = 1
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const1Using where
1SIMPLEusereq_refPRIMARYPRIMARY4vbtorrents.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbtorrents.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbtorrents.user.userid1Using where

Time Before: 0.02881 seconds
Time After: 0.02984 seconds
Time Taken: 0.00103 seconds

Memory Before: 1,169.875 KB
Memory After: 1,201.461 KB
Memory Used: 31.586 KB

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

Time Before: 0.03042 seconds
Time After: 0.03059 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,199.898 KB
Memory After: 1,216.336 KB
Memory Used: 16.438 KB

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

WHERE visitormessage.userid = 1
	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.03130 seconds
Time After: 0.03189 seconds
Time Taken: 0.00059 seconds

Memory Before: 1,206.555 KB
Memory After: 1,222.594 KB
Memory Used: 16.039 KB

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

Time Before: 0.03252 seconds
Time After: 0.03352 seconds
Time Taken: 0.00100 seconds

Memory Before: 1,179.016 KB
Memory After: 1,195.352 KB
Memory Used: 16.336 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM vb_userlist AS userlist
INNER JOIN vb_user AS user ON (user.userid = userlist.relationid)
LEFT JOIN vb_avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN vb_customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbtorrents.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbtorrents.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbtorrents.userlist.relationid1 

Time Before: 0.03590 seconds
Time After: 0.03753 seconds
Time Taken: 0.00163 seconds

Memory Before: 1,186.750 KB
Memory After: 1,218.422 KB
Memory Used: 31.672 KB

SQL Query
UPDATE vb_session
SET location = '/member.php?explain=1&u=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = 'e0a9a3e2150a536499af3a3a589e4312'

Time Before: 0.04065 seconds
Time After: 0.04099 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,312.836 KB
Memory After: 1,312.570 KB
Memory Used: -0.266 KB

Page generated in 0.040255069732666 seconds with 18 queries, spending 0.016463041305542 doing MySQL queries and 0.023792028427124 doing PHP things.
Shutdown Queries:
DISABLED