Including Functions.php

Time Before: 0.01298 seconds
Time After: 0.01365 seconds
Time Taken: 0.00067 seconds

Memory Before: 424.313 KB
Memory After: 432.445 KB
Memory Used: 8.133 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.01377 seconds
Time After: 0.01687 seconds
Time Taken: 0.00310 seconds

Memory Before: 432.344 KB
Memory After: 433.250 KB
Memory Used: 0.906 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01827 seconds
Time After: 0.01848 seconds
Time Taken: 0.00021 seconds

Memory Before: 433.914 KB
Memory After: 434.438 KB
Memory Used: 0.523 KB

Datastore Setup
SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY50 16Using where

Time Before: 0.02037 seconds
Time After: 0.02288 seconds
Time Taken: 0.00252 seconds

Memory Before: 437.008 KB
Memory After: 437.320 KB
Memory Used: 0.313 KB

Time Before: 0.01956 seconds
Time After: 0.02931 seconds
Time Taken: 0.00975 seconds

Memory Before: 433.680 KB
Memory After: 2,341.570 KB
Memory Used: 1,907.891 KB

SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('wol_spiders')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.03129 seconds
Time After: 0.03156 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,368.625 KB
Memory After: 2,369.117 KB
Memory Used: 0.492 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '3.237.43.68'
	AND idhash = '3d9cf06df53f5a1fa216282b1b28c04b'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    71Using where

Time Before: 0.03349 seconds
Time After: 0.03415 seconds
Time Taken: 0.00066 seconds

Memory Before: 2,754.164 KB
Memory After: 2,754.570 KB
Memory Used: 0.406 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_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_autopm_title AS phrasegroup_autopm_title,
			phrasegroup_autopm_text AS phrasegroup_autopm_text,
			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.03532 seconds
Time After: 0.03590 seconds
Time Taken: 0.00058 seconds

Memory Before: 2,765.859 KB
Memory After: 2,765.328 KB
Memory Used: -0.531 KB

Time Before: 0.03277 seconds
Time After: 0.03617 seconds
Time Taken: 0.00339 seconds

Memory Before: 2,749.070 KB
Memory After: 2,924.125 KB
Memory Used: 175.055 KB

SQL Query
SELECT *
FROM vb_style
WHERE (styleid = 5 AND userselect = 1)
	OR styleid = 5
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_styleconstPRIMARYPRIMARY2const1 

Time Before: 0.17517 seconds
Time After: 0.17546 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,317.195 KB
Memory After: 3,317.633 KB
Memory Used: 0.438 KB

SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (1037,1033,186,3784,189,196,195,92,94,96,98,132,2034,133,134,368,762,521,527,199,200,201,2072,203,1241,1032,206,1038,2105,212,210,211,209,213,217,2104,2106,229,223,224,225,226,228,198,216,1034,230,232,231,227,1025,418,3805,3806,3797,67,66,68,63,62,339,1088,291,292,293,559,562,571,312,313,314,315,513,576,575,3665,580,3600,3602,3598,3601,3488,1018,2128,3788,3787,1115,1113,1112,1114,1122,1123,1128,3531,3779,3774,3775,3776,1238,1237,1250,2005,2004,2058,2126,2278,2279,2280,2645,3769,3751,2637,2636,3750,3723,3763,3765,3766,3764,3762,3729,3728,3733,3746,3707,3708,3715,3704,3722,3754,3756,2638,2639,2640,2641,2665,2666,2667,3673,2669,2670,3809,3810,3812,3811,3807,3808,2699,2704,2707,2703,2705,2706,2708,2700,2701,0,2702,2717,2719,2720,3161,3162,3527,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3212,3232,3233,3369,3370,3236,3237,3238,3245,3246,3406,3407,3532,3477,3478,3479,3480,3561)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 201Using where

Time Before: 0.17919 seconds
Time After: 0.17988 seconds
Time Taken: 0.00069 seconds

Memory Before: 3,616.547 KB
Memory After: 3,616.125 KB
Memory Used: -0.422 KB

SQL Query
SELECT userip
FROM vb_cybvilxh_guests AS cybvilxh_guests
WHERE userip = '3.237.43.68'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    223Using where

Time Before: 0.19417 seconds
Time After: 0.34263 seconds
Time Taken: 0.14847 seconds

Memory Before: 4,294.664 KB
Memory After: 4,295.547 KB
Memory Used: 0.883 KB

SQL Query
UPDATE vb_cybvilxh_guests
SET dateline = '1594731004'
WHERE userip = '3.237.43.68'

Time Before: 0.34277 seconds
Time After: 0.46790 seconds
Time Taken: 0.12513 seconds

Memory Before: 4,295.805 KB
Memory After: 4,296.109 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM vb_cybvilxh_guests WHERE dateline < '1594644604'

Time Before: 0.46803 seconds
Time After: 0.46859 seconds
Time Taken: 0.00056 seconds

