SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
Run Time: 0.000483
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 77 | | 21 | Using where |
SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000140
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.000193
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | display_in_list | | | | 102 | Using where; Using filesort |
SELECT cache_value
FROM xf_permission_cache_content_type
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000132
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content_type | const | PRIMARY | PRIMARY | 81 | const,const | 1 | |
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 (2, 10, 72, 73, 74, 11, 75, 76, 77, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 7, 8, 52, 54, 55, 56, 53, 57, 58, 59, 60, 61, 39, 40, 41, 43, 44, 45, 13, 14, 16, 84, 85, 86, 17, 78, 79, 80, 18, 81, 82, 83, 20, 21, 23, 24, 48, 26, 27, 28, 29, 30, 31, 32, 33, 34, 67, 68, 69, 70, 71, 103, 104, 105, 106, 107, 47, 62, 63, 64, 65, 66, 36)
Run Time: 0.000364
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | ALL | PRIMARY | | | | 76 | Using where |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.forum.node_id | 1 | Using index |
SELECT user.*, thread.*, post.*
FROM xf_post AS post
LEFT JOIN xf_user AS user ON (post.user_id = user.user_id)
LEFT JOIN xf_thread AS thread ON (post.thread_id = thread.thread_id)
WHERE post.post_id IN (15531, 33933, 33735, 33926, 15473, 33968, 33848, 33940, 33944, 33818, 33966, 33969, 5755, 15520, 0, 33720, 33878, 33606, 33809, 73, 15182, 14720, 14992, 33948, 26405, 26411, 18581, 33939, 33900, 33936, 33827, 33899, 32933, 33338, 33882, 33910, 33619, 33497, 33927, 33947, 33880, 32992, 33941, 33788, 33587, 530, 30702, 33960, 33736, 33957, 33824, 33928, 33895, 33814, 33826, 33816, 33943, 33561, 33952, 33795)
Run Time: 0.008392
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | range | PRIMARY | PRIMARY | 4 | | 60 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.post.user_id | 1 | |
SIMPLE | thread | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.post.thread_id | 1 | |
SELECT session_activity.*
,
user.*,
user_profile.*,
user_option.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE (session_activity.view_date > 1618932724)
ORDER BY session_activity.view_date DESC
Run Time: 0.001911
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 266 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.session_activity.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.user.user_id | 1 | Using where |
SIMPLE | user_option | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.user.user_id | 1 | Using where |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000218
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 77 | const | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 90e52cb8bdaaea155e5f49411d722fcf, a:7:{s:12:"sessionStart";i:1618933624;s:2:"ip";i:1679471611;s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1618937224
Run Time: 0.000242
INSERT INTO xf_session_activity
(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
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)
Params: 0, 1679471611, 1679471611, XenForo_ControllerPublic_Index, Index, valid, , 1618933624
Run Time: 0.000160
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'node_forum_level_2', 'node_category_level_1', 'node_forum_level_n', 'node_category_level_2', 'wf_widget_wrapper', 'wf_widget_online_staff', 'wf_widget_online_users', 'wf_widget_stats', 'wf_widget_share_page', 'wf_widget_threads', 'wf_widget_birthday', 'tinhte_xentag_widget_cloud', 'forum_list', 'VietXfAdvStats_wrapper', 'wf_widget_users', 'wf_hook_moderator_bar', 'wf_revealer', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 1, 3
Run Time: 0.000253
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 23 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_1_all', 'wfc_68a8c32004547b6577b51')
Run Time: 0.000133
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 77 | | 2 | Using where |
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('members_online_now', 'forum_statistics', 'birthday')
Params: 3
Run Time: 0.000096
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 231 | | 3 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bbcm_js')
AND style_id = ?
AND language_id = ?
Params: 1, 3
Run Time: 0.000176
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('Tinhte_SimilarThreadCheck_add_js_file')
AND style_id = ?
AND language_id = ?
Params: 1, 3
Run Time: 0.000157
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('Tinhte_SimilarThreadCheck_thread.js')
AND style_id = ?
AND language_id = ?
Params: 1, 3
Run Time: 0.000138
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | const | PRIMARY | PRIMARY | 160 | const,const,const | 1 | |
SELECT user.*
FROM xf_user AS user
WHERE user.user_state = 'valid' AND user.is_banned = 0
ORDER BY user.register_date DESC
LIMIT 10
Run Time: 0.063132
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | user | ref | user_state | user_state | 1 | const | 8708 | Using index condition; Using where; Using filesort |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000282
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 102 | Using filesort |
SELECT cache_value
FROM xf_permission_cache_content_type
WHERE permission_combination_id = ?
AND content_type = 'node'
Params: 1
Run Time: 0.000194
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content_type | const | PRIMARY | PRIMARY | 81 | const,const | 1 | |
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 ('1', '2', '9', '10', '72', '73', '74', '11', '75', '76', '77', '87', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99', '100', '101', '102', '6', '7', '8', '49', '50', '52', '54', '55', '56', '51', '53', '57', '58', '59', '60', '61', '37', '39', '40', '41', '42', '43', '44', '45', '12', '13', '14', '15', '16', '84', '85', '86', '17', '78', '79', '80', '18', '81', '82', '83', '19', '20', '21', '22', '23', '24', '48', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '67', '68', '69', '70', '71', '103', '104', '105', '106', '107', '47', '62', '63', '64', '65', '66', '38', '36')) AND ((thread.discussion_type != 'redirect' AND thread.discussion_state != 'deleted' AND thread.discussion_state != 'moderated'))
ORDER BY thread.last_post_date DESC
LIMIT 10
Run Time: 0.293337
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | index | PRIMARY | PRIMARY | 4 | | 76 | Using index; Using temporary; Using filesort |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.forum.node_id | 1 | |
SIMPLE | thread | ref | node_id_last_post_date,node_id_sticky_last_post_date | node_id_last_post_date | 4 | uvihxvce_diendan.hotnhat.com.vn.forum.node_id | 226 | Using index condition; Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | uvihxvce_diendan.hotnhat.com.vn.thread.last_post_user_id | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 26
Run Time: 0.000133
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 85 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 39
Run Time: 0.000104
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 85 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 48
Run Time: 0.000105
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 85 | const,const,const | 1 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 34
Run Time: 0.000094
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 85 | const,const,const | 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')
Params: 3
Run Time: 0.000121
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_phrase_compiled | range | PRIMARY | PRIMARY | 231 | | 4 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('VietxfAdvStats_users_new', 'VietXfAdvStats_users', 'VietxfAdvStats_threads_recent', 'VietXfAdvStats_threads')
AND style_id = ?
AND language_id = ?
Params: 1, 3
Run Time: 0.000135
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 160 | | 4 | Using where |