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.000549
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.000172
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.000118
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.000129
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: 12766
Run Time: 0.000331
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: 12
Run Time: 0.000825
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: 12766
Run Time: 0.002992
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 (23589)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.001686
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 | 2 | 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: 12766
Run Time: 0.000326
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 != 12766 AND xf_thread.post_date < 1747611434 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.thread_id DESC
LIMIT 2
Run Time: 0.008843
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 | | 2 | 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 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 (25611)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000438
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 | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.attachment.data_id | 1 | |
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 (25526)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000206
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 | 3 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.attachment.data_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 != 12766 AND xf_thread.post_date > 1747006634 AND xf_thread.post_date < 1747611434 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.view_count DESC
LIMIT 5
Run Time: 0.001548
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 | | 210 | 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 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 (25526)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000206
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 | 3 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.attachment.data_id | 1 | |
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 (25433)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000186
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 | 1 | Using index condition; Using where |
SIMPLE | data | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.attachment.data_id | 1 | |
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000267
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.000920
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.000391
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session_activity | ref | PRIMARY | PRIMARY | 4 | const | 424 | 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 '%Tối%'
AND xf_thread.title LIKE '%hoá%'
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 <> '12766'
AND xf_thread.node_id = '12'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.002591
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 | 108 | 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 '%Tố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 <> '12766'
AND xf_thread.node_id = '12'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.000865
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 | 108 | 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 '%hoá%'
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 <> '12766'
AND xf_thread.node_id = '12'
AND (xf_thread.node_id <> 0)
AND xf_thread.thread_id <> 5691
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 4
Run Time: 0.000811
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 | 108 | 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: f4be137e0807f7391c9cf29151925c37, , 1747615034
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_Thread, Index, valid, thread_id=12766, 1747611434,
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.007999
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.000431
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.000560
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 > 1747610534)
ORDER BY session_activity.view_date DESC
Run Time: 0.000580
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 55 | 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_f12')
Run Time: 0.001365
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_e3e702e87dfabfb6c1473')
Run Time: 0.000547
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_e3e702e87dfabfb6c1473, a:2:{s:23:"thread_view_lock_f12_17";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1747611434;}s:23:"thread_view_lock_f12_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747610663;}}
Run Time: 0.000266
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000258
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.000170
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', 6, 110, 87, 77, 78, 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.008202
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 | | 16 | 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, 13, 80, 80, 80, 80, 80, 14, 10, 80, 80, 80, 80)
Run Time: 0.000273
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 4 | 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_f12, a:2:{s:18:"thread_view_f12_17";a:2:{s:4:"html";s:3294:"<div class="avatarList">
<ul>
<li class="thread-3996 thread-node-80">
<a href="members/pi-thu.32150/" class="avatar Av32150s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Pi Thủ" /></a>
<a title="Chia sẻ code Amibroker tìm hiệu suất của Ngành" class="Tooltip"
href="posts/25394/">
Chia sẻ code Amibroker tìm hiệu...
</a>
<div class="userTitle">
<a href="members/pi-thu.32150/" class="username">Pi Thủ</a> replied <span class="DateTime" title="10/5/25 lúc 10:59">10/5/25</span>
</div>
</li>
<li class="thread-8717 thread-node-80">
<a href="members/pi-thu.32150/" class="avatar Av32150s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Pi Thủ" /></a>
<a title="Bộ code siêu Long dành cho các bác đánh trường phái đầu tư dài hạn" class="Tooltip"
href="posts/25198/">
Bộ code siêu Long dành cho các...
</a>
<div class="userTitle">
<a href="members/pi-thu.32150/" class="username">Pi Thủ</a> replied <span class="DateTime" title="30/4/25 lúc 17:42">30/4/25</span>
</div>
</li>
<li class="thread-4315 thread-node-80">
<a href="members/hungtqhp.10208/" class="avatar Av10208s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Hungtqhp" /></a>
<a title="Phần mềm Amibroker (các phiên bản mới nhất)" class="Tooltip"
href="posts/24660/">
Phần mềm Amibroker (các...
</a>
<div class="userTitle">
<a href="members/hungtqhp.10208/" class="username">Hungtqhp</a> replied <span class="DateTime" title="3/4/25 lúc 07:29">3/4/25</span>
</div>
</li>
<li class="thread-13703 thread-node-13">
<a href="members/bulubuloa87.16521/" class="avatar Av16521s" data-avatarhtml="true"><img src="data/avatars/s/16/16521.jpg?1724380991" width="48" height="48" alt="Bulubuloa87" /></a>
<a title="Nhận Định Thị Trường Crypto 31-03-25: Phân Tích Bitcoin Và Coin Tiềm Năng Theo Phương Pháp Wyckoff/V" class="Tooltip"
href="posts/24653/">
Nhận Định Thị Trường Crypto...
</a>
<div class="userTitle">
<a href="members/bulubuloa87.16521/" class="username">Bulubuloa87</a> replied <span class="DateTime" title="1/4/25 lúc 15:39">1/4/25</span>
</div>
</li>
<li class="thread-13679 thread-node-80">
<a href="members/lacdasynuoc.16132/" class="avatar Av16132s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="lacdasynuoc" /></a>
<a
href="posts/24647/">
Code RS Rating
</a>
<div class="userTitle">
<a href="members/lacdasynuoc.16132/" class="username">lacdasynuoc</a> replied <span class="DateTime" title="30/3/25 lúc 18:26">30/3/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:1747611434;}s:18:"thread_view_f12_16";a:2:{s:4:"html";s:0:"";s:4:"time";i:1747610663;}}
Run Time: 0.000269
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_e3e702e87dfabfb6c1473, a:2:{s:23:"thread_view_lock_f12_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747611434;}s:23:"thread_view_lock_f12_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747610663;}}
Run Time: 0.000419
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_e3e702e87dfabfb6c1473, a:2:{s:23:"thread_view_lock_f12_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747611434;}s:23:"thread_view_lock_f12_16";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1747611434;}}
Run Time: 0.000181
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', 6, 110, 87, 77, 78, 79, 80, 81)) AND (thread.discussion_state IN ('visible'))) AND (thread.post_date > 1747179434)) AND (thread.schedule_thread_date = 0)
ORDER BY thread.view_count DESC
LIMIT 15
Run Time: 0.001386
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 | | 139 | Using index condition; Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | kakatavn_db.thread.user_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_f12, a:2:{s:18:"thread_view_f12_17";a:2:{s:4:"html";s:3294:"<div class="avatarList">
<ul>
<li class="thread-3996 thread-node-80">
<a href="members/pi-thu.32150/" class="avatar Av32150s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Pi Thủ" /></a>
<a title="Chia sẻ code Amibroker tìm hiệu suất của Ngành" class="Tooltip"
href="posts/25394/">
Chia sẻ code Amibroker tìm hiệu...
</a>
<div class="userTitle">
<a href="members/pi-thu.32150/" class="username">Pi Thủ</a> replied <span class="DateTime" title="10/5/25 lúc 10:59">10/5/25</span>
</div>
</li>
<li class="thread-8717 thread-node-80">
<a href="members/pi-thu.32150/" class="avatar Av32150s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Pi Thủ" /></a>
<a title="Bộ code siêu Long dành cho các bác đánh trường phái đầu tư dài hạn" class="Tooltip"
href="posts/25198/">
Bộ code siêu Long dành cho các...
</a>
<div class="userTitle">
<a href="members/pi-thu.32150/" class="username">Pi Thủ</a> replied <span class="DateTime" title="30/4/25 lúc 17:42">30/4/25</span>
</div>
</li>
<li class="thread-4315 thread-node-80">
<a href="members/hungtqhp.10208/" class="avatar Av10208s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="Hungtqhp" /></a>
<a title="Phần mềm Amibroker (các phiên bản mới nhất)" class="Tooltip"
href="posts/24660/">
Phần mềm Amibroker (các...
</a>
<div class="userTitle">
<a href="members/hungtqhp.10208/" class="username">Hungtqhp</a> replied <span class="DateTime" title="3/4/25 lúc 07:29">3/4/25</span>
</div>
</li>
<li class="thread-13703 thread-node-13">
<a href="members/bulubuloa87.16521/" class="avatar Av16521s" data-avatarhtml="true"><img src="data/avatars/s/16/16521.jpg?1724380991" width="48" height="48" alt="Bulubuloa87" /></a>
<a title="Nhận Định Thị Trường Crypto 31-03-25: Phân Tích Bitcoin Và Coin Tiềm Năng Theo Phương Pháp Wyckoff/V" class="Tooltip"
href="posts/24653/">
Nhận Định Thị Trường Crypto...
</a>
<div class="userTitle">
<a href="members/bulubuloa87.16521/" class="username">Bulubuloa87</a> replied <span class="DateTime" title="1/4/25 lúc 15:39">1/4/25</span>
</div>
</li>
<li class="thread-13679 thread-node-80">
<a href="members/lacdasynuoc.16132/" class="avatar Av16132s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="lacdasynuoc" /></a>
<a
href="posts/24647/">
Code RS Rating
</a>
<div class="userTitle">
<a href="members/lacdasynuoc.16132/" class="username">lacdasynuoc</a> replied <span class="DateTime" title="30/3/25 lúc 18:26">30/3/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:1747611434;}s:18:"thread_view_f12_16";a:2:{s:4:"html";s:0:"";s:4:"time";i:1747611434;}}
Run Time: 0.000273
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_e3e702e87dfabfb6c1473, a:2:{s:23:"thread_view_lock_f12_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747611434;}s:23:"thread_view_lock_f12_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1747611434;}}
Run Time: 0.000161
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000091
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 > 1747610534)
ORDER BY session_activity.view_date DESC
Run Time: 0.000540
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 55 | 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.000127
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.000400
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |