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.004455
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.000184
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: brmsModernStatisticCache
Run Time: 0.000109
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.000594
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = ?
Params: 2135
Run Time: 0.001217
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT node.*, forum.*
,
permission.cache_value AS node_permission_cache,
NULL AS forum_read_date
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = forum.node_id)
WHERE node.node_id = ?
Params: 78
Run Time: 0.001244
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | permission | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
SELECT post.*
,
user.*, IF(user.username IS NULL, post.username, user.username) AS username,
user_profile.*,
user_privacy.*,
session_activity.view_date AS last_view_date,
0 AS like_date
FROM xf_post AS post
LEFT JOIN xf_user AS user ON
(user.user_id = post.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = post.user_id)
LEFT JOIN xf_user_privacy AS user_privacy ON
(user_privacy.user_id = post.user_id)
LEFT JOIN xf_session_activity AS session_activity ON
(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
WHERE post.thread_id = ?
AND (post.schedule_message_date = 0 OR post.user_id = 0)
AND (post.position >= 0 AND post.position < 20)
AND (post.message_state IN ('visible'))
ORDER BY post.position ASC, post.schedule_message_date ASC, post.post_date ASC
Params: 2135
Run Time: 0.003366
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | post | ref | thread_id_post_date,thread_id_position,user_id | thread_id_post_date | 4 | const | 2 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.post.user_id | 1 | |
SIMPLE | user_profile | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.post.user_id | 1 | |
SIMPLE | user_privacy | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.post.user_id | 1 | |
SIMPLE | session_activity | eq_ref | PRIMARY | PRIMARY | 22 | kakatavn_db.post.user_id,func | 1 | Using where |
SELECT attachment.*,
data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
FROM xf_attachment AS attachment
INNER JOIN xf_attachment_data AS data ON
(data.data_id = attachment.data_id)
WHERE attachment.content_type = ?
AND attachment.content_id IN (2647)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.001584
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | attachment | ref | content_type_id_date | content_type_id_date | 31 | const,const | 4 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.attachment.data_id | 1 | |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 2135
Run Time: 0.000072
SELECT xf_thread.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title
FROM xf_thread
LEFT JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
LEFT JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
WHERE xf_thread.node_id > 0 AND xf_thread.thread_id != 2135 AND xf_thread.post_date < 1752702208 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.thread_id DESC
LIMIT 2
Run Time: 0.008559
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | index | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_date | PRIMARY | 4 | | 4 | Using where |
SIMPLE | xf_post | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.first_post_id | 1 | |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.node_id | 1 | |
SELECT xf_thread.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title
FROM xf_thread
LEFT JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
LEFT JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
WHERE xf_thread.node_id > 0 AND xf_thread.node_id NOT IN (1,71,67) AND xf_thread.thread_id != 2135 AND xf_thread.post_date > 1752097408 AND xf_thread.post_date < 1752702208 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.view_count DESC
LIMIT 5
Run Time: 0.000870
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | range | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_date | post_date | 4 | | 160 | Using index condition; Using where; Using filesort |
SIMPLE | xf_post | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.first_post_id | 1 | |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.node_id | 1 | |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000268
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 62 | 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.000721
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 62 | Using where |
SELECT params
FROM xf_session_activity
WHERE user_id = ?
AND controller_action = 'CreateThread'
Params: 0
Run Time: 0.000215
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session_activity | ref | PRIMARY | PRIMARY | 4 | const | 181 | Using where |
SELECT xf_thread.thread_id,
xf_thread.node_id,
xf_thread.title,
xf_thread.reply_count,
xf_thread.view_count,
xf_thread.username,
xf_thread.post_date,
xf_thread.last_post_date,
xf_thread.last_post_user_id,
xf_thread.last_post_username,
xf_thread.prefix_id,
xf_node.title AS nodeTitle,
xf_user.user_id,
xf_user.gender,
xf_user.avatar_date
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
INNER JOIN xf_user ON xf_user.user_id = xf_thread.user_id
WHERE xf_thread.title LIKE '%Lại%'
AND xf_thread.title LIKE '%thêm%'
AND xf_thread.discussion_state = 'visible'
AND xf_thread.discussion_type <> 'redirect'
AND xf_thread.post_date >= ?
AND (xf_thread.node_id = 1 OR xf_thread.node_id = 3 OR xf_thread.node_id = 4 OR xf_thread.node_id = 5 OR xf_thread.node_id = 6 OR xf_thread.node_id = 10 OR xf_thread.node_id = 110 OR xf_thread.node_id = 12 OR xf_thread.node_id = 87 OR xf_thread.node_id = 13 OR xf_thread.node_id = 14 OR xf_thread.node_id = 77 OR xf_thread.node_id = 78 OR xf_thread.node_id = 79 OR xf_thread.node_id = 80 OR xf_thread.node_id = 81 OR xf_thread.node_id = 11 OR xf_thread.node_id = 107 OR xf_thread.node_id = 23 OR xf_thread.node_id = 82 OR xf_thread.node_id = 83 OR xf_thread.node_id = 22 OR xf_thread.node_id = 15 OR xf_thread.node_id = 17 OR xf_thread.node_id = 105 OR xf_thread.node_id = 111 OR xf_thread.node_id = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 104 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 51 OR xf_thread.node_id = 67 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62 OR xf_thread.node_id = 63 OR xf_thread.node_id = 84 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 95 OR xf_thread.node_id = 106 OR xf_thread.node_id = 72 OR xf_thread.node_id = 75 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 94 OR xf_thread.node_id = 100 OR xf_thread.node_id = 101 OR xf_thread.node_id = 93 OR xf_thread.node_id = 96 OR xf_thread.node_id = 109 OR xf_thread.node_id = 108 OR xf_thread.node_id = 97 OR xf_thread.node_id = 98 OR xf_thread.node_id = 99 OR xf_thread.node_id = 71 OR xf_thread.node_id = 16 OR xf_thread.node_id = 18 OR xf_thread.node_id = 21)
AND xf_thread.thread_id <> '2135'
AND xf_thread.node_id = '78'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.006587
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_date,user_id | node_id_last_post_date | 4 | const | 39 | Using index condition; Using where; Using filesort |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.user_id | 1 | |
SELECT xf_thread.thread_id,
xf_thread.node_id,
xf_thread.title,
xf_thread.reply_count,
xf_thread.view_count,
xf_thread.username,
xf_thread.post_date,
xf_thread.last_post_date,
xf_thread.last_post_user_id,
xf_thread.last_post_username,
xf_thread.prefix_id,
xf_node.title AS nodeTitle,
xf_user.user_id,
xf_user.gender,
xf_user.avatar_date
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
INNER JOIN xf_user ON xf_user.user_id = xf_thread.user_id
WHERE xf_thread.title LIKE '%Lại%'
AND xf_thread.discussion_state = 'visible'
AND xf_thread.discussion_type <> 'redirect'
AND xf_thread.post_date >= ?
AND (xf_thread.node_id = 1 OR xf_thread.node_id = 3 OR xf_thread.node_id = 4 OR xf_thread.node_id = 5 OR xf_thread.node_id = 6 OR xf_thread.node_id = 10 OR xf_thread.node_id = 110 OR xf_thread.node_id = 12 OR xf_thread.node_id = 87 OR xf_thread.node_id = 13 OR xf_thread.node_id = 14 OR xf_thread.node_id = 77 OR xf_thread.node_id = 78 OR xf_thread.node_id = 79 OR xf_thread.node_id = 80 OR xf_thread.node_id = 81 OR xf_thread.node_id = 11 OR xf_thread.node_id = 107 OR xf_thread.node_id = 23 OR xf_thread.node_id = 82 OR xf_thread.node_id = 83 OR xf_thread.node_id = 22 OR xf_thread.node_id = 15 OR xf_thread.node_id = 17 OR xf_thread.node_id = 105 OR xf_thread.node_id = 111 OR xf_thread.node_id = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 104 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 51 OR xf_thread.node_id = 67 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62 OR xf_thread.node_id = 63 OR xf_thread.node_id = 84 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 95 OR xf_thread.node_id = 106 OR xf_thread.node_id = 72 OR xf_thread.node_id = 75 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 94 OR xf_thread.node_id = 100 OR xf_thread.node_id = 101 OR xf_thread.node_id = 93 OR xf_thread.node_id = 96 OR xf_thread.node_id = 109 OR xf_thread.node_id = 108 OR xf_thread.node_id = 97 OR xf_thread.node_id = 98 OR xf_thread.node_id = 99 OR xf_thread.node_id = 71 OR xf_thread.node_id = 16 OR xf_thread.node_id = 18 OR xf_thread.node_id = 21)
AND xf_thread.thread_id <> '2135'
AND xf_thread.node_id = '78'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.000614
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_date,user_id | node_id_last_post_date | 4 | const | 39 | Using index condition; Using where; Using filesort |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.user_id | 1 | |
SELECT xf_thread.thread_id,
xf_thread.node_id,
xf_thread.title,
xf_thread.reply_count,
xf_thread.view_count,
xf_thread.username,
xf_thread.post_date,
xf_thread.last_post_date,
xf_thread.last_post_user_id,
xf_thread.last_post_username,
xf_thread.prefix_id,
xf_node.title AS nodeTitle,
xf_user.user_id,
xf_user.gender,
xf_user.avatar_date
FROM xf_thread
INNER JOIN xf_node ON xf_node.node_id = xf_thread.node_id
INNER JOIN xf_user ON xf_user.user_id = xf_thread.user_id
WHERE xf_thread.title LIKE '%thêm%'
AND xf_thread.discussion_state = 'visible'
AND xf_thread.discussion_type <> 'redirect'
AND xf_thread.post_date >= ?
AND (xf_thread.node_id = 1 OR xf_thread.node_id = 3 OR xf_thread.node_id = 4 OR xf_thread.node_id = 5 OR xf_thread.node_id = 6 OR xf_thread.node_id = 10 OR xf_thread.node_id = 110 OR xf_thread.node_id = 12 OR xf_thread.node_id = 87 OR xf_thread.node_id = 13 OR xf_thread.node_id = 14 OR xf_thread.node_id = 77 OR xf_thread.node_id = 78 OR xf_thread.node_id = 79 OR xf_thread.node_id = 80 OR xf_thread.node_id = 81 OR xf_thread.node_id = 11 OR xf_thread.node_id = 107 OR xf_thread.node_id = 23 OR xf_thread.node_id = 82 OR xf_thread.node_id = 83 OR xf_thread.node_id = 22 OR xf_thread.node_id = 15 OR xf_thread.node_id = 17 OR xf_thread.node_id = 105 OR xf_thread.node_id = 111 OR xf_thread.node_id = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 104 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 51 OR xf_thread.node_id = 67 OR xf_thread.node_id = 61 OR xf_thread.node_id = 62 OR xf_thread.node_id = 63 OR xf_thread.node_id = 84 OR xf_thread.node_id = 85 OR xf_thread.node_id = 86 OR xf_thread.node_id = 88 OR xf_thread.node_id = 89 OR xf_thread.node_id = 90 OR xf_thread.node_id = 95 OR xf_thread.node_id = 106 OR xf_thread.node_id = 72 OR xf_thread.node_id = 75 OR xf_thread.node_id = 91 OR xf_thread.node_id = 92 OR xf_thread.node_id = 94 OR xf_thread.node_id = 100 OR xf_thread.node_id = 101 OR xf_thread.node_id = 93 OR xf_thread.node_id = 96 OR xf_thread.node_id = 109 OR xf_thread.node_id = 108 OR xf_thread.node_id = 97 OR xf_thread.node_id = 98 OR xf_thread.node_id = 99 OR xf_thread.node_id = 71 OR xf_thread.node_id = 16 OR xf_thread.node_id = 18 OR xf_thread.node_id = 21)
AND xf_thread.thread_id <> '2135'
AND xf_thread.node_id = '78'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.000576
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | ref | PRIMARY,node_id_last_post_date,node_id_sticky_state_last_post,post_date,user_id | node_id_last_post_date | 4 | const | 39 | Using index condition; Using where; Using filesort |
SIMPLE | xf_node | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.node_id | 1 | |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.xf_thread.user_id | 1 | |
INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
Params: 82bc826ce296d39f598df4461c5a441f, a:8:{s:12:"sessionStart";i:1752702208;s:2:"ip";s:4:"aU";s:11:"sessionCsrf";s:16:"YdIivYhKVymtZfwY";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1750039825;}s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1632144113;}}, 1752705808
Run Time: 0.000133
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, aU, aU, XenForo_ControllerPublic_Thread, Index, valid, thread_id=2135, 1752702208,
Run Time: 0.000072
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'BRQCT_forum_list_nodes', 'BRQCT_ad_sidebar_top', 'BRQCT_button_top_ctrl', 'sedo_agent', 'wf_widget_wrapper', 'wf_widget_online_staff', 'wf_widget_threads', 'wf_widget_stats', 'wf_widget_online_users', 'BRMS_ModernStatistic', 'BRMS_modern_statistic_header', 'thread_view', 'xenCODE_Meta_Keywords', 'wf_hook_moderator_bar', 'wf_revealer', 'PAGE_CONTAINER')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.008874
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 23 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRQCT_button_top_ctrl', 'BRMS_thread_view_tools_links')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000382
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRQCT_button_top_ctrl', 'VNXF_More_Thread')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000586
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |
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 > 1752701308)
ORDER BY session_activity.view_date DESC
Run Time: 0.009878
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.session_activity.user_id | 1 | |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc__1_thread_view', 'wfc__1_thread_view_f78')
Run Time: 0.001267
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | range | PRIMARY | PRIMARY | 27 | | 2 | Using where |
SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('wfc_982c8fb106495d9a73beb')
Run Time: 0.000263
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_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_982c8fb106495d9a73beb, a:2:{s:23:"thread_view_lock_f78_17";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1752702208;}s:23:"thread_view_lock_f78_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752701340;}}
Run Time: 0.000233
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 | | | | | 62 | 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.000189
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 62 | Using where |
SELECT thread.*
,
1 AS fetched_last_post_user, user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.last_post_user_id)
WHERE ((thread.node_id IN ('37', '2', '3', '4', '5', '7', '8', '9', '10', '12', '13', '14', '15', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '34', '35', '38', '39', '42', '43', '44', '45', '46', '47', '48', '49', '50', '40', '41', '51', '54', '55', '56', '57', '58', '59', '60', '52', '53', '61', '62', '63', '72', '75', '16', '18', '21', '64', '65', '66', '19', '20', '68', '69', '70', '76', 78, 6, 110, 87, 77, 79, 80, 81)) AND (thread.discussion_state IN ('visible')) AND (thread.reply_count > 0)) AND (thread.schedule_thread_date = 0)
ORDER BY thread.last_post_date DESC
LIMIT 15
Run Time: 0.014051
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | index | node_id_last_post_date,node_id_sticky_state_last_post | last_post_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.thread.last_post_user_id | 1 | |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id IN (80, 80, 80, 4, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 13)
Run Time: 0.000316
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 3 | Using where |
SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.node.node_id | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_thread_view_f78, a:2:{s:18:"thread_view_f78_17";a:2:{s:4:"html";s:3138:"<div class="avatarList">
<ul>
<li class="thread-7317 thread-node-80">
<a href="members/tieungunhi198.32690/" class="avatar Av32690s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="tieungunhi198" /></a>
<a title="Chia sẻ code amibroker báo điểm mua và bán" class="Tooltip"
href="posts/26295/">
Chia sẻ code amibroker báo điểm...
</a>
<div class="userTitle">
<a href="members/tieungunhi198.32690/" class="username">tieungunhi198</a> replied <span class="DateTime" title="2/7/25 lúc 15:33">2/7/25</span>
</div>
</li>
<li class="thread-12684 thread-node-80">
<a href="members/viethd68.29897/" class="avatar Av29897s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Viethd68" /></a>
<a title="Code Amibroker hiển thị top ảnh hưởng chỉ số realtime" class="Tooltip"
href="posts/26291/">
Code Amibroker hiển thị top ảnh...
</a>
<div class="userTitle">
<a href="members/viethd68.29897/" class="username">Viethd68</a> replied <span class="DateTime" title="29/6/25 lúc 15:50">29/6/25</span>
</div>
</li>
<li class="thread-15119 thread-node-80">
<a href="members/hoainam.29447/" class="avatar Av29447s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="HoaiNam" /></a>
<a
href="posts/26121/">
CODE AMIBROKER HỎI ĐÁP
</a>
<div class="userTitle">
<a href="members/hoainam.29447/" class="username">HoaiNam</a> replied <span class="DateTime" title="21/6/25 lúc 19:35">21/6/25</span>
</div>
</li>
<li class="thread-14748 thread-node-4">
<a href="members/tuan-thanh.16960/" class="avatar Av16960s" data-avatarhtml="true"><img src="data/avatars/s/16/16960.jpg?1746110243" width="48" height="48" alt="Tuấn Thành" /></a>
<a
href="posts/25729/">
Dữ liệu cổ phiếu 68
</a>
<div class="userTitle">
<a href="members/tuan-thanh.16960/" class="username">Tuấn Thành</a> replied <span class="DateTime" title="4/6/25 lúc 22:55">4/6/25</span>
</div>
</li>
<li class="thread-4289 thread-node-80">
<a href="members/nguyenjoe.8886/" class="avatar Av8886s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="nguyenjoe" /></a>
<a title="Elder Chart: Xác định vùng nào nên tham gia" class="Tooltip"
href="posts/25712/">
Elder Chart: Xác định vùng nào...
</a>
<div class="userTitle">
<a href="members/nguyenjoe.8886/" class="username">nguyenjoe</a> replied <span class="DateTime" title="30/5/25 lúc 09:49">30/5/25</span>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Đang tải...</span>
</div>
</div>
</div>";s:4:"time";i:1752702208;}s:18:"thread_view_f78_16";a:2:{s:4:"html";s:1039:"<div class="avatarList">
<ul>
<li class="thread-15551 thread-node-3">
<a href="members/taynguyenphim.32040/" class="avatar Av32040s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="taynguyenphim" /></a>
<a title="Khoá Nghệ Thuật Nói Chuyện Trước Công Chúng" class="Tooltip"
href="khoa-nghe-thuat-noi-chuyen-truoc-cong-chung.t15551.html">
Khoá Nghệ Thuật Nói Chuyện...
</a>
<div class="userTitle">
<a href="members/taynguyenphim.32040/" class="username">taynguyenphim</a> posted <abbr class="DateTime" data-time="1752652397" data-diff="48943" data-datestring="16/7/25" data-timestring="14:53">16/7/25 lúc 14:53</abbr>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Đang tải...</span>
</div>
</div>
</div>";s:4:"time";i:1752701340;}}
Run Time: 0.000336
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_982c8fb106495d9a73beb, a:2:{s:23:"thread_view_lock_f78_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752702208;}s:23:"thread_view_lock_f78_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752701340;}}
Run Time: 0.000233
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_982c8fb106495d9a73beb, a:2:{s:23:"thread_view_lock_f78_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752702208;}s:23:"thread_view_lock_f78_16";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1752702208;}}
Run Time: 0.000528
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE (((thread.node_id IN ('37', '2', '3', '4', '5', '7', '8', '9', '10', '12', '13', '14', '15', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '34', '35', '38', '39', '42', '43', '44', '45', '46', '47', '48', '49', '50', '40', '41', '51', '54', '55', '56', '57', '58', '59', '60', '52', '53', '61', '62', '63', '72', '75', '16', '18', '21', '64', '65', '66', '19', '20', '68', '69', '70', '76', 78, 6, 110, 87, 77, 79, 80, 81)) AND (thread.discussion_state IN ('visible'))) AND (thread.post_date > 1752270208)) AND (thread.schedule_thread_date = 0)
ORDER BY thread.view_count DESC
LIMIT 15
Run Time: 0.001617
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | node_id_last_post_date,node_id_sticky_state_last_post,post_date | post_date | 4 | | 99 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.thread.user_id | 1 | |
SELECT node.*, forum.*
FROM xf_forum AS forum
INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
WHERE node.node_id IN (3)
Run Time: 0.000223
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | forum | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | node | const | PRIMARY | PRIMARY | 4 | const | 1 | |
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc__1_thread_view_f78, a:2:{s:18:"thread_view_f78_17";a:2:{s:4:"html";s:3138:"<div class="avatarList">
<ul>
<li class="thread-7317 thread-node-80">
<a href="members/tieungunhi198.32690/" class="avatar Av32690s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="tieungunhi198" /></a>
<a title="Chia sẻ code amibroker báo điểm mua và bán" class="Tooltip"
href="posts/26295/">
Chia sẻ code amibroker báo điểm...
</a>
<div class="userTitle">
<a href="members/tieungunhi198.32690/" class="username">tieungunhi198</a> replied <span class="DateTime" title="2/7/25 lúc 15:33">2/7/25</span>
</div>
</li>
<li class="thread-12684 thread-node-80">
<a href="members/viethd68.29897/" class="avatar Av29897s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Viethd68" /></a>
<a title="Code Amibroker hiển thị top ảnh hưởng chỉ số realtime" class="Tooltip"
href="posts/26291/">
Code Amibroker hiển thị top ảnh...
</a>
<div class="userTitle">
<a href="members/viethd68.29897/" class="username">Viethd68</a> replied <span class="DateTime" title="29/6/25 lúc 15:50">29/6/25</span>
</div>
</li>
<li class="thread-15119 thread-node-80">
<a href="members/hoainam.29447/" class="avatar Av29447s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="HoaiNam" /></a>
<a
href="posts/26121/">
CODE AMIBROKER HỎI ĐÁP
</a>
<div class="userTitle">
<a href="members/hoainam.29447/" class="username">HoaiNam</a> replied <span class="DateTime" title="21/6/25 lúc 19:35">21/6/25</span>
</div>
</li>
<li class="thread-14748 thread-node-4">
<a href="members/tuan-thanh.16960/" class="avatar Av16960s" data-avatarhtml="true"><img src="data/avatars/s/16/16960.jpg?1746110243" width="48" height="48" alt="Tuấn Thành" /></a>
<a
href="posts/25729/">
Dữ liệu cổ phiếu 68
</a>
<div class="userTitle">
<a href="members/tuan-thanh.16960/" class="username">Tuấn Thành</a> replied <span class="DateTime" title="4/6/25 lúc 22:55">4/6/25</span>
</div>
</li>
<li class="thread-4289 thread-node-80">
<a href="members/nguyenjoe.8886/" class="avatar Av8886s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="nguyenjoe" /></a>
<a title="Elder Chart: Xác định vùng nào nên tham gia" class="Tooltip"
href="posts/25712/">
Elder Chart: Xác định vùng nào...
</a>
<div class="userTitle">
<a href="members/nguyenjoe.8886/" class="username">nguyenjoe</a> replied <span class="DateTime" title="30/5/25 lúc 09:49">30/5/25</span>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Đang tải...</span>
</div>
</div>
</div>";s:4:"time";i:1752702208;}s:18:"thread_view_f78_16";a:2:{s:4:"html";s:1039:"<div class="avatarList">
<ul>
<li class="thread-15551 thread-node-3">
<a href="members/taynguyenphim.32040/" class="avatar Av32040s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="taynguyenphim" /></a>
<a title="Khoá Nghệ Thuật Nói Chuyện Trước Công Chúng" class="Tooltip"
href="khoa-nghe-thuat-noi-chuyen-truoc-cong-chung.t15551.html">
Khoá Nghệ Thuật Nói Chuyện...
</a>
<div class="userTitle">
<a href="members/taynguyenphim.32040/" class="username">taynguyenphim</a> posted <abbr class="DateTime" data-time="1752652397" data-diff="49811" data-datestring="16/7/25" data-timestring="14:53">16/7/25 lúc 14:53</abbr>
</div>
</li>
</ul>
</div>
<div id="PreviewTooltip">
<span class="arrow"><span></span></span>
<div class="section">
<div class="primaryContent previewContent">
<span class="PreviewContents">Đang tải...</span>
</div>
</div>
</div>";s:4:"time";i:1752702208;}}
Run Time: 0.000302
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_982c8fb106495d9a73beb, a:2:{s:23:"thread_view_lock_f78_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752702208;}s:23:"thread_view_lock_f78_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1752702208;}}
Run Time: 0.000244
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000099
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_data_registry | const | PRIMARY | PRIMARY | 27 | const | 1 | |
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 > 1752701308)
ORDER BY session_activity.view_date DESC
Run Time: 0.000412
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 15 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.session_activity.user_id | 1 | |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRQCT_button_top_ctrl', 'BRQCT_navigation_tabs_forums')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000173
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('BRQCT_button_top_ctrl', 'nat_bodyjs')
AND style_id = ?
AND language_id = ?
Params: 2, 2
Run Time: 0.000479
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |