Including Functions.php

Time Before: 0.00470 seconds
Time After: 0.01161 seconds
Time Taken: 0.00690 seconds

Memory Before: 1,744.531 KB
Memory After: 2,939.367 KB
Memory Used: 1,194.836 KB

Connect to Database on Server: localhost

Time Before: 0.01169 seconds
Time After: 0.01205 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,939.352 KB
Memory After: 2,946.867 KB
Memory Used: 7.516 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01216 seconds
Time After: 0.01224 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,947.555 KB
Memory After: 2,948.117 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.01266 seconds
Time After: 0.01292 seconds
Time Taken: 0.00026 seconds

Memory Before: 2,951.438 KB
Memory After: 3,017.391 KB
Memory Used: 65.953 KB

Time Before: 0.01226 seconds
Time After: 0.01384 seconds
Time Taken: 0.00158 seconds

Memory Before: 2,947.359 KB
Memory After: 3,485.672 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.01612 seconds
Time After: 0.01620 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,058.945 KB
Memory After: 4,061.461 KB
Memory Used: 2.516 KB

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

Time Before: 0.01681 seconds
Time After: 0.01693 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,076.578 KB
Memory After: 4,083.219 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.01747 seconds
Time After: 0.01795 seconds
Time Taken: 0.00048 seconds

Memory Before: 4,089.703 KB
Memory After: 4,097.156 KB
Memory Used: 7.453 KB

Time Before: 0.01643 seconds
Time After: 0.01812 seconds
Time Taken: 0.00169 seconds

Memory Before: 4,069.734 KB
Memory After: 4,215.219 KB
Memory Used: 145.484 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.01867 seconds
Time After: 0.01878 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,223.219 KB
Memory After: 4,225.766 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.02442 seconds
Time After: 0.02463 seconds
Time Taken: 0.00020 seconds

Memory Before: 4,861.445 KB
Memory After: 4,867.289 KB
Memory Used: 5.844 KB

End call of global.php: 0.025557041168213
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 = 6215
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 constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.03193 seconds
Time After: 0.03225 seconds
Time Taken: 0.00032 seconds

Memory Before: 6,311.992 KB
Memory After: 6,339.477 KB
Memory Used: 27.484 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.03940 seconds
Time After: 0.04008 seconds
Time Taken: 0.00068 seconds

Memory Before: 7,646.359 KB
Memory After: 7,650.602 KB
Memory Used: 4.242 KB

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

Time Before: 0.04263 seconds
Time After: 0.04274 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,871.617 KB
Memory After: 7,873.742 KB
Memory Used: 2.125 KB

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

Time Before: 0.04315 seconds
Time After: 0.04322 seconds
Time Taken: 0.00006 seconds

Memory Before: 7,893.031 KB
Memory After: 7,895.320 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.04351 seconds
Time After: 0.04365 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,893.789 KB
Memory After: 7,901.109 KB
Memory Used: 7.320 KB

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

Time Before: 0.04661 seconds
Time After: 0.04675 seconds
Time Taken: 0.00014 seconds

Memory Before: 8,296.992 KB
Memory After: 8,310.430 KB
Memory Used: 13.438 KB

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

Time Before: 0.04734 seconds
Time After: 0.04749 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,313.313 KB
Memory After: 8,313.695 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 = 6215
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const110.24Using index condition; Using where; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4arborday_vbulletin.profilevisitor.visitorid1100.00 

Time Before: 0.04786 seconds
Time After: 0.04800 seconds
Time Taken: 0.00014 seconds

Memory Before: 8,314.758 KB
Memory After: 8,317.664 KB
Memory Used: 2.906 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 = 6215
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.04861 seconds
Time After: 0.04873 seconds
Time Taken: 0.00012 seconds

Memory Before: 8,319.945 KB
Memory After: 8,322.984 KB
Memory Used: 3.039 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 = 6215
	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.05235 seconds
Time After: 0.05263 seconds
Time Taken: 0.00027 seconds

Memory Before: 8,811.578 KB
Memory After: 8,835.539 KB
Memory Used: 23.961 KB

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

Time Before: 0.05281 seconds
Time After: 0.05286 seconds
Time Taken: 0.00005 seconds

Memory Before: 8,832.977 KB
Memory After: 8,835.055 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 = 6215
	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.05327 seconds
