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.004183
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.000139
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.000100
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.000708
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: 12438
Run Time: 0.000669
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: 107
Run Time: 0.001086
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: 12438
Run Time: 0.003158
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 | 1 | 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 |
INSERT DELAYED INTO xf_thread_view
(thread_id)
VALUES
(?)
Params: 12438
Run Time: 0.000088
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 != 12438 AND xf_thread.post_date < 1742221715 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.thread_id DESC
LIMIT 2
Run Time: 0.004555
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 (24567)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.001664
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 | 6 | 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 != 12438 AND xf_thread.post_date > 1741616915 AND xf_thread.post_date < 1742221715 AND xf_thread.discussion_state = 'visible'
ORDER BY xf_thread.view_count DESC
LIMIT 5
Run Time: 0.001226
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 | | 56 | 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 (24560)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000231
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 (24567)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000210
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 | 6 | 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 (24559)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000201
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 (24565)
ORDER BY attachment.content_id, attachment.attach_date
Params: post
Run Time: 0.000179
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 | | | | | 61 | 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.000429
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 61 | Using where |
SELECT params
FROM xf_session_activity
WHERE user_id = ?
AND controller_action = 'CreateThread'
Params: 0
Run Time: 0.000349
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_session_activity | ref | PRIMARY | PRIMARY | 4 | const | 403 | 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 '%Mỹ%'
AND xf_thread.title LIKE '%là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 = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 51 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 104 OR xf_thread.node_id = 105 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 <> '12438'
AND xf_thread.node_id = '107'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.002400
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 | 25 | 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 '%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 = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 51 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 104 OR xf_thread.node_id = 105 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 <> '12438'
AND xf_thread.node_id = '107'
AND (xf_thread.node_id <> 0)
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 5
Run Time: 0.000553
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 | 25 | 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à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 = 40 OR xf_thread.node_id = 41 OR xf_thread.node_id = 51 OR xf_thread.node_id = 102 OR xf_thread.node_id = 103 OR xf_thread.node_id = 104 OR xf_thread.node_id = 105 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 <> '12438'
AND xf_thread.node_id = '107'
AND (xf_thread.node_id <> 0)
AND xf_thread.thread_id <> 12827 AND xf_thread.thread_id <> 12312
ORDER BY xf_thread.thread_id DESC
LIMIT ?
Params: 0, 3
Run Time: 0.000543
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 | 25 | 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: a91d12ff780781fdd278b600e5f3fa92, , 1742225315
Run Time: 0.000124
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=12438, 1742221715,
Run Time: 0.000074
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.003306
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.000375
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.000665
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 > 1742220815)
ORDER BY session_activity.view_date DESC
Run Time: 0.000746
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 51 | 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_f107')
Run Time: 0.001259
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_b3e581669200316c73907')
Run Time: 0.000459
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_b3e581669200316c73907, a:2:{s:24:"thread_view_lock_f107_17";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1742221715;}s:24:"thread_view_lock_f107_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221078;}}
Run Time: 0.000278
SELECT *
FROM xf_node
ORDER BY lft ASC
Run Time: 0.000307
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_node | ALL | | | | | 61 | 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.000207
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | ref | PRIMARY | PRIMARY | 31 | const,const | 61 | 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', 107, 11, 82, 83)) 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.009079
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 | | 22 | 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 (14, 10, 51, 12, 10, 10, 41, 5, 10, 10, 12, 14, 10, 12, 13)
Run Time: 0.000699
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | node | range | PRIMARY | PRIMARY | 4 | | 7 | 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_f107, a:2:{s:19:"thread_view_f107_17";a:2:{s:4:"html";s:3420:"<div class="avatarList">
<ul>
<li class="thread-12757 thread-node-14">
<a href="members/tieuquy.24466/" class="avatar Av24466s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="tieuquy" /></a>
<a title="Nhật Ký Một Số Mẫu Hình Đẹp Trong Thời Gian Thực" class="Tooltip"
href="posts/24568/">
Nhật Ký Một Số Mẫu Hình Đẹp...
</a>
<div class="userTitle">
<a href="members/tieuquy.24466/" class="username">tieuquy</a> replied <abbr class="DateTime" data-time="1741836310" data-diff="385405" data-datestring="13/3/25" data-timestring="10:25">13/3/25 lúc 10:25</abbr>
</div>
</li>
<li class="thread-5111 thread-node-10">
<a href="members/chickenmouse.13491/" class="avatar Av13491s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="chickenmouse" /></a>
<a title="Phần mềm tradeguider phái wycoff chính thống nhất (vsa)" class="Tooltip"
href="posts/24564/">
Phần mềm tradeguider phái...
</a>
<div class="userTitle">
<a href="members/chickenmouse.13491/" class="username">chickenmouse</a> replied <abbr class="DateTime" data-time="1741787109" data-diff="434606" data-datestring="12/3/25" data-timestring="20:45">12/3/25 lúc 20:45</abbr>
</div>
</li>
<li class="thread-13211 thread-node-51">
<a href="members/tuan-thanh.16960/" class="avatar Av16960s" data-avatarhtml="true"><img src="data/avatars/s/16/16960.jpg?1646233070" width="48" height="48" alt="Tuấn Thành" /></a>
<a title="Chiến Lược Đầu Tư Với Chỉ Báo RSI: Bí Quyết Đơn Giản Cho Nhà Đầu Tư Mới" class="Tooltip"
href="posts/24459/">
Chiến Lược Đầu Tư Với Chỉ Báo...
</a>
<div class="userTitle">
<a href="members/tuan-thanh.16960/" class="username">Tuấn Thành</a> replied <span class="DateTime" title="18/2/25 lúc 10:40">18/2/25</span>
</div>
</li>
<li class="thread-12405 thread-node-12">
<a href="members/kingsman37.14937/" class="avatar Av14937s" data-avatarhtml="true"><img src="data/avatars/s/14/14937.jpg?1638354308" width="48" height="48" alt="Kingsman37" /></a>
<a title="Chuyên Đề VSA - Bài 11: Testing For Supply" class="Tooltip"
href="posts/24445/">
Chuyên Đề VSA - Bài 11:...
</a>
<div class="userTitle">
<a href="members/kingsman37.14937/" class="username">Kingsman37</a> replied <span class="DateTime" title="17/2/25 lúc 19:02">17/2/25</span>
</div>
</li>
<li class="thread-13094 thread-node-10">
<a href="members/ngxlamdntd.18359/" class="avatar Av18359s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="ngxlamdntd" /></a>
<a
href="posts/24179/">
fibonaci
</a>
<div class="userTitle">
<a href="members/ngxlamdntd.18359/" class="username">ngxlamdntd</a> replied <span class="DateTime" title="5/2/25 lúc 11:56">5/2/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:1742221715;}s:19:"thread_view_f107_16";a:2:{s:4:"html";s:938:"<div class="avatarList">
<ul>
<li class="thread-13627 thread-node-10">
<a href="members/midi-stock49.26584/" class="avatar Av26584s" data-avatarhtml="true"><img src="data/avatars/s/26/26584.jpg?1715613309" width="48" height="48" alt="midi_stock49" /></a>
<a
href="vnindex-ngay-12-3-dien-bien-ra-sao.t13627.html">
VNINDEX ngày 12/3 diễn biến ra sao?
</a>
<div class="userTitle">
<a href="members/midi-stock49.26584/" class="username">midi_stock49</a> posted <abbr class="DateTime" data-time="1741791354" data-diff="429724" data-datestring="12/3/25" data-timestring="21:55">12/3/25 lúc 21:55</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:1742221078;}}
Run Time: 0.000379
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_b3e581669200316c73907, a:2:{s:24:"thread_view_lock_f107_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221715;}s:24:"thread_view_lock_f107_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221078;}}
Run Time: 0.000242
INSERT INTO xf_data_registry
(data_key, data_value)
VALUES
(?, ?)
ON DUPLICATE KEY UPDATE
data_value = VALUES(data_value)
Params: wfc_b3e581669200316c73907, a:2:{s:24:"thread_view_lock_f107_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221715;}s:24:"thread_view_lock_f107_16";a:2:{s:4:"html";s:1:"1";s:4:"time";i:1742221715;}}
Run Time: 0.000219
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', 107, 11, 82, 83)) AND (thread.discussion_state IN ('visible'))) AND (thread.post_date > 1741789715)) AND (thread.schedule_thread_date = 0)
ORDER BY thread.view_count DESC
LIMIT 15
Run Time: 0.001327
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 | | 43 | 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 (10)
Run Time: 0.000328
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_f107, a:2:{s:19:"thread_view_f107_17";a:2:{s:4:"html";s:3420:"<div class="avatarList">
<ul>
<li class="thread-12757 thread-node-14">
<a href="members/tieuquy.24466/" class="avatar Av24466s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_s.png" width="48" height="48" alt="tieuquy" /></a>
<a title="Nhật Ký Một Số Mẫu Hình Đẹp Trong Thời Gian Thực" class="Tooltip"
href="posts/24568/">
Nhật Ký Một Số Mẫu Hình Đẹp...
</a>
<div class="userTitle">
<a href="members/tieuquy.24466/" class="username">tieuquy</a> replied <abbr class="DateTime" data-time="1741836310" data-diff="385405" data-datestring="13/3/25" data-timestring="10:25">13/3/25 lúc 10:25</abbr>
</div>
</li>
<li class="thread-5111 thread-node-10">
<a href="members/chickenmouse.13491/" class="avatar Av13491s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="chickenmouse" /></a>
<a title="Phần mềm tradeguider phái wycoff chính thống nhất (vsa)" class="Tooltip"
href="posts/24564/">
Phần mềm tradeguider phái...
</a>
<div class="userTitle">
<a href="members/chickenmouse.13491/" class="username">chickenmouse</a> replied <abbr class="DateTime" data-time="1741787109" data-diff="434606" data-datestring="12/3/25" data-timestring="20:45">12/3/25 lúc 20:45</abbr>
</div>
</li>
<li class="thread-13211 thread-node-51">
<a href="members/tuan-thanh.16960/" class="avatar Av16960s" data-avatarhtml="true"><img src="data/avatars/s/16/16960.jpg?1646233070" width="48" height="48" alt="Tuấn Thành" /></a>
<a title="Chiến Lược Đầu Tư Với Chỉ Báo RSI: Bí Quyết Đơn Giản Cho Nhà Đầu Tư Mới" class="Tooltip"
href="posts/24459/">
Chiến Lược Đầu Tư Với Chỉ Báo...
</a>
<div class="userTitle">
<a href="members/tuan-thanh.16960/" class="username">Tuấn Thành</a> replied <span class="DateTime" title="18/2/25 lúc 10:40">18/2/25</span>
</div>
</li>
<li class="thread-12405 thread-node-12">
<a href="members/kingsman37.14937/" class="avatar Av14937s" data-avatarhtml="true"><img src="data/avatars/s/14/14937.jpg?1638354308" width="48" height="48" alt="Kingsman37" /></a>
<a title="Chuyên Đề VSA - Bài 11: Testing For Supply" class="Tooltip"
href="posts/24445/">
Chuyên Đề VSA - Bài 11:...
</a>
<div class="userTitle">
<a href="members/kingsman37.14937/" class="username">Kingsman37</a> replied <span class="DateTime" title="17/2/25 lúc 19:02">17/2/25</span>
</div>
</li>
<li class="thread-13094 thread-node-10">
<a href="members/ngxlamdntd.18359/" class="avatar Av18359s" data-avatarhtml="true"><img src="styles/otovungtau/xenforo/avatars/avatar_male_s.png" width="48" height="48" alt="ngxlamdntd" /></a>
<a
href="posts/24179/">
fibonaci
</a>
<div class="userTitle">
<a href="members/ngxlamdntd.18359/" class="username">ngxlamdntd</a> replied <span class="DateTime" title="5/2/25 lúc 11:56">5/2/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:1742221715;}s:19:"thread_view_f107_16";a:2:{s:4:"html";s:938:"<div class="avatarList">
<ul>
<li class="thread-13627 thread-node-10">
<a href="members/midi-stock49.26584/" class="avatar Av26584s" data-avatarhtml="true"><img src="data/avatars/s/26/26584.jpg?1715613309" width="48" height="48" alt="midi_stock49" /></a>
<a
href="vnindex-ngay-12-3-dien-bien-ra-sao.t13627.html">
VNINDEX ngày 12/3 diễn biến ra sao?
</a>
<div class="userTitle">
<a href="members/midi-stock49.26584/" class="username">midi_stock49</a> posted <abbr class="DateTime" data-time="1741791354" data-diff="430361" data-datestring="12/3/25" data-timestring="21:55">12/3/25 lúc 21:55</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:1742221715;}}
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_b3e581669200316c73907, a:2:{s:24:"thread_view_lock_f107_17";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221715;}s:24:"thread_view_lock_f107_16";a:2:{s:4:"html";s:1:"0";s:4:"time";i:1742221715;}}
Run Time: 0.000229
SELECT data_value
FROM xf_data_registry
WHERE data_key = ?
Params: boardTotals
Run Time: 0.000112
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 > 1742220815)
ORDER BY session_activity.view_date DESC
Run Time: 0.000821
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | range | view_date | view_date | 4 | | 51 | 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.000171
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.000381
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_template_compiled | range | PRIMARY | PRIMARY | 60 | | 2 | Using where |