Including Functions.php

Time Before: 0.00225 seconds
Time After: 0.00267 seconds
Time Taken: 0.00042 seconds

Memory Before: 627.102 KB
Memory After: 635.789 KB
Memory Used: 8.688 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00276 seconds
Time After: 0.00489 seconds
Time Taken: 0.00212 seconds

Memory Before: 635.711 KB
Memory After: 636.586 KB
Memory Used: 0.875 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00585 seconds
Time After: 0.00602 seconds
Time Taken: 0.00017 seconds

Memory Before: 637.336 KB
Memory After: 637.859 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.00732 seconds
Time After: 0.00851 seconds
Time Taken: 0.00119 seconds

Memory Before: 640.711 KB
Memory After: 641.023 KB
Memory Used: 0.313 KB

Time Before: 0.00675 seconds
Time After: 0.01246 seconds
Time Taken: 0.00571 seconds

Memory Before: 637.133 KB
Memory After: 2,545.188 KB
Memory Used: 1,908.055 KB

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

Time Before: 0.01371 seconds
Time After: 0.01392 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,569.375 KB
Memory After: 2,569.867 KB
Memory Used: 0.492 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '3.233.215.231'
	AND idhash = '863397b88b1270317b5a7520d59661ef'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    1248Using where

Time Before: 0.01527 seconds
Time After: 0.01568 seconds
Time Taken: 0.00041 seconds

Memory Before: 2,954.258 KB
Memory After: 2,954.672 KB
Memory Used: 0.414 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.01641 seconds
Time After: 0.01671 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,966.313 KB
Memory After: 2,965.781 KB
Memory Used: -0.531 KB

Time Before: 0.01482 seconds
Time After: 0.01691 seconds
Time Taken: 0.00209 seconds

Memory Before: 2,949.844 KB
Memory After: 3,124.609 KB
Memory Used: 174.766 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.02525 seconds
Time After: 0.02546 seconds
Time Taken: 0.00021 seconds

Memory Before: 3,518.094 KB
Memory After: 3,518.531 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.02761 seconds
Time After: 0.02798 seconds
Time Taken: 0.00038 seconds

Memory Before: 3,818.242 KB
Memory After: 3,817.820 KB
Memory Used: -0.422 KB

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

Time Before: 0.03339 seconds
Time After: 0.03372 seconds
Time Taken: 0.00033 seconds

Memory Before: 4,497.500 KB
Memory After: 4,498.383 KB
Memory Used: 0.883 KB

SQL Query
UPDATE vb_cybvilxh_guests
SET dateline = '1582845572'
WHERE userip = '3.233.215.231'

Time Before: 0.03377 seconds
Time After: 0.24989 seconds
Time Taken: 0.21612 seconds

Memory Before: 4,498.680 KB
Memory After: 4,498.977 KB
Memory Used: 0.297 KB

SQL Query
DELETE FROM vb_cybvilxh_guests WHERE dateline < '1582759172'

Time Before: 0.24997 seconds
Time After: 0.25094 seconds
Time Taken: 0.00096 seconds

Memory Before: 4,497.820 KB
Memory After: 4,498.172 KB
Memory Used: 0.352 KB

End call of global.php: 0.25234293937683
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.27462 seconds
Time After: 0.27518 seconds
Time Taken: 0.00056 seconds

Memory Before: 4,355.500 KB
Memory After: 4,354.570 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.27643 seconds
Time After: 0.27660 seconds
Time Taken: 0.00016 seconds

Memory Before: 4,431.367 KB
Memory After: 4,431.883 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.28135 seconds
Time After: 0.28149 seconds
Time Taken: 0.00014 seconds

Memory Before: 5,173.117 KB
Memory After: 5,173.570 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.28189 seconds
Time After: 0.28202 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,191.789 KB
Memory After: 5,192.266 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.28233 seconds
Time After: 0.28242 seconds
Time Taken: 0.00009 seconds

Memory Before: 5,192.516 KB
Memory After: 5,192.805 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.28439 seconds
Time After: 0.28560 seconds
Time Taken: 0.00121 seconds

Memory Before: 5,329.688 KB
Memory After: 5,329.508 KB
Memory Used: -0.180 KB

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

Time Before: 0.28766 seconds
Time After: 0.28801 seconds
Time Taken: 0.00034 seconds

Memory Before: 5,343.867 KB
Memory After: 5,344.188 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.28846 seconds
Time After: 0.28885 seconds
Time Taken: 0.00039 seconds

Memory Before: 5,345.148 KB
Memory After: 5,345.344 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.29007 seconds
Time After: 0.29030 seconds
Time Taken: 0.00024 seconds

Memory Before: 5,356.609 KB
Memory After: 5,356.602 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
1SIMPLEvisitormessagerefuseriduserid4const338Using where
1SIMPLEusereq_refPRIMARYPRIMARY4lddnsk_forum.visitormessage.postuserid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4lddnsk_forum.user.userid1 

Time Before: 0.29496 seconds
Time After: 0.29743 seconds
Time Taken: 0.00248 seconds

Memory Before: 5,948.156 KB
Memory After: 5,947.852 KB
Memory Used: -0.305 KB

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

Time Before: 0.29785 seconds
Time After: 0.29796 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,945.531 KB
Memory After: 5,946.078 KB
Memory Used: 0.547 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,useriduserid4const338Using where

Time Before: 0.30978 seconds
Time After: 0.31083 seconds
Time Taken: 0.00105 seconds

Memory Before: 6,287.906 KB
Memory After: 6,288.195 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.31585 seconds
Time After: 0.31604 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,301.383 KB
Memory After: 6,301.836 KB
Memory Used: 0.453 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.31728 seconds
Time After: 0.31834 seconds
Time Taken: 0.00106 seconds

Memory Before: 6,316.867 KB
Memory After: 6,316.688 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.32133 seconds
Time After: 0.32155 seconds
Time Taken: 0.00022 seconds

Memory Before: 6,336.367 KB
Memory After: 6,336.859 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.32217 seconds
Time After: 0.32236 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,359.102 KB
Memory After: 6,359.445 KB
Memory Used: 0.344 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.32262 seconds
Time After: 0.32280 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,359.492 KB
Memory After: 6,359.852 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>1567285200 AND xi.dateline<1582923599 
		AND xi.userid=1
		ORDER BY xi.dateline DESC, issueid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusconstPRIMARYPRIMARY4const1Using temporary; Using filesort
1SIMPLExiALL    119Using where
1SIMPLExaALLPRIMARY   3Using where; Using join buffer

Time Before: 0.32382 seconds
Time After: 0.32407 seconds
Time Taken: 0.00025 seconds

Memory Before: 6,363.023 KB
Memory After: 6,363.227 KB
Memory Used: 0.203 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>1567285200 AND s.dateline<1582923599
		AND s.userid=1
		ORDER BY s.dateline DESC, s.statsid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuconstPRIMARYPRIMARY4const1Using filesort
1SIMPLEsALL    10374Using where

Time Before: 0.32437 seconds
Time After: 0.32646 seconds
Time Taken: 0.00209 seconds

Memory Before: 6,362.852 KB
Memory After: 6,363.156 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>1567285200 AND g.dateline<1582923599
			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.32715 seconds
Time After: 0.32732 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,366.945 KB
Memory After: 6,367.180 KB
Memory Used: 0.234 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>1567285200 AND t.dateline<1582923599
		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.32755 seconds
Time After: 0.32761 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,366.984 KB
Memory After: 6,367.273 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.32994 seconds
Time After: 0.32998 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,471.125 KB
Memory After: 6,471.641 KB
Memory Used: 0.516 KB

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

Time Before: 0.33175 seconds
Time After: 0.33193 seconds
Time Taken: 0.00018 seconds

Memory Before: 6,983.023 KB
Memory After: 6,983.203 KB
Memory Used: 0.180 KB

Page generated in 0.33065795898438 seconds with 33 queries, spending 0.22894096374512 doing MySQL queries and 0.10171699523926 doing PHP things.
Shutdown Queries:
DISABLED