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.000347
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 26 | Using index condition |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
Run Time: 0.000095
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using index condition |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: moods
Run Time: 0.000079
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000063
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT *
FROM xf_node
WHERE display_in_list = 1
ORDER BY lft ASC
Run Time: 0.000114
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list | | | | 85 | Using where; Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000235
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 103 | Using index condition |
SELECT forum.*
,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE forum.node_id IN (89, 88, 78, 87, 82, 80, 83, 15, 16, 17, 18, 19, 22, 24, 23, 25, 67, 68, 34, 26, 28, 62, 29, 30, 31, 63, 32, 33, 75, 109, 110, 113, 69, 56, 71, 76, 97, 98, 99, 101, 57, 53, 70, 38, 55, 61, 94, 90, 84, 51, 59, 95, 39, 40, 48, 92, 79, 118, 93, 81, 45, 46, 114, 41, 74)
Run Time: 0.000476
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 66 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.forum.node_id | 1 | Using index |
SELECT session_activity.*
,
user.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
WHERE (session_activity.view_date > 1656460504)
ORDER BY session_activity.view_date DESC
Run Time: 0.000965
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 192 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.session_activity.user_id | 1 | |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000062
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: f10ca2ab347b04965c028dc18ec6bb94, , 1656466384
Run Time: 0.000114
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?)
ON DUPLICATE KEY UPDATE
ip = VALUES(ip),
controller_name = VALUES(controller_name),
controller_action = VALUES(controller_action),
view_state = VALUES(view_state),
params = VALUES(params),
view_date = VALUES(view_date),
robot_key = VALUES(robot_key)
Params: 0, , , XenForo_ControllerPublic_Forum, Index, valid, node_name=, 1656462784,
Run Time: 0.000100
SELECT album.*
,
user.*,
image_data.data_id AS image_data_id, image_data.file_hash AS image_file_hash
FROM xfr_useralbum AS album
LEFT JOIN xf_user AS user ON
(user.user_id = album.user_id)
LEFT JOIN xfr_useralbum_image AS image ON image.image_id = album.last_image_id
LEFT JOIN xfr_useralbum_image_data AS image_data ON image_data.data_id = image.data_id
WHERE album.moderation = 0 AND (album.album_type = 'public' OR album.album_type = 'global') AND album.last_image_date > 0
ORDER BY album.last_image_date DESC, album.createdate DESC
LIMIT 5
Run Time: 0.000198
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | album | ALL | | | | | 64 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.album.user_id | 1 | |
SIMPLE | image | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.album.last_image_id | 1 | |
SIMPLE | image_data | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.image.data_id | 1 | Using where |
SELECT user.*
,xfa_blog.last_entry
,xfa_blog.blog_key
,xfa_blog.entry_count
FROM xf_user AS user
LEFT JOIN xfa_blog ON xfa_blog.user_id = user.user_id
WHERE user.user_state = 'valid' AND user.is_banned = 0
ORDER BY user.register_date DESC
LIMIT 20
Run Time: 0.000961
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | index | user_state | register_date | 4 | | 43 | Using where |
SIMPLE | xfa_blog | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.user.user_id | 1 | Using where |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 85 | Using filesort |
SELECT content_id, cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000077
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 103 | Using index condition |
SELECT thread.*
,
NULL AS thread_read_date,
node.node_id AS forum_id, node.title AS forum_title,
user.*
FROM xf_thread AS thread
INNER JOIN xf_node AS node ON
(node.node_id = thread.node_id)
INNER JOIN xf_forum AS forum ON
(forum.node_id = thread.node_id)
LEFT JOIN xf_user AS user ON
(user.user_id = thread.last_post_user_id)
WHERE (1=1) AND (thread.node_id IN ('86', '89', '88', '78', '87', '82', '1', '80', '83', '14', '15', '16', '17', '18', '19', '20', '21', '22', '24', '23', '25', '67', '68', '34', '26', '27', '28', '62', '29', '30', '31', '63', '32', '33', '75', '64', '109', '110', '113', '69', '85', '56', '71', '76', '96', '97', '98', '99', '101', '35', '57', '53', '70', '38', '55', '61', '94', '90', '84', '51', '60', '59', '95', '39', '40', '91', '48', '92', '79', '118', '93', '81', '44', '45', '46', '114', '73', '41', '74')) AND ((thread.discussion_type != 'redirect' AND thread.discussion_state != 'deleted' AND thread.discussion_state != 'moderated'))
ORDER BY thread.last_post_date DESC
LIMIT 20
Run Time: 0.111277
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | index | PRIMARY | PRIMARY | 4 | | 66 | Using index; Using temporary; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.forum.node_id | 1 | |
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_state_last_post | node_id_last_post_date | 4 | usermy_newsspfl.forum.node_id | 125 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | usermy_newsspfl.thread.last_post_user_id | 1 | |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('VietXfAdvStats_section_users_new', 'VietXfAdvStats_section_users_top_posters', 'VietXfAdvStats_section_users_top_trophy_points', 'VietXfAdvStats_section_users_top_liked', 'VietXfAdvStats_section_threads_recent', 'VietXfAdvStats_section_threads_latest', 'VietXfAdvStats_section_threads_random', 'VietXfAdvStats_section_threads_hot')
Params: 2
Run Time: 0.000077
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 106 | | 8 | Using index condition |