Memory Before: 4,294.953 KB
Memory After: 4,295.305 KB
Memory Used: 0.352 KB

End call of global.php: 0.47211909294128
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
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.48494 seconds
Time After: 0.48628 seconds
Time Taken: 0.00134 seconds

Memory Before: 4,148.953 KB
Memory After: 4,148.023 KB
Memory Used: -0.930 KB

SQL Query
SELECT COUNT(*) as X FROM vb_thanks WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.48929 seconds
Time After: 0.48972 seconds
Time Taken: 0.00044 seconds

Memory Before: 4,224.664 KB
Memory After: 4,225.180 KB
Memory Used: 0.516 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM vb_usernote AS usernote
WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.49329 seconds
Time After: 0.49371 seconds
Time Taken: 0.00041 seconds

Memory Before: 4,414.469 KB
Memory After: 4,414.922 KB
Memory Used: 0.453 KB

SQL Query
SELECT blockid, requirement
FROM vb_profileblockprivacy
WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.49478 seconds
Time After: 0.49519 seconds
Time Taken: 0.00041 seconds

Memory Before: 4,430.391 KB
Memory After: 4,430.867 KB
Memory Used: 0.477 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    16Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY2lddnsk_forum.pf.profilefieldcategoryid1 

Time Before: 0.56892 seconds
Time After: 0.56916 seconds
Time Taken: 0.00024 seconds

Memory Before: 4,431.117 KB
Memory After: 4,431.406 KB
Memory Used: 0.289 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, 3
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEuserlistrefPRIMARY,relationid,useridPRIMARY4const37Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4lddnsk_forum.userlist.relationid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4lddnsk_forum.user.userid1 

Time Before: 0.62713 seconds
Time After: 0.62927 seconds
Time Taken: 0.00214 seconds

Memory Before: 4,564.938 KB
Memory After: 4,564.758 KB
Memory Used: -0.180 KB

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

Time Before: 0.63344 seconds
Time After: 0.63400 seconds
Time Taken: 0.00057 seconds

Memory Before: 4,578.430 KB
Memory After: 4,578.750 KB
Memory Used: 0.320 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,useriduserid4const12Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4lddnsk_forum.profilevisitor.visitorid1 

Time Before: 0.63489 seconds
Time After: 0.64404 seconds
Time Taken: 0.00916 seconds

Memory Before: 4,579.664 KB
Memory After: 4,579.859 KB
Memory Used: 0.195 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
1SIMPLEsocialgroupsystemPRIMARY   1 
1SIMPLEsocialgroupmemberconstPRIMARY,groupid,useridPRIMARY8const,const1 
1SIMPLEsgiconsystemPRIMARY   1 

Time Before: 0.66913 seconds
Time After: 0.66964 seconds
Time Taken: 0.00050 seconds

Memory Before: 4,590.469 KB
Memory After: 4,590.461 KB
Memory Used: -0.008 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
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const375Using where
1SIMPLEusereq_refPRIMARYPRIMARY4lddnsk_forum.visitormessage.postuserid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4lddnsk_forum.user.userid1 

Time Before: 0.70425 seconds
Time After: 0.81432 seconds
Time Taken: 0.11007 seconds

Memory Before: 4,667.508 KB
Memory After: 4,667.203 KB
Memory Used: -0.305 KB

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

Time Before: 0.81506 seconds
Time After: 0.81522 seconds
Time Taken: 0.00016 seconds

Memory Before: 4,664.789 KB
Memory After: 4,665.375 KB
Memory Used: 0.586 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,useriduserid4const375Using where

Time Before: 0.83277 seconds
Time After: 0.83381 seconds
Time Taken: 0.00104 seconds

Memory Before: 5,000.609 KB
Memory After: 5,000.898 KB
Memory Used: 0.289 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.84079 seconds
Time After: 0.84104 seconds
Time Taken: 0.00025 seconds

Memory Before: 5,015.867 KB
Memory After: 5,016.336 KB
Memory Used: 0.469 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, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEuserlistrefPRIMARY,relationid,useridPRIMARY4const37Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4lddnsk_forum.userlist.relationid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4lddnsk_forum.user.userid1 

Time Before: 0.84278 seconds
Time After: 0.84414 seconds
Time Taken: 0.00136 seconds

Memory Before: 5,029.156 KB
Memory After: 5,028.977 KB
Memory Used: -0.180 KB

SQL Query
SELECT * FROM
				vb_xperience_stats
				WHERE userid=1
				LIMIT 0,1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_xperience_statsconstPRIMARYPRIMARY4const1 

Time Before: 0.84803 seconds
Time After: 0.84828 seconds
Time Taken: 0.00026 seconds

Memory Before: 5,048.422 KB
Memory After: 5,048.914 KB
Memory Used: 0.492 KB

SQL Query
SELECT
					COUNT(t.itemid) as cnt_items, s.*
					FROM vb_xperience_shop_ta as t
					INNER JOIN vb_xperience_shop as s ON s.itemid=t.itemid
					WHERE
					sell=0 AND
					(t.buyer=1 AND t.userid=0)
					GROUP BY t.itemid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.84906 seconds
Time After: 0.84930 seconds
Time Taken: 0.00025 seconds

Memory Before: 5,071.164 KB
Memory After: 5,071.500 KB
Memory Used: 0.336 KB

SQL Query
SELECT
					COUNT(t.itemid) as cnt_items, s.*
					FROM vb_xperience_shop_ta as t
					INNER JOIN vb_xperience_shop as s ON s.itemid=t.itemid
					WHERE
					sell=0 AND
					t.userid=1
					GROUP BY t.itemid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.84970 seconds
Time After: 0.84994 seconds
Time Taken: 0.00024 seconds

Memory Before: 5,071.547 KB
Memory After: 5,071.906 KB
Memory Used: 0.359 KB

SQL Query
SELECT
		xi.*,
		xa.title,
		xa.imagesmall,
		us.username
		FROM vb_xperience_achievements_issues AS xi
		INNER JOIN vb_user AS us ON us.userid=xi.userid
		INNER JOIN vb_xperience_achievements AS xa ON xa.achievementid=xi.achievementid
		WHERE xi.dateline>1579122000 AND xi.dateline<1594760399 
		AND xi.userid=1
		ORDER BY xi.dateline DESC, issueid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusconstPRIMARYPRIMARY4const1Using temporary; Using filesort
1SIMPLExiALL    120Using where
1SIMPLExaALLPRIMARY   3Using where; Using join buffer

Time Before: 0.85121 seconds
Time After: 0.85152 seconds
Time Taken: 0.00031 seconds

Memory Before: 5,074.969 KB
Memory After: 5,075.164 KB
Memory Used: 0.195 KB

SQL Query
SELECT
		u.username, s.* 
		FROM vb_xperience_stats_changes AS s
		INNER JOIN vb_user AS u ON u.userid=s.userid
		WHERE s.ismajor = 2
		AND s.dateline>1579122000 AND s.dateline<1594760399
		AND s.userid=1
		ORDER BY s.dateline DESC, s.statsid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuconstPRIMARYPRIMARY4const1Using filesort
1SIMPLEsALL    10398Using where

Time Before: 0.85190 seconds
Time After: 0.85515 seconds
Time Taken: 0.00325 seconds

Memory Before: 5,074.789 KB
Memory After: 5,075.094 KB
Memory Used: 0.305 KB

SQL Query
SELECT
			u.username AS uname, uto.username AS utoname, g.*
			FROM vb_xperience_gap AS g
			INNER JOIN vb_user AS u ON g.userid=u.userid
			INNER JOIN vb_user AS uto ON g.toid=uto.userid
			WHERE g.dateline>1579122000 AND g.dateline<1594760399
			AND g.userid=1 
			ORDER BY g.dateline DESC, gapid DESC
			LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuconstPRIMARYPRIMARY4const1Using filesort
1SIMPLEgALL    6Using where
1SIMPLEutoeq_refPRIMARYPRIMARY4lddnsk_forum.g.toid1Using where

Time Before: 0.85619 seconds
Time After: 0.85647 seconds
Time Taken: 0.00028 seconds

Memory Before: 5,079.820 KB
Memory After: 5,080.047 KB
Memory Used: 0.227 KB

SQL Query
SELECT
		t.*,
		s.itemname,
		s.itemicon
		FROM vb_xperience_shop_ta AS t
		INNER JOIN vb_xperience_shop as s ON t.itemid=s.itemid
		WHERE t.dateline>1579122000 AND t.dateline<1594760399
		AND (buyer=20 OR userid=20)
		ORDER BY dateline DESC, taid DESC
		LIMIT 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.85685 seconds
Time After: 0.85695 seconds
Time Taken: 0.00010 seconds

Memory Before: 5,079.859 KB
Memory After: 5,080.148 KB
Memory Used: 0.289 KB

SQL Query
SELECT COUNT(*) as X FROM vb_thanks WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.86010 seconds
Time After: 0.86021 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,184.703 KB
Memory After: 5,185.219 KB
Memory Used: 0.516 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1594731004, location = '/forum/member.php?u=1&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'c5af7f4d545f1ff326882ab64c0383d6'

Time Before: 0.86225 seconds
Time After: 0.86249 seconds
Time Taken: 0.00024 seconds

Memory Before: 5,698.047 KB
Memory After: 5,698.227 KB
Memory Used: 0.180 KB

Page generated in 0.86113095283508 seconds with 33 queries, spending 0.40728402137756 doing MySQL queries and 0.45384693145752 doing PHP things.
Shutdown Queries:
DISABLED