Including Functions.php

Time Before: 0.00341 seconds
Time After: 0.00408 seconds
Time Taken: 0.00066 seconds

Memory Before: 498.039 KB
Memory After: 506.445 KB
Memory Used: 8.406 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00421 seconds
Time After: 0.00749 seconds
Time Taken: 0.00328 seconds

Memory Before: 506.406 KB
Memory After: 507.281 KB
Memory Used: 0.875 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00880 seconds
Time After: 0.00896 seconds
Time Taken: 0.00016 seconds

Memory Before: 508.031 KB
Memory After: 508.555 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.01062 seconds
Time After: 0.01305 seconds
Time Taken: 0.00243 seconds

Memory Before: 511.313 KB
Memory After: 511.625 KB
Memory Used: 0.313 KB

Time Before: 0.00994 seconds
Time After: 0.01922 seconds
Time Taken: 0.00927 seconds

Memory Before: 507.797 KB
Memory After: 2,415.773 KB
Memory Used: 1,907.977 KB

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

Time Before: 0.02096 seconds
Time After: 0.02130 seconds
Time Taken: 0.00034 seconds

Memory Before: 2,439.719 KB
Memory After: 2,440.211 KB
Memory Used: 0.492 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '18.207.255.49'
	AND idhash = '84e4a4c0f051021e0e3e26a4e6561a88'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionALL    1154Using where

Time Before: 0.02324 seconds
Time After: 0.02363 seconds
Time Taken: 0.00039 seconds

Memory Before: 2,825.289 KB
Memory After: 2,825.703 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.02453 seconds
Time After: 0.02518 seconds
Time Taken: 0.00064 seconds

Memory Before: 2,836.953 KB
Memory After: 2,836.422 KB
Memory Used: -0.531 KB

Time Before: 0.02270 seconds
Time After: 0.02548 seconds
Time Taken: 0.00278 seconds

Memory Before: 2,820.180 KB
Memory After: 2,995.195 KB
Memory Used: 175.016 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.03745 seconds
Time After: 0.03769 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,388.117 KB
Memory After: 3,388.555 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.04080 seconds
Time After: 0.04376 seconds
Time Taken: 0.00295 seconds

Memory Before: 3,687.438 KB
Memory After: 3,687.016 KB
Memory Used: -0.422 KB

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

Time Before: 0.05317 seconds
Time After: 0.05347 seconds
Time Taken: 0.00031 seconds

Memory Before: 4,363.992 KB
Memory After: 4,364.875 KB
Memory Used: 0.883 KB

SQL Query
UPDATE vb_cybvilxh_guests
SET dateline = '1575773350'
WHERE userip = '18.207.255.49'

Time Before: 0.05356 seconds
Time After: 0.13726 seconds
Time Taken: 0.08370 seconds

Memory Before: 4,365.172 KB
Memory After: 4,365.469 KB
Memory Used: 0.297 KB

SQL Query
DELETE FROM vb_cybvilxh_guests WHERE dateline < '1575686950'

Time Before: 0.13741 seconds
Time After: 0.13784 seconds
Time Taken: 0.00042 seconds

Memory Before: 4,364.313 KB
Memory After: 4,364.664 KB
Memory Used: 0.352 KB

End call of global.php: 0.14146494865417
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.14408 seconds
Time After: 0.14494 seconds
Time Taken: 0.00086 seconds

Memory Before: 4,218.461 KB
Memory After: 4,217.531 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.16250 seconds
Time After: 0.16276 seconds
Time Taken: 0.00026 seconds

Memory Before: 4,294.195 KB
Memory After: 4,294.711 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.19976 seconds
Time After: 0.20013 seconds
Time Taken: 0.00037 seconds

Memory Before: 4,849.359 KB
Memory After: 4,849.813 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.20459 seconds
Time After: 0.20497 seconds
Time Taken: 0.00038 seconds

Memory Before: 4,866.547 KB
Memory After: 4,867.023 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.20625 seconds
Time After: 0.20750 seconds
Time Taken: 0.00124 seconds

Memory Before: 4,867.273 KB
Memory After: 4,867.563 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.21350 seconds
Time After: 0.21594 seconds
Time Taken: 0.00244 seconds

Memory Before: 5,003.422 KB
Memory After: 5,003.242 KB
Memory Used: -0.180 KB

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

Time Before: 0.22171 seconds
Time After: 0.22224 seconds
Time Taken: 0.00053 seconds

Memory Before: 5,017.539 KB
Memory After: 5,017.859 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.22342 seconds
Time After: 0.22413 seconds
Time Taken: 0.00071 seconds

Memory Before: 5,018.820 KB
Memory After: 5,019.016 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.22734 seconds
Time After: 0.22787 seconds
Time Taken: 0.00054 seconds

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

Time Before: 0.23427 seconds
Time After: 0.23759 seconds
Time Taken: 0.00332 seconds

Memory Before: 5,293.383 KB
Memory After: 5,293.078 KB
Memory Used: -0.305 KB

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

Time Before: 0.23854 seconds
Time After: 0.23882 seconds
Time Taken: 0.00028 seconds

Memory Before: 5,290.758 KB
Memory After: 5,291.305 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,useriduserid4const334Using where

Time Before: 0.26338 seconds
Time After: 0.26488 seconds
Time Taken: 0.00150 seconds

Memory Before: 5,629.484 KB
Memory After: 5,629.773 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.27413 seconds
Time After: 0.27449 seconds
Time Taken: 0.00036 seconds

Memory Before: 5,644.469 KB
Memory After: 5,644.922 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.27677 seconds
Time After: 0.27872 seconds
Time Taken: 0.00196 seconds

Memory Before: 5,659.070 KB
Memory After: 5,658.891 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.28431 seconds
Time After: 0.28471 seconds
Time Taken: 0.00040 seconds

Memory Before: 5,678.633 KB
Memory After: 5,679.125 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.28611 seconds
Time After: 0.28648 seconds
Time Taken: 0.00037 seconds

Memory Before: 5,701.367 KB
Memory After: 5,701.711 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.28698 seconds
Time After: 0.28734 seconds
Time Taken: 0.00036 seconds

Memory Before: 5,701.758 KB
Memory After: 5,702.117 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>1560200400 AND xi.dateline<1575838799 
		AND xi.userid=1
		ORDER BY xi.dateline DESC, issueid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusconstPRIMARYPRIMARY4const1Using temporary; Using filesort
1SIMPLExiALL    118Using where
1SIMPLExaALLPRIMARY   3Using where; Using join buffer

Time Before: 0.28953 seconds
Time After: 0.29003 seconds
Time Taken: 0.00049 seconds

Memory Before: 5,705.289 KB
Memory After: 5,705.484 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>1560200400 AND s.dateline<1575838799
		AND s.userid=1
		ORDER BY s.dateline DESC, s.statsid DESC
		LIMIT 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuconstPRIMARYPRIMARY4const1Using filesort
1SIMPLEsALL    10370Using where

Time Before: 0.29081 seconds
Time After: 0.29469 seconds
Time Taken: 0.00388 seconds

Memory Before: 5,705.109 KB
Memory After: 5,705.414 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>1560200400 AND g.dateline<1575838799
			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.29666 seconds
Time After: 0.29708 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,711.070 KB
Memory After: 5,711.320 KB
Memory Used: 0.250 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>1560200400 AND t.dateline<1575838799
		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.29761 seconds
Time After: 0.29795 seconds
Time Taken: 0.00034 seconds

Memory Before: 5,711.109 KB
Memory After: 5,711.398 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.30212 seconds
Time After: 0.30232 seconds
Time Taken: 0.00020 seconds

Memory Before: 5,816.523 KB
Memory After: 5,817.039 KB
Memory Used: 0.516 KB

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

Time Before: 0.30503 seconds
Time After: 0.30531 seconds
Time Taken: 0.00029 seconds

Memory Before: 6,331.281 KB
Memory After: 6,331.461 KB
Memory Used: 0.180 KB

Page generated in 0.3035991191864 seconds with 33 queries, spending 0.10592150688171 doing MySQL queries and 0.19767761230469 doing PHP things.
Shutdown Queries:
DISABLED