SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000214
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 = 'các loại cá khô')
Run Time: 0.000432
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 1 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 45755454
Run Time: 0.000349
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
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.000670
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.000323
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 (9675712, 9675705, 9667998, 9667997, 9667996, 9664733, 9652252, 9649847, 9646228, 9644934, 9644932, 9644056, 9642528, 9641145, 9639066, 9639064, 9639063, 9637928, 9632761, 9632685, 9628712, 9625958, 9619426, 9619425, 9618488, 9618161, 9615675, 9602949, 9600406, 9596871, 9596870, 9596061, 9595752, 9592719, 9588223, 9578740, 9578739, 9572573, 9566097, 9566086, 9565020, 9544919, 9532843, 9530789, 9527318, 9507832, 9498001, 9496981, 9487768, 9487738, 9479903, 9472618, 9471526, 9471104, 9469621, 9469620, 9469103, 9467421, 9431480, 9428174, 9424035, 9424032, 9424020, 9424014, 9424007, 9410102, 9408796, 9407831, 9407726, 9403379, 9385487, 9385486, 9372094, 9366715, 9345261, 9341981, 9333717, 9317155, 9296315, 9296260, 9293152, 9292985, 9292580, 9285979, 9270850, 9257205, 9250580, 9249051, 9248779, 9247173, 9235790, 9234694, 9230623, 9215248, 9215060, 9208385, 9206063, 9205425, 9205424, 9199375, 9191383, 9191382, 9182111, 9172510, 9166880, 9154760, 9143597, 9143235, 9143100, 9139196, 9134407, 9134078, 9134077, 9131947, 9119628, 9119576, 9117438, 9117437, 9108355, 9107685, 9107683, 9106908, 9106851, 9098694, 9098693, 9080190, 9076512, 9072674, 9072575, 9071499, 9071313, 9069526, 9067073, 9067069, 9066278, 9062453, 9059945, 9059944, 9057007, 9056262, 9056003, 9055789, 9055788, 9055786, 9054567, 9054505, 9054028, 9052803, 9052802, 9049968, 9048624, 9042767, 9030406, 9025331, 9025330, 9024145, 9021619, 9021617, 9016292, 9016289, 9016288, 9009968, 8999147, 8995498, 8995497, 8993850, 8993841, 8992900, 8989055, 8986860, 8986791, 8979887, 8979331, 8977096, 8975005, 8973952, 8961990, 8957784, 8950798, 8950797, 8945879, 8942563, 8941471, 8941440, 8940008, 8940007, 8929135, 8926944, 8926943, 8926829, 8923554, 8919262, 8917589, 8913105, 8910200, 8908425, 8905661, 8891445, 8890733, 8890217, 8890215, 8885812, 8883649, 8871656, 8863398, 8858107, 8858106, 8847624, 8846480, 8846479, 8839728, 8839709, 8839707, 8839706, 8834753, 8834455, 8833642, 8829910, 8816512, 8815973, 8812292, 8812291, 8812290, 8808839, 8796984, 8787426, 8787424, 8783064, 8783063, 8779711, 8778529, 8776745, 8772674, 8764172, 8761771, 8761312, 8758614, 8755503, 8752987, 8752986, 8752983, 8746410, 8746341, 8746340, 8745826, 8745356, 8742143, 8742142, 8741736, 8741735, 8741734, 8741733, 8739900, 8739411, 8735715, 8731173, 8730601, 8729118, 8726973, 8726971, 8726969, 8725115, 8725114, 8723458, 8719802, 8719800, 8718963, 8718927, 8718924, 8716263, 8715311, 8713925, 8713924, 8709793, 8704912, 8699705, 8696553, 8694077, 8691347, 8689511, 8673559, 8647158, 8626348, 8625290, 8580578, 8542090, 8498911, 8453988, 8433663, 8427841, 8401813, 8395579, 8382598, 8364464, 8363230, 8359418, 8355353, 8294485, 8284360, 8274119, 8251434, 8242917, 8241693, 8240821, 8232919, 8220141, 8214591, 8133317, 8115086, 8069233, 8039882, 7859180, 7795265, 7761904, 7748609, 7728601, 7684951, 7608985, 7574304, 7474375, 7178607, 7173402)
Run Time: 0.010205
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 322 | 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.000694
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",9675712],["thread",9675705],["thread",9667998],["thread",9664733],["thread",9649847],["thread",9644934],["thread",9644932],["thread",9644056],["thread",9642528],["thread",9641145],["thread",9639066],["thread",9632761],["thread",9628712],["thread",9625958],["thread",9619426],["thread",9618488],["thread",9602949],["thread",9600406],["thread",9596871],["thread",9596061],["thread",9595752],["thread",9572573],["thread",9566097],["thread",9566086],["thread",9544919],["thread",9532843],["thread",9530789],["thread",9527318],["thread",9507832],["thread",9498001],["thread",9487768],["thread",9479903],["thread",9472618],["thread",9471104],["thread",9431480],["thread",9428174],["thread",9424035],["thread",9424032],["thread",9424020],["thread",9424014],["thread",9424007],["thread",9410102],["thread",9408796],["thread",9407726],["thread",9403379],["thread",9385487],["thread",9366715],["thread",9341981],["thread",9317155],["thread",9293152],["thread",9292985],["thread",9292580],["thread",9247173],["thread",9235790],["thread",9234694],["thread",9230623],["thread",9206063],["thread",9205425],["thread",9199375],["thread",9191383],["thread",9182111],["thread",9172510],["thread",9154760],["thread",9143597],["thread",9143100],["thread",9134407],["thread",9119628],["thread",9117438],["thread",9106908],["thread",9106851],["thread",9098694],["thread",9080190],["thread",9076512],["thread",9072674],["thread",9072575],["thread",9071499],["thread",9069526],["thread",9067073],["thread",9067069],["thread",9066278],["thread",9057007],["thread",9056003],["thread",9055789],["thread",9054567],["thread",9054505],["thread",9054028],["thread",9052803],["thread",9048624],["thread",9042767],["thread",9024145],["thread",9009968],["thread",8999147],["thread",8995498],["thread",8993841],["thread",8989055],["thread",8986860],["thread",8986791],["thread",8979887],["thread",8977096],["thread",8973952],["thread",8961990],["thread",8957784],["thread",8950798],["thread",8929135],["thread",8908425],["thread",8905661],["thread",8891445],["thread",8885812],["thread",8883649],["thread",8871656],["thread",8858107],["thread",8847624],["thread",8846480],["thread",8839728],["thread",8839709],["thread",8833642],["thread",8829910],["thread",8816512],["thread",8812292],["thread",8796984],["thread",8787426],["thread",8779711],["thread",8778529],["thread",8764172],["thread",8761771],["thread",8761312],["thread",8758614],["thread",8745826],["thread",8731173],["thread",8730601],["thread",8725115],["thread",8719802],["thread",8718963],["thread",8716263],["thread",8715311],["thread",8709793],["thread",8704912],["thread",8699705],["thread",8696553],["thread",8694077],["thread",8691347],["thread",8673559],["thread",8647158],["thread",8626348],["thread",8625290],["thread",8580578],["thread",8542090],["thread",8498911],["thread",8453988],["thread",8433663],["thread",8427841],["thread",8401813],["thread",8395579],["thread",8382598],["thread",8364464],["thread",8363230],["thread",8359418],["thread",8355353],["thread",8294485],["thread",8284360],["thread",8274119],["thread",8251434],["thread",8241693],["thread",8240821],["thread",8232919],["thread",8220141],["thread",8214591],["thread",8133317],["thread",8115086],["thread",8069233],["thread",7859180],["thread",7795265],["thread",7761904],["thread",7748609],["thread",7728601],["thread",7684951],["thread",7608985],["thread",7574304],["thread",7474375],["thread",7178607],["thread",7173402]], 182, tinhte_xentag_tag, , {"tags":["c\u00e1c lo\u1ea1i c\u00e1 kh\u00f4"]}, date, 0, , [], 0, 1652939957, 793838e0ca0061ee6db76bab3b20a701
Run Time: 0.000648
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.000498
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 (9675712, 9675705, 9667998, 9664733, 9649847, 9644934, 9644932, 9644056, 9642528, 9641145, 9639066, 9632761, 9628712, 9625958, 9619426, 9618488, 9602949, 9600406, 9596871)
Run Time: 0.001513
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: 691568
Run Time: 0.000329
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=c%C3%A1c+lo%E1%BA%A1i+c%C3%A1+kh%C3%B4, 1652939957,
Run Time: 0.000347
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000245
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 > 1652939057)
ORDER BY session_activity.view_date DESC
Run Time: 0.004369
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 3042 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |