Including Functions.php

Time Before: 0.00034 seconds
Time After: 0.00038 seconds
Time Taken: 0.00004 seconds

Memory Before: 406.391 KB
Memory After: 408.227 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00044 seconds
Time After: 0.00125 seconds
Time Taken: 0.00081 seconds

Memory Before: 408.211 KB
Memory After: 409.102 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00142 seconds
Time After: 0.00154 seconds
Time Taken: 0.00012 seconds

Memory Before: 409.148 KB
Memory After: 409.203 KB
Memory Used: 0.055 KB

Datastore Setup

Time Before: 0.00157 seconds
Time After: 0.00249 seconds
Time Taken: 0.00092 seconds

Memory Before: 408.992 KB
Memory After: 531.875 KB
Memory Used: 122.883 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE sessionhash = '44b2af2fce6c6a2fbd3442cc580c691a'
	AND lastactivity > 1715795779
	AND idhash = 'a38ae7b3d9fd4175b9f9c9d38caf19ba'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionconstPRIMARYPRIMARY96const1 

Time Before: 0.00340 seconds
Time After: 0.00366 seconds
Time Taken: 0.00027 seconds

Memory Before: 539.086 KB
Memory After: 555.656 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.00467 seconds
Time After: 0.00546 seconds
Time Taken: 0.00079 seconds

Memory Before: 545.227 KB
Memory After: 818.086 KB
Memory Used: 272.859 KB

Time Before: 0.00269 seconds
Time After: 0.00560 seconds
Time Taken: 0.00291 seconds

Memory Before: 536.609 KB
Memory After: 682.953 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.00982 seconds
Time After: 0.01034 seconds
Time Taken: 0.00052 seconds

Memory Before: 801.695 KB
Memory After: 882.203 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.01147 seconds
Time After: 0.01280 seconds
Time Taken: 0.00133 seconds

Memory Before: 924.688 KB
Memory After: 1,084.242 KB
Memory Used: 159.555 KB

End call of global.php: 0.014142036437988
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.01562 seconds
Time After: 0.01646 seconds
Time Taken: 0.00084 seconds

Memory Before: 1,095.313 KB
Memory After: 1,146.625 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.01788 seconds
Time After: 0.01826 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,147.203 KB
Memory After: 1,163.398 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.01885 seconds
Time After: 0.02082 seconds
Time Taken: 0.00198 seconds

Memory Before: 1,147.781 KB
Memory After: 1,165.336 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.02228 seconds
Time After: 0.02356 seconds
Time Taken: 0.00128 seconds

Memory Before: 1,159.484 KB
Memory After: 1,190.906 KB
Memory Used: 31.422 KB

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

Time Before: 0.02383 seconds
Time After: 0.02514 seconds
Time Taken: 0.00131 seconds

Memory Before: 1,160.359 KB
Memory After: 1,160.406 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.02562 seconds
Time After: 0.02627 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,161.109 KB
Memory After: 1,177.102 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.02703 seconds
Time After: 0.02993 seconds
Time Taken: 0.00290 seconds

Memory Before: 1,163.930 KB
Memory After: 1,179.484 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.03085 seconds
Time After: 0.03140 seconds
Time Taken: 0.00055 seconds

Memory Before: 1,167.180 KB
Memory After: 1,198.766 KB
Memory Used: 31.586 KB

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

Time Before: 0.03191 seconds
Time After: 0.03208 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,197.203 KB
Memory After: 1,213.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.03257 seconds
Time After: 0.03294 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,203.859 KB
Memory After: 1,219.898 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.03351 seconds
Time After: 0.03392 seconds
Time Taken: 0.00040 seconds

Memory Before: 1,176.320 KB
Memory After: 1,192.656 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.03572 seconds
Time After: 0.03714 seconds
Time Taken: 0.00142 seconds

Memory Before: 1,184.055 KB
Memory After: 1,215.727 KB
Memory Used: 31.672 KB

SQL Query
UPDATE vb_session
SET location = '/member.php?u=1&nojs=1&explain=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 = '44b2af2fce6c6a2fbd3442cc580c691a'

Time Before: 0.03890 seconds
Time After: 0.03924 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,306.172 KB
Memory After: 1,305.906 KB
Memory Used: -0.266 KB

Page generated in 0.038686990737915 seconds with 18 queries, spending 0.016433477401733 doing MySQL queries and 0.022253513336182 doing PHP things.
Shutdown Queries:
DISABLED