SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000223
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SELECT tag.*
,
0 AS tag_is_watched
FROM `xf_tinhte_xentag_tag` AS tag
WHERE (tag.tag_text = 'hải sản')
Run Time: 0.000632
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 5 | Using index condition |
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9738069, 9738067, 9738066, 9738064, 9721326, 9694127, 9694126, 9679002, 9665323, 9647050, 9642528, 9636332, 9623442, 9621779, 9608099, 9605397, 9602432, 9602429, 9599371, 9599370, 9577499, 9544390, 9535908, 9502460, 9500223, 9498001, 9485530, 9484640, 9483143, 9479999, 9476092, 9474115, 9467835, 9466898, 9461627, 9459406, 9439093, 9439092, 9423608, 9423605, 9423567, 9423560, 9423550, 9399626, 9376858, 9376503, 9376502, 9376346, 9372120, 9372094, 9352223, 9352222, 9343253, 9333939, 9328088, 9318066, 9315065, 9315062, 9314945, 9311756, 9311754, 9307414, 9307409, 9307405, 9307378, 9304894, 9300309, 9292752, 9289736, 9289122, 9288245, 9283222, 9273811, 9248349, 9247935, 9235492, 9235457, 9235423, 9233281, 9223723, 9216183, 9215735, 9215368, 9149574, 9135175, 9135091, 9134078, 9134077, 9133817, 9126518, 9124909, 9123061, 9123060, 9109132, 9104851, 9091812, 9091456, 9062877, 9062876, 9062875, 9044835, 9030984, 9018522, 9000219, 9000218, 8995498, 8995497, 8992901, 8992900, 8956605, 8956600, 8944661, 8940186, 8929135, 8929093, 8929090, 8927277, 8925323, 8920569, 8880099, 8880061, 8880033, 8855690, 8855686, 8847624, 8844321, 8759781, 8695286, 8686848, 8685546, 8685437, 8683755, 8681480, 8681255, 8680395, 8680375, 8680369, 8680322, 8679501, 8679484, 8679473, 8678077, 8678076, 8678075, 8665838, 8644362, 8624419, 8622728, 8607494, 8580578, 8550568, 8542090, 8517569, 8486228, 8459089, 8436440, 8429700, 8397106, 8391308, 8338143, 8283290, 8275193, 8259053, 8254263, 8253422, 8253421, 8249737, 8249734, 8245385, 8239627, 8239626, 8235592, 8225011, 8194082, 8145122, 8145100, 8123628, 8121212, 8109379, 8098713, 8094882, 4443291, 4386854, 3328012, 2621186, 729158)
Run Time: 0.006965
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 186 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Params: [["thread",9694127],["thread",9679002],["thread",9665323],["thread",9647050],["thread",9642528],["thread",9636332],["thread",9623442],["thread",9621779],["thread",9608099],["thread",9599371],["thread",9535908],["thread",9502460],["thread",9500223],["thread",9498001],["thread",9484640],["thread",9483143],["thread",9479999],["thread",9476092],["thread",9467835],["thread",9466898],["thread",9461627],["thread",9459406],["thread",9439093],["thread",9423608],["thread",9423567],["thread",9423560],["thread",9423550],["thread",9376858],["thread",9376503],["thread",9376346],["thread",9372120],["thread",9328088],["thread",9315065],["thread",9314945],["thread",9311756],["thread",9311754],["thread",9307409],["thread",9307405],["thread",9307378],["thread",9288245],["thread",9283222],["thread",9273811],["thread",9248349],["thread",9235492],["thread",9235457],["thread",9235423],["thread",9233281],["thread",9149574],["thread",9135175],["thread",9135091],["thread",9133817],["thread",9126518],["thread",9124909],["thread",9109132],["thread",9104851],["thread",9091812],["thread",9062877],["thread",9044835],["thread",9000219],["thread",8995498],["thread",8992901],["thread",8956600],["thread",8944661],["thread",8940186],["thread",8929135],["thread",8929093],["thread",8927277],["thread",8920569],["thread",8855690],["thread",8847624],["thread",8844321],["thread",8695286],["thread",8686848],["thread",8685546],["thread",8685437],["thread",8683755],["thread",8681255],["thread",8680395],["thread",8680322],["thread",8678077],["thread",8665838],["thread",8644362],["thread",8624419],["thread",8622728],["thread",8607494],["thread",8580578],["thread",8550568],["thread",8542090],["thread",8486228],["thread",8459089],["thread",8436440],["thread",8429700],["thread",8397106],["thread",8391308],["thread",8338143],["thread",8275193],["thread",8225011],["thread",8145122],["thread",8145100],["thread",8123628],["thread",8121212],["thread",8109379],["thread",8098713]], 103, tinhte_xentag_tag, , {"tags":["h\u1ea3i s\u1ea3n"]}, date, 0, , [], 0, 1715385713, 1cd2f213ae61bdd276e1659f480283d5
Run Time: 0.000570
SELECT thread.*
,
user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
node.title AS node_title, node.node_name,
post.message, post.attach_count,
NULL AS thread_read_date,
0 AS user_post_count,
permission.cache_value AS node_permission_cache
FROM xf_thread AS thread
LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
LEFT JOIN xf_node AS node ON
(node.node_id = thread.node_id)
LEFT JOIN xf_post AS post ON
(post.post_id = thread.first_post_id)
LEFT JOIN xf_permission_cache_content AS permission
ON (permission.permission_combination_id = 1
AND permission.content_type = 'node'
AND permission.content_id = thread.node_id)
WHERE thread.thread_id IN (9694127, 9679002, 9665323, 9647050, 9642528, 9636332, 9623442, 9621779, 9608099, 9599371, 9535908, 9502460, 9500223, 9498001, 9484640, 9483143, 9479999, 9476092, 9467835, 9466898)
Run Time: 0.001598
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 20 | Using where |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.user_id | 1 | |
SIMPLE | node | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.node_id | 1 | |
SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.thread.first_post_id | 1 | |
SIMPLE | permission | eq_ref | PRIMARY | PRIMARY | 35 | const,const,5s_db1.thread.node_id | 1 | Using where |
INSERT INTO xf_tinhte_xentag_tag_view
(tag_id)
VALUES
(?)
Params: 11673
Run Time: 0.000293
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, 6?, 6?, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=h%E1%BA%A3i+s%E1%BA%A3n, 1715385713,
Run Time: 0.000327
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000218
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_widget | ALL | | | | | 17 | Using where; Using filesort |
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 > 1715384813)
ORDER BY session_activity.view_date DESC
Run Time: 0.003789
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2256 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |