SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.000538
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000190
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT *
FROM xf_brivium_addon
ORDER BY addon_id
Run Time: 0.000182
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_brivium_addon | index | | PRIMARY | 77 | | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: brBriviumAddOns, a:0:{}
Run Time: 0.000337
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000180
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT category_id
FROM xengallery_category_map
WHERE view_user_group_id IN (1)
Run Time: 0.000141
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xengallery_category_map | index | | PRIMARY | 8 | | 16 | Using where; Using index |
SELECT album.*, permission.*
,
shared.shared_user_id, private.private_user_id,
user.*, user_profile.*, IF(user.username IS NULL, album.album_username, user.username) AS username
FROM xengallery_album AS album
LEFT JOIN xengallery_shared_map AS shared ON
(shared.album_id = album.album_id AND shared.shared_user_id = 0)
LEFT JOIN xengallery_private_map AS private ON
(private.album_id = album.album_id AND private.private_user_id = 0)
LEFT JOIN xf_user AS user ON
(user.user_id = album.album_user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = album.album_user_id)
LEFT JOIN xengallery_album_permission AS permission ON
(album.album_id = permission.album_id
AND permission.permission = 'view')
WHERE (
private.private_user_id IS NOT NULL
OR shared.shared_user_id IS NOT NULL
OR permission.access_type = 'public'
) AND (album.album_state IN ('visible'))
ORDER BY album.album_create_date DESC
LIMIT 9 OFFSET 45
Run Time: 0.001824
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | ALL | | | | | 41 | Using where; Using filesort |
SIMPLE | shared | eq_ref | PRIMARY | PRIMARY | 8 | xenforo.cc.album.album_id,const | 1 | Using index |
SIMPLE | private | eq_ref | PRIMARY | PRIMARY | 8 | xenforo.cc.album.album_id,const | 1 | Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xenforo.cc.album.album_user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | xenforo.cc.album.album_user_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 5 | xenforo.cc.album.album_id,const | 1 | Using where |
SELECT COUNT(*)
FROM xengallery_album AS album
LEFT JOIN xengallery_album_permission AS permission ON
(album.album_id = permission.album_id AND permission.permission = 'view')
LEFT JOIN xengallery_shared_map AS shared ON
(shared.album_id = album.album_id AND shared.shared_user_id = 0)
LEFT JOIN xengallery_private_map AS private ON
(private.album_id = album.album_id AND private.private_user_id = 0)
LEFT JOIN xf_user AS user ON
(user.user_id = album.album_user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = album.album_user_id)
WHERE (
private.private_user_id IS NOT NULL
OR shared.shared_user_id IS NOT NULL
OR permission.access_type = 'public'
) AND (album.album_state IN ('visible'))
Run Time: 0.000333
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | ALL | | | | | 41 | Using where |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 5 | xenforo.cc.album.album_id,const | 1 | Using where |
SIMPLE | shared | eq_ref | PRIMARY | PRIMARY | 8 | xenforo.cc.album.album_id,const | 1 | Using index |
SIMPLE | private | eq_ref | PRIMARY | PRIMARY | 8 | xenforo.cc.album.album_id,const | 1 | Using where; Using index |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | xenforo.cc.album.album_user_id | 1 | Using index |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | xenforo.cc.album.album_user_id | 1 | Using index |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 008c6a2d43add9fbe3bfcc614ec2f3f6, , 1714122315
Run Time: 0.017442