Time After: 0.05338 seconds
Time Taken: 0.00011 seconds

Memory Before: 8,868.570 KB
Memory After: 8,870.523 KB
Memory Used: 1.953 KB

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

Time Before: 0.05375 seconds
Time After: 0.05384 seconds
Time Taken: 0.00009 seconds

Memory Before: 8,837.578 KB
Memory After: 8,839.516 KB
Memory Used: 1.938 KB

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

Time Before: 0.05657 seconds
Time After: 0.05667 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,082.875 KB
Memory After: 9,084.836 KB
Memory Used: 1.961 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 <= 1569067951 AND stream.userid IN (6215)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstream refdateline,useriduserid4const2100.00Using where
1SIMPLEtype eq_refPRIMARYPRIMARY4arborday_vbulletin.stream.typeid1100.00 

Time Before: 0.05703 seconds
Time After: 0.05718 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,090.336 KB
Memory After: 9,094.508 KB
Memory Used: 4.172 KB

SQL Query
SELECT
	p.postid AS p_postid, p.threadid AS p_threadid, p.title AS p_title, p.visible AS p_visible, p.userid AS p_userid, p.pagetext AS p_pagetext, p.username AS p_username,
	t.threadid AS t_threadid, t.title AS t_title, t.forumid AS t_forumid, t.pollid AS t_pollid, t.open AS t_open, t.postusername AS t_postusername,
	t.views AS t_views, t.visible AS t_visible, t.postuserid AS t_postuserid, t.postuserid AS t_userid, t.replycount AS t_replycount,
	fp.pagetext AS t_pagetext
FROM vbulletin_post AS p
INNER JOIN vbulletin_thread AS t ON (p.threadid = t.threadid)
INNER JOIN vbulletin_post AS fp ON (t.firstpostid = fp.postid)
WHERE
	p.postid IN (40766)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         Impossible WHERE noticed after reading const tables

Time Before: 0.05867 seconds
Time After: 0.05882 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,244.625 KB
Memory After: 9,250.203 KB
Memory Used: 5.578 KB

SQL Query
SELECT
	t.threadid, t.title, t.forumid, t.pollid, t.open, t.views, t.visible, t.postuserid, t.postuserid AS userid, t.replycount,
	t.postusername, fp.pagetext
FROM vbulletin_thread AS t
INNER JOIN vbulletin_post AS fp ON (t.firstpostid = fp.postid)
WHERE
	t.threadid IN (10683)
		AND
	t.visible <> 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt constPRIMARYPRIMARY4const1100.00 
1SIMPLEfp constPRIMARYPRIMARY4const1100.00 

Time Before: 0.05910 seconds
Time After: 0.05922 seconds
Time Taken: 0.00011 seconds

Memory Before: 9,243.875 KB
Memory After: 9,248.305 KB
Memory Used: 4.430 KB

SQL Query
SELECT u.*
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
		
FROM vbulletin_user AS u

	LEFT JOIN vbulletin_avatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN vbulletin_customavatar AS cu ON(cu.userid = u.userid)
	
WHERE u.userid IN (6215)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEav systemPRIMARY   00.00const row not found
1SIMPLEu constPRIMARYPRIMARY4const1100.00 
1SIMPLEcu constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.05961 seconds
Time After: 0.05979 seconds
Time Taken: 0.00018 seconds

Memory Before: 9,250.781 KB
Memory After: 9,271.945 KB
Memory Used: 21.164 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.06168 seconds
Time After: 0.06183 seconds
Time Taken: 0.00015 seconds

Memory Before: 9,243.938 KB
Memory After: 9,251.945 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.06365 seconds
Time After: 0.06378 seconds
Time Taken: 0.00013 seconds

Memory Before: 9,344.555 KB
Memory After: 9,357.984 KB
Memory Used: 13.430 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1569067951, location = 'member.php?u=6215', badlocation = 0
WHERE sessionhash = '4f1aaf32b898402932ebda495d7fccdb'

Time Before: 0.06557 seconds
Time After: 0.06573 seconds
Time Taken: 0.00016 seconds

Memory Before: 9,556.484 KB
Memory After: 9,556.773 KB
Memory Used: 0.289 KB

Page generated in 0.065131187438965 seconds with 28 queries, spending 0.0051963329315186 doing MySQL queries and 0.059934854507446 doing PHP things.
Shutdown Queries:
DISABLED