Including Functions.php

Time Before: 0.00480 seconds
Time After: 0.01168 seconds
Time Taken: 0.00688 seconds

Memory Before: 1,746.969 KB
Memory After: 2,941.625 KB
Memory Used: 1,194.656 KB

Connect to Database on Server: localhost

Time Before: 0.01178 seconds
Time After: 0.01220 seconds
Time Taken: 0.00042 seconds

Memory Before: 2,941.609 KB
Memory After: 2,949.133 KB
Memory Used: 7.523 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01237 seconds
Time After: 0.01245 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,949.820 KB
Memory After: 2,950.383 KB
Memory Used: 0.563 KB

Datastore Setup
SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('smiliecache','bbcodecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_datastore rangePRIMARYPRIMARY52 16100.00Using index condition

Time Before: 0.01289 seconds
Time After: 0.01322 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,953.703 KB
Memory After: 3,019.656 KB
Memory Used: 65.953 KB

Time Before: 0.01247 seconds
Time After: 0.01400 seconds
Time Taken: 0.00152 seconds

Memory Before: 2,949.625 KB
Memory After: 3,487.938 KB
Memory Used: 538.313 KB

SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('profilefield')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.01608 seconds
Time After: 0.01617 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,061.180 KB
Memory After: 4,063.719 KB
Memory Used: 2.539 KB

Session Handling
SQL Query
SELECT *
FROM vbulletin_session
WHERE userid = 0
	AND host = '18.232.125.29'
	AND idhash = '86fcc930f56409a8fed0d87df91a5a79'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_session refuser_activity,guest_lookupguest_lookup55const,const,const2100.00 

Time Before: 0.01678 seconds
Time After: 0.01690 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,078.883 KB
Memory After: 4,085.523 KB
Memory Used: 6.641 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,
			phrasegroup_profilefield AS phrasegroup_profilefield,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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 vbulletin_language
WHERE languageid = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_language systemPRIMARY   1100.00 

Time Before: 0.01745 seconds
Time After: 0.01792 seconds
Time Taken: 0.00047 seconds

Memory Before: 4,092.063 KB
Memory After: 4,099.516 KB
Memory Used: 7.453 KB

Time Before: 0.01639 seconds
Time After: 0.01806 seconds
Time Taken: 0.00167 seconds

Memory Before: 4,071.977 KB
Memory After: 4,217.578 KB
Memory Used: 145.602 KB

SQL Query
SELECT *
FROM vbulletin_datastore
WHERE title IN ('routes','profilefield')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_datastore rangePRIMARYPRIMARY52 2100.00Using index condition

Time Before: 0.01856 seconds
Time After: 0.01868 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,225.578 KB
Memory After: 4,228.125 KB
Memory Used: 2.547 KB

SQL Query
SELECT *
FROM vbulletin_style
WHERE (styleid = 3 AND userselect = 1)
	OR styleid = 3
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_style constPRIMARYPRIMARY2const1100.00 

Time Before: 0.02402 seconds
Time After: 0.02429 seconds
Time Taken: 0.00026 seconds

Memory Before: 4,864.078 KB
Memory After: 4,869.922 KB
Memory Used: 5.844 KB

End call of global.php: 0.025105953216553
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 vbulletin_user AS user
LEFT JOIN vbulletin_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vbulletin_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vbulletin_avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN vbulletin_customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN vbulletin_customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN vbulletin_sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN vbulletin_usercsscache AS usercsscache ON (user.userid = usercsscache.userid)

WHERE user.userid = 9005
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEsigpic systemPRIMARY   00.00const row not found
1SIMPLEusercsscache systemPRIMARY   00.00const row not found
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEcustomprofilepic constPRIMARYPRIMARY4const1100.00 

Time Before: 0.03103 seconds
Time After: 0.03138 seconds
Time Taken: 0.00035 seconds

Memory Before: 6,314.422 KB
Memory After: 6,341.922 KB
Memory Used: 27.500 KB

SQL Query
SELECT title, template
FROM vbulletin_template
WHERE templateid IN (1197,1226,1187,1188,1190,1196,1195,1023,1024,1025,0,0,1026,0,0,1027,1032,1028,1029,1030,1033,1034,1035,1036,1037,1088,1090,1092,1094,1096,0,1143,1142,1145,1146,1149,1150,1392,1562,1568,1201,1199,1202,1204,1203,1205,1206,1207,1208,1209,1210,1211,1216,1213,1215,1212,1214,1225,1227,1228,1237,1219,1230,1231,1232,1233,1235,1198,1224,1229,1238,1234,1240,1239,1236,1316,958,1930,1602,1672,0,0,79,73,72,77,78,973,976,80,81,82,1358,1654,1304,1308,1305,1306,1307,1670,0,0,1633,1635,1328,1329,1331,1332,1555,1597,1596,1646,1598,1155,1154,1158)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_template rangePRIMARYPRIMARY4 108100.00Using index condition

Time Before: 0.03790 seconds
Time After: 0.03860 seconds
Time Taken: 0.00070 seconds

Memory Before: 7,648.789 KB
Memory After: 7,653.031 KB
Memory Used: 4.242 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM vbulletin_usernote AS usernote
WHERE userid = 9005
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEusernote refuseriduserid4const1100.00 

Time Before: 0.04087 seconds
Time After: 0.04099 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,874.148 KB
Memory After: 7,876.273 KB
Memory Used: 2.125 KB

SQL Query
SELECT blockid, requirement
FROM vbulletin_profileblockprivacy
WHERE userid = 9005
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.04139 seconds
Time After: 0.04146 seconds
Time Taken: 0.00007 seconds

Memory Before: 7,896.211 KB
Memory After: 7,898.500 KB
Memory Used: 2.289 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM vbulletin_profilefield AS pf
LEFT JOIN vbulletin_profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 
		AND pf.hidden = 0
ORDER BY pfc.displayorder, pf.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpfc systemPRIMARY   00.00const row not found
1SIMPLEpf ALL    425.00Using where; Using filesort

Time Before: 0.04175 seconds
Time After: 0.04190 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,896.969 KB
Memory After: 7,904.305 KB
Memory Used: 7.336 KB

SQL Query
SELECT * FROM vbulletin_customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_customprofile refuseriduserid4const1100.00 

Time Before: 0.04466 seconds
Time After: 0.04481 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,300.188 KB
Memory After: 8,313.625 KB
Memory Used: 13.438 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 vbulletin_userlist AS userlist
INNER JOIN vbulletin_user AS user ON (user.userid = userlist.relationid)
LEFT JOIN vbulletin_avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN vbulletin_customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 9005
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEuserlist refPRIMARY,relationid,useridPRIMARY4const112.50Using index condition; Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.userlist.relationid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4arborday_vbulletin.userlist.relationid1100.00 

Time Before: 0.04609 seconds
Time After: 0.04683 seconds
Time Taken: 0.00074 seconds

Memory Before: 8,315.219 KB
Memory After: 8,336.656 KB
Memory Used: 21.438 KB

SQL Query
UPDATE vbulletin_user SET
	profilevisits = profilevisits + 1
WHERE userid = 9005

Time Before: 0.04803 seconds
Time After: 0.04826 seconds
Time Taken: 0.00023 seconds

Memory Before: 8,321.469 KB
Memory After: 8,321.852 KB
Memory Used: 0.383 KB

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

WHERE profilevisitor.userid = 9005
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const1010.24Using index condition; Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.profilevisitor.visitorid1100.00 

Time Before: 0.04867 seconds
Time After: 0.04889 seconds
Time Taken: 0.00022 seconds

Memory Before: 8,322.922 KB
Memory After: 8,326.289 KB
Memory Used: 3.367 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 vbulletin_socialgroupmember AS socialgroupmember
INNER JOIN vbulletin_socialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN vbulletin_socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 9005
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsocialgroup systemPRIMARY   1100.00 
1SIMPLEsocialgroupmember constPRIMARY,groupid,useridPRIMARY8const,const1100.00 
1SIMPLEsgicon systemPRIMARY   1100.00 

Time Before: 0.05007 seconds
Time After: 0.05022 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,349.070 KB
Memory After: 8,352.172 KB
Memory Used: 3.102 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 vbulletin_visitormessage AS visitormessage
LEFT JOIN vbulletin_user AS user ON (visitormessage.postuserid = user.userid)

LEFT JOIN vbulletin_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vbulletin_customavatar AS customavatar ON(customavatar.userid = user.userid)


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

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEvisitormessage refuseriduserid4const133.33Using where
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.visitormessage.postuserid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4arborday_vbulletin.user.userid1100.00 

Time Before: 0.05461 seconds
Time After: 0.05485 seconds
Time Taken: 0.00024 seconds

Memory Before: 8,849.852 KB
Memory After: 8,873.844 KB
Memory Used: 23.992 KB

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

Time Before: 0.05503 seconds
Time After: 0.05506 seconds
Time Taken: 0.00003 seconds

Memory Before: 8,871.281 KB
Memory After: 8,873.359 KB
Memory Used: 2.078 KB

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

WHERE visitormessage.userid = 9005
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvisitormessage refpostuserid,useriduserid4const137.78Using index condition; Using where

Time Before: 0.05548 seconds
Time After: 0.05560 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,906.914 KB
Memory After: 8,908.867 KB
Memory Used: 1.953 KB

SQL Query
SELECT COUNT(*) AS count
FROM vbulletin_user
WHERE referrerid = 9005
	AND usergroupid NOT IN (3,4)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_user refusergroupid,referreridreferrerid4const119.78Using where

Time Before: 0.05593 seconds
Time After: 0.05605 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,874.430 KB
Memory After: 8,876.367 KB
Memory Used: 1.938 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 vbulletin_userlist AS userlist
INNER JOIN vbulletin_user AS user ON (user.userid = userlist.relationid)
LEFT JOIN vbulletin_avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN vbulletin_customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 9005
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEuserlist refPRIMARY,relationid,useridPRIMARY4const112.50Using index condition; Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.userlist.relationid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4arborday_vbulletin.userlist.relationid1100.00 

Time Before: 0.05809 seconds
Time After: 0.05866 seconds
Time Taken: 0.00056 seconds

Memory Before: 8,902.664 KB
Memory After: 8,924.070 KB
Memory Used: 21.406 KB

SQL Query
SELECT relationid
FROM vbulletin_userlist
WHERE
	userid IN (9005)
		AND
	type = 'buddy'
		AND
	friend = 'yes'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_userlist refPRIMARY,useridPRIMARY4const112.50Using index condition; Using where

Time Before: 0.06099 seconds
Time After: 0.06111 seconds
Time Taken: 0.00012 seconds

Memory Before: 9,127.797 KB
Memory After: 9,129.789 KB
Memory Used: 1.992 KB

SQL Query
SELECT stream.*, type.section, type.type
FROM vbulletin_activitystream AS stream
LEFT JOIN vbulletin_activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1582424103 AND stream.userid IN (9005,9484)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.06144 seconds
Time After: 0.06156 seconds
Time Taken: 0.00011 seconds

Memory Before: 9,135.336 KB
Memory After: 9,139.359 KB
Memory Used: 4.023 KB

SQL Query
SELECT *
FROM vbulletin_navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_navigation ALL    27100.00Using where; Using filesort

Time Before: 0.06250 seconds
Time After: 0.06265 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,134.820 KB
Memory After: 9,142.828 KB
Memory Used: 8.008 KB

SQL Query
SELECT * FROM vbulletin_customprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_customprofile refuseriduserid4const1100.00 

Time Before: 0.06429 seconds
Time After: 0.06446 seconds
Time Taken: 0.00016 seconds

Memory Before: 9,235.695 KB
Memory After: 9,249.109 KB
Memory Used: 13.414 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1582424103, location = 'member.php?u=9005', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'f4052e41ab0c3729a4c0e6dd5d08169f'

Time Before: 0.06615 seconds
Time After: 0.06628 seconds
Time Taken: 0.00013 seconds

Memory Before: 9,470.180 KB
Memory After: 9,470.453 KB
Memory Used: 0.273 KB

Page generated in 0.065716028213501 seconds with 27 queries, spending 0.0065398216247559 doing MySQL queries and 0.059176206588745 doing PHP things.
Shutdown Queries:
DISABLED