Including Functions.php

Time Before: 0.00025 seconds
Time After: 0.00029 seconds
Time Taken: 0.00004 seconds

Memory Before: 406.813 KB
Memory After: 408.648 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00033 seconds
Time After: 0.00093 seconds
Time Taken: 0.00061 seconds

Memory Before: 408.633 KB
Memory After: 409.523 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00112 seconds
Time After: 0.00129 seconds
Time Taken: 0.00016 seconds

Memory Before: 409.570 KB
Memory After: 409.625 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00132 seconds
Time After: 0.00207 seconds
Time Taken: 0.00075 seconds

Memory Before: 409.414 KB
Memory After: 534.359 KB
Memory Used: 124.945 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE sessionhash = '785126da2cbd2de044df43164925f839'
	AND lastactivity > 1716240450
	AND idhash = '76dab464f9596fe87d12e3b71c71a88c'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionconstPRIMARYPRIMARY96const1 

Time Before: 0.00288 seconds
Time After: 0.00322 seconds
Time Taken: 0.00034 seconds

Memory Before: 541.570 KB
Memory After: 558.141 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.00409 seconds
Time After: 0.00467 seconds
Time Taken: 0.00058 seconds

Memory Before: 547.672 KB
Memory After: 820.531 KB
Memory Used: 272.859 KB

Time Before: 0.00228 seconds
Time After: 0.00479 seconds
Time Taken: 0.00252 seconds

Memory Before: 539.094 KB
Memory After: 685.398 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.00735 seconds
Time After: 0.00766 seconds
Time Taken: 0.00031 seconds

Memory Before: 803.883 KB
Memory After: 884.391 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.00862 seconds
Time After: 0.01025 seconds
Time Taken: 0.00164 seconds

Memory Before: 926.438 KB
Memory After: 1,085.992 KB
Memory Used: 159.555 KB

End call of global.php: 0.012166023254395
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 = 150
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.01325 seconds
Time After: 0.01427 seconds
Time Taken: 0.00103 seconds

Memory Before: 1,097.969 KB
Memory After: 1,149.281 KB
Memory Used: 51.313 KB

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

Time Before: 0.01556 seconds
Time After: 0.01590 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,149.055 KB
Memory After: 1,165.250 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.01695 seconds
Time After: 0.01950 seconds
Time Taken: 0.00255 seconds

Memory Before: 1,149.633 KB
Memory After: 1,167.188 KB
Memory Used: 17.555 KB

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

Time Before: 0.01987 seconds
Time After: 0.02109 seconds
Time Taken: 0.00122 seconds

Memory Before: 1,160.297 KB
Memory After: 1,160.344 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 = 150
	 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.02170 seconds
Time After: 0.02217 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,161.047 KB
Memory After: 1,177.133 KB
Memory Used: 16.086 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 = 150
	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.02294 seconds
Time After: 0.02394 seconds
Time Taken: 0.00100 seconds

Memory Before: 1,164.977 KB
Memory After: 1,180.531 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 = 150
	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.02498 seconds
Time After: 0.02555 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,168.227 KB
Memory After: 1,199.813 KB
Memory Used: 31.586 KB

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

Time Before: 0.02582 seconds
Time After: 0.02762 seconds
Time Taken: 0.00180 seconds

Memory Before: 1,198.250 KB
Memory After: 1,214.688 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 = 150
	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.02877 seconds
Time After: 0.02915 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,204.906 KB
Memory After: 1,220.945 KB
Memory Used: 16.039 KB

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

Time Before: 0.02963 seconds
Time After: 0.03006 seconds
Time Taken: 0.00043 seconds

Memory Before: 1,177.336 KB
Memory After: 1,193.672 KB
Memory Used: 16.336 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1716241350, location = '/member.php?explain=1&u=150', 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 = '785126da2cbd2de044df43164925f839'

Time Before: 0.03338 seconds
Time After: 0.03375 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,298.453 KB
Memory After: 1,298.250 KB
Memory Used: -0.203 KB

Page generated in 0.032282114028931 seconds with 16 queries, spending 0.013793706893921 doing MySQL queries and 0.01848840713501 doing PHP things.
Shutdown Queries:
DISABLED