Including Functions.php

Time Before: 0.00044 seconds
Time After: 0.00049 seconds
Time Taken: 0.00005 seconds

Memory Before: 404.289 KB
Memory After: 406.125 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00056 seconds
Time After: 0.00134 seconds
Time Taken: 0.00078 seconds

Memory Before: 406.109 KB
Memory After: 407.000 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00167 seconds
Time After: 0.00182 seconds
Time Taken: 0.00015 seconds

Memory Before: 407.047 KB
Memory After: 407.102 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00187 seconds
Time After: 0.00260 seconds
Time Taken: 0.00074 seconds

Memory Before: 406.891 KB
Memory After: 543.688 KB
Memory Used: 136.797 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '3.144.48.135'
	AND idhash = '8b9c7d60626c2bae4527d315822de191'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    41Using where

Time Before: 0.00386 seconds
Time After: 0.00426 seconds
Time Taken: 0.00040 seconds

Memory Before: 550.828 KB
Memory After: 567.008 KB
Memory Used: 16.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 vb_language
WHERE languageid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languageconstPRIMARYPRIMARY2const1 

Time Before: 0.00554 seconds
Time After: 0.00616 seconds
Time Taken: 0.00062 seconds

Memory Before: 557.875 KB
Memory After: 830.781 KB
Memory Used: 272.906 KB

Time Before: 0.00282 seconds
Time After: 0.00627 seconds
Time Taken: 0.00345 seconds

Memory Before: 548.383 KB
Memory After: 695.836 KB
Memory Used: 147.453 KB

SQL Query
REPLACE INTO vb_datastore
	(title, data, unserialize)
VALUES
	('loadcache', 'a:2:{s:7:\"loadavg\";s:5:\"0.09,\";s:9:\"lastcheck\";i:1714039375;}', 1)

Time Before: 0.01366 seconds
Time After: 0.01539 seconds
Time Taken: 0.00174 seconds

Memory Before: 693.664 KB
Memory After: 693.602 KB
Memory Used: -0.063 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.01699 seconds
Time After: 0.01727 seconds
Time Taken: 0.00028 seconds

Memory Before: 823.664 KB
Memory After: 904.172 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.01816 seconds
Time After: 0.01905 seconds
Time Taken: 0.00089 seconds

Memory Before: 956.648 KB
Memory After: 1,116.203 KB
Memory Used: 159.555 KB

End call of global.php: 0.020035028457642
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.02121 seconds
Time After: 0.02215 seconds
Time Taken: 0.00094 seconds

Memory Before: 1,127.914 KB
Memory After: 1,180.359 KB
Memory Used: 52.445 KB

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

Time Before: 0.02333 seconds
Time After: 0.02358 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,181.227 KB
Memory After: 1,197.453 KB
Memory Used: 16.227 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.02417 seconds
Time After: 0.02550 seconds
Time Taken: 0.00133 seconds

Memory Before: 1,181.805 KB
Memory After: 1,199.563 KB
Memory Used: 17.758 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.02664 seconds
Time After: 0.03008 seconds
Time Taken: 0.00344 seconds

Memory Before: 1,193.664 KB
Memory After: 1,225.789 KB
Memory Used: 32.125 KB

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

Time Before: 0.03033 seconds
Time After: 0.03151 seconds
Time Taken: 0.00119 seconds

Memory Before: 1,194.539 KB
Memory After: 1,194.586 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.03211 seconds
Time After: 0.03250 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,195.289 KB
Memory After: 1,211.281 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.03319 seconds
Time After: 0.03406 seconds
Time Taken: 0.00087 seconds

Memory Before: 1,198.109 KB
Memory After: 1,213.820 KB
Memory Used: 15.711 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.03540 seconds
Time After: 0.03597 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,201.359 KB
Memory After: 1,233.766 KB
Memory Used: 32.406 KB

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

Time Before: 0.03655 seconds
Time After: 0.03669 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,232.203 KB
Memory After: 1,248.641 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.03736 seconds
Time After: 0.03801 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,239.016 KB
Memory After: 1,255.055 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.03862 seconds
Time After: 0.03896 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,210.656 KB
Memory After: 1,226.992 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.04046 seconds
Time After: 0.04190 seconds
Time Taken: 0.00145 seconds

Memory Before: 1,218.391 KB
Memory After: 1,250.766 KB
Memory Used: 32.375 KB

SQL Query
INSERT IGNORE INTO vb_session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
	('a8a6e150afb56f35de9ca4c52d03bee2', 0, '3.144.48.135', '8b9c7d60626c2bae4527d315822de191', 1714039375, '/member.php?u=1&explain=1', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 0, 0)

Time Before: 0.04379 seconds
Time After: 0.04412 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,350.508 KB
Memory After: 1,349.883 KB
Memory Used: -0.625 KB

Page generated in 0.043548107147217 seconds with 19 queries, spending 0.016737937927246 doing MySQL queries and 0.026810169219971 doing PHP things.
Shutdown Queries:
DISABLED