SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000215
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 = 'bánh chưng tết')
Run Time: 0.000503
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 3 | Using index condition |
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 = ?
Params: 55
Run Time: 0.000964
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 | |
SELECT cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 55
Run Time: 0.000297
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,const | 1 | |
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 (9684813, 9684812, 9652252, 9651037, 9648622, 9648325, 9644945, 9644944, 9644939, 9644938, 9644937, 9644936, 9644935, 9644933, 9644627, 9643678, 9637928, 9635437, 9632686, 9632685, 9614610, 9602953, 9595880, 9570497, 9548461, 9544919, 9527844, 9527843, 9521753, 9521751, 9521750, 9496007, 9490832, 9467421, 9453772, 9453420, 9453419, 9445576, 9443053, 9442408, 9441314, 9436193, 9436192, 9428832, 9420855, 9420479, 9418902, 9418070, 9417928, 9417906, 9410529, 9386460, 9386339, 9385486, 9384088, 9345261, 9333717, 9295762, 9291320, 9261490, 9215305, 9215304, 9212346, 9199592, 9172582, 9134407, 9131947, 9070590, 9065315, 9061896, 9058615, 9058528, 9057303, 9055788, 9055786, 9053233, 9052803, 9052802, 9049676, 9049675, 9049073, 9048460, 9048459, 9047723, 9047451, 9040546, 9029745, 9022148, 9020931, 9016793, 9016792, 9016289, 9016288, 9014747, 9005983, 9005650, 8991631, 8991449, 8991448, 8958027, 8958019, 8958018, 8957252, 8957250, 8950997, 8942492, 8940007, 8937144, 8918119, 8917589, 8893315, 8874676, 8849017, 8849016, 8836509, 8836500, 8836491, 8836489, 8834455, 8834344, 8820676, 8803997, 8796213, 8783069, 8783064, 8783063, 8763824, 8759520, 8754668, 8749561, 8749559, 8749558, 8745826, 8745072, 8744327, 8743114, 8741737, 8741736, 8741735, 8741734, 8741733, 8736581, 8736042, 8734928, 8733922, 8733221, 8732882, 8732848, 8732847, 8732843, 8729935, 8729120, 8729118, 8728321, 8727121, 8726974, 8726973, 8726971, 8726969, 8725982, 8725739, 8725733, 8725728, 8725501, 8720729, 8720727, 8720724, 8720710, 8720708, 8720696, 8720695, 8720694, 8720607, 8719854, 8719802, 8719800, 8718518, 8717741, 8717724, 8715691, 8715690, 8715540, 8714897, 8714896, 8714895, 8714894, 8714496, 8713924, 8709952, 8708768, 8708181, 8707231, 8707130, 8707127, 8707126, 8706986, 8705219, 8704990, 8704618, 8701240, 8700612, 8700493, 8700484, 8700240, 8699889, 8699740, 8699489, 8698909, 8698381, 8698226, 8697968, 8697966, 8696626, 8696060, 8695972, 8695915, 8695422, 8694500, 8693851, 8693238, 8693209, 8693162, 8693157, 8692603, 8692313, 8692257, 8691441, 8691246, 8691048, 8690554, 8689512, 8689511, 8664094, 8330667, 8327776, 8325170, 8324472, 8323927, 8323825, 8323385, 8322910, 8291241, 7842856, 7834404, 7831154, 7824313, 7820871, 7820253, 7816548, 7815096, 7810560, 7809418, 7791632, 7778709, 7746430, 7470708, 7187279, 7024593)
Run Time: 0.006206
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 258 | 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 |
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 = ?
Params: 55
Run Time: 0.000535
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 | |
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: [["tinhte_xentag_forum",55],["thread",9684813],["thread",9651037],["thread",9648325],["thread",9644945],["thread",9644944],["thread",9644939],["thread",9644938],["thread",9644937],["thread",9644936],["thread",9644935],["thread",9644933],["thread",9644627],["thread",9643678],["thread",9632686],["thread",9614610],["thread",9602953],["thread",9570497],["thread",9548461],["thread",9544919],["thread",9527844],["thread",9490832],["thread",9445576],["thread",9443053],["thread",9442408],["thread",9441314],["thread",9436193],["thread",9420855],["thread",9420479],["thread",9418902],["thread",9418070],["thread",9417906],["thread",9410529],["thread",9386460],["thread",9295762],["thread",9261490],["thread",9212346],["thread",9199592],["thread",9134407],["thread",9070590],["thread",9065315],["thread",9058528],["thread",9052803],["thread",9049676],["thread",9049073],["thread",9048460],["thread",9047723],["thread",9047451],["thread",9040546],["thread",9029745],["thread",9022148],["thread",9020931],["thread",9014747],["thread",9005983],["thread",9005650],["thread",8991631],["thread",8991449],["thread",8957252],["thread",8942492],["thread",8937144],["thread",8834344],["thread",8820676],["thread",8759520],["thread",8754668],["thread",8745826],["thread",8745072],["thread",8744327],["thread",8741737],["thread",8733922],["thread",8733221],["thread",8732882],["thread",8732848],["thread",8729935],["thread",8729120],["thread",8728321],["thread",8726974],["thread",8725982],["thread",8725728],["thread",8725501],["thread",8720607],["thread",8719854],["thread",8719802],["thread",8718518],["thread",8717741],["thread",8717724],["thread",8715691],["thread",8715540],["thread",8714897],["thread",8714496],["thread",8708768],["thread",8708181],["thread",8707231],["thread",8707130],["thread",8706986],["thread",8705219],["thread",8704990],["thread",8704618],["thread",8701240],["thread",8700612],["thread",8700484],["thread",8700240],["thread",8698909],["thread",8698381],["thread",8697968],["thread",8697966],["thread",8696626],["thread",8695972],["thread",8695915],["thread",8694500],["thread",8693851],["thread",8693238],["thread",8693162],["thread",8692603],["thread",8692313],["thread",8691246],["thread",8689512],["thread",8664094],["thread",8330667],["thread",8327776],["thread",8324472],["thread",8323825],["thread",8323385],["thread",8322910],["thread",8291241],["thread",7842856],["thread",7834404],["thread",7831154],["thread",7824313],["thread",7820871],["thread",7820253],["thread",7816548],["thread",7815096],["thread",7810560],["thread",7809418],["thread",7791632],["thread",7778709],["thread",7746430],["thread",7470708],["thread",7187279],["thread",7024593]], 140, tinhte_xentag_tag, , {"tags":["b\u00e1nh ch\u01b0ng t\u1ebft"]}, date, 0, , [], 0, 1656286536, 6a51d204ef14a87a7334a9f95ca95c27
Run Time: 0.000515
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 = ?
Params: 55
Run Time: 0.000448
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 | |
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 (9684813, 9651037, 9648325, 9644945, 9644944, 9644939, 9644938, 9644937, 9644936, 9644935, 9644933, 9644627, 9643678, 9632686, 9614610, 9602953, 9570497, 9548461, 9544919)
Run Time: 0.001441
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 19 | 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: 533208
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, υ, υ, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=b%C3%A1nh+ch%C6%B0ng+t%E1%BA%BFt, 1656286536,
Run Time: 0.000347
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000239
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 > 1656285636)
ORDER BY session_activity.view_date DESC
Run Time: 0.003049
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1390 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |