Including Functions.php

Time Before: 0.00030 seconds
Time After: 0.00033 seconds
Time Taken: 0.00004 seconds

Memory Before: 407.375 KB
Memory After: 409.211 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00038 seconds
Time After: 0.00112 seconds
Time Taken: 0.00074 seconds

Memory Before: 409.195 KB
Memory After: 410.086 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00129 seconds
Time After: 0.00141 seconds
Time Taken: 0.00012 seconds

Memory Before: 410.133 KB
Memory After: 410.188 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00143 seconds
Time After: 0.00217 seconds
Time Taken: 0.00074 seconds

Memory Before: 409.977 KB
Memory After: 534.922 KB
Memory Used: 124.945 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE sessionhash = 'acb61a0f857021c572b8e37ad39dcce4'
	AND lastactivity > 1716236187
	AND idhash = 'fa7f55119420771eade62c1517fd4d6e'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionconstPRIMARYPRIMARY96const1 

Time Before: 0.00303 seconds
Time After: 0.00332 seconds
Time Taken: 0.00029 seconds

Memory Before: 542.133 KB
Memory After: 558.703 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.00416 seconds
Time After: 0.00472 seconds
Time Taken: 0.00056 seconds

Memory Before: 548.234 KB
Memory After: 821.094 KB
Memory Used: 272.859 KB

Time Before: 0.00234 seconds
Time After: 0.00484 seconds
Time Taken: 0.00250 seconds

Memory Before: 539.656 KB
Memory After: 685.961 KB
Memory Used: 146.305 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.00786 seconds
Time After: 0.00818 seconds
Time Taken: 0.00032 seconds

Memory Before: 804.445 KB
Memory After: 884.953 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.00908 seconds
Time After: 0.01000 seconds
Time Taken: 0.00092 seconds

Memory Before: 927.000 KB
Memory After: 1,086.555 KB
Memory Used: 159.555 KB

End call of global.php: 0.011069059371948
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.01202 seconds
Time After: 0.01264 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,098.656 KB
Memory After: 1,149.969 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.01339 seconds
Time After: 0.01362 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,150.172 KB
Memory After: 1,166.367 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.01414 seconds
Time After: 0.01530 seconds
Time Taken: 0.00116 seconds

Memory Before: 1,150.750 KB
Memory After: 1,168.305 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.01644 seconds
Time After: 0.01828 seconds
Time Taken: 0.00184 seconds

Memory Before: 1,162.453 KB
Memory After: 1,193.875 KB
Memory Used: 31.422 KB

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

Time Before: 0.01850 seconds
Time After: 0.01967 seconds
Time Taken: 0.00116 seconds

Memory Before: 1,163.328 KB
Memory After: 1,163.375 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.02031 seconds
Time After: 0.02077 seconds
Time Taken: 0.00046 seconds

Memory Before: 1,164.078 KB
Memory After: 1,180.070 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.02160 seconds
Time After: 0.02243 seconds
Time Taken: 0.00083 seconds

Memory Before: 1,166.898 KB
Memory After: 1,182.453 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.02381 seconds
Time After: 0.02437 seconds
Time Taken: 0.00056 seconds

Memory Before: 1,170.148 KB
Memory After: 1,201.734 KB
Memory Used: 31.586 KB

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

Time Before: 0.02503 seconds
Time After: 0.02596 seconds
Time Taken: 0.00093 seconds

Memory Before: 1,200.172 KB
Memory After: 1,216.609 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.02707 seconds
Time After: 0.02768 seconds
Time Taken: 0.00061 seconds

Memory Before: 1,206.828 KB
Memory After: 1,222.867 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.02825 seconds
Time After: 0.02856 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,179.289 KB
Memory After: 1,195.625 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.02989 seconds
Time After: 0.03155 seconds
Time Taken: 0.00166 seconds

Memory Before: 1,187.023 KB
Memory After: 1,218.695 KB
Memory Used: 31.672 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1716237087, 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 = 'acb61a0f857021c572b8e37ad39dcce4'

Time Before: 0.03327 seconds
Time After: 0.03359 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,313.164 KB
Memory After: 1,312.961 KB
Memory Used: -0.203 KB

Page generated in 0.033030986785889 seconds with 18 queries, spending 0.013617038726807 doing MySQL queries and 0.019413948059082 doing PHP things.
Shutdown Queries:
DISABLED