SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000269
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 = 'quần thể thao')
Run Time: 0.000597
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 2 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 45604206
Run Time: 0.000337
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: 87
Run Time: 0.000821
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, 87
Run Time: 0.000173
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 (9672083, 9656743, 9647647, 9647509, 9645710, 9642625, 9642624, 9636640, 9636574, 9632963, 9632962, 9625138, 9625137, 9624497, 9621394, 9608484, 9608218, 9604041, 9603890, 9603286, 9602755, 9595901, 9583365, 9583364, 9576314, 9566895, 9563265, 9562096, 9554531, 9553983, 9545951, 9537392, 9537391, 9525608, 9525607, 9525606, 9525076, 9506672, 9492161, 9491717, 9487188, 9486835, 9481722, 9478022, 9478021, 9477990, 9476725, 9476322, 9472031, 9470929, 9470928, 9470727, 9470237, 9468939, 9467934, 9466692, 9465743, 9463851, 9463850, 9462452, 9461465, 9460217, 9459736, 9459217, 9459215, 9459214, 9455774, 9452439, 9452416, 9451417, 9445244, 9443577, 9442094, 9424859, 9418555, 9408611, 9406223, 9391325, 9380080, 9379461, 9373885, 9373882, 9373880, 9373877, 9360924, 9360923, 9360922, 9357499, 9357498, 9357332, 9357331, 9357330, 9357210, 9355206, 9343100, 9331675, 9319128, 9319127, 9318841, 9316912, 9314561, 9314442, 9314441, 9313771, 9313242, 9313088, 9313087, 9313086, 9305933, 9305932, 9304767, 9304763, 9303495, 9303492, 9303019, 9303018, 9301981, 9301299, 9300713, 9297560, 9289218, 9289217, 9288612, 9287414, 9286500, 9276451, 9267711, 9267710, 9255239, 9249344, 9248998, 9248501, 9245257, 9243693, 9234559, 9233187, 9232450, 9232449, 9231707, 9229340, 9228560, 9226034, 9220666, 9219169, 9212985, 9212984, 9206447, 9202800, 9202799, 9196100, 9181702, 9161713, 9156169, 9155713, 9148484, 9148482, 9147599, 9147597, 9144532, 9134011, 9121904, 9121903, 9121897, 9121896, 9118082, 9113978, 9111765, 9102729, 9100786, 9100785, 9095174, 9095173, 9095172, 9090628, 9083363, 9079418, 9051473, 9051153, 9050822, 9041287, 9038423, 9038422, 9033282, 9033281, 9026415, 9026413, 9020538, 9016444, 9005238, 9001815, 9001234, 9001158, 8997084, 8997083, 8997082, 8995313, 8994756, 8994755, 8994753, 8994751, 8994535, 8994512, 8994510, 8992594, 8992590, 8992589, 8987221, 8982067, 8982054, 8976748, 8976747, 8972712, 8972711, 8972710, 8972266, 8972006, 8968244, 8955116, 8954406, 8951869, 8951046, 8948668, 8948667, 8945541, 8945540, 8945300, 8942732, 8942482, 8940945, 8940906, 8940905, 8939398, 8937234, 8934390, 8933324, 8933166, 8930526, 8928233, 8928232, 8926503, 8920905, 8916311, 8916310, 8914947, 8904819, 8904062, 8881869, 8881867, 8881733, 8881732, 8880789, 8880788, 8880787, 8880786, 8880749, 8877782, 8876186, 8871291, 8861940, 8854920, 8854919, 8848329, 8847618, 8837569, 8837565, 8837564, 8826216, 8825054, 8825053, 8824983, 8822453, 8818161, 8818096, 8818095, 8816265, 8815246, 8815244, 8809437, 8809436, 8808798, 8807986, 8807985, 8795992, 8795877, 8786458, 8785614, 8783467, 8782978, 8782030, 8780103, 8778415, 8778414, 8771881, 8766324, 8763332, 8763328, 8763325, 8758696, 8751907, 8748600, 8744029, 8744028, 8740403, 8735089, 8735088, 8731679, 8723172, 8722083, 8715088, 8714221, 8714220, 8710153, 8705516, 8701385, 8697701, 8696718, 8696717, 8696409, 8693555, 8690522, 8683992, 8679937, 8678451, 8676938, 8672733, 8672730, 8657642, 8655459, 8649898, 8649896, 8647079, 8632991, 8629442, 8629023, 8627232, 8627231, 8626165, 8626162, 8623854, 8623853, 8623411, 8623319, 8620195, 8620192, 8620188, 8620186, 8620180, 8620179, 8620178, 8619884, 8615863, 8606410, 8605720, 8604378, 8603404, 8601895, 8601893, 8601887, 8601886, 8601450, 8600105, 8599334, 8598314, 8595644, 8593420, 8592274, 8592267, 8590878, 8590680, 8590645, 8590560, 8587737, 8582465, 8581742, 8581651, 8576065, 8575067, 8574682, 8573814, 8571323, 8570564, 8568640, 8565286, 8565285, 8565284, 8565245, 8565244, 8563626, 8558820, 8558616, 8558614, 8558613, 8551352, 8551337, 8551328, 8548105, 8548103, 8541774, 8540348, 8536340, 8535662, 8534422, 8534287, 8533378, 8532762, 8532529, 8531087, 8527389, 8527385, 8527384, 8522655, 8497015, 8465646, 8465312, 8464594, 8464395, 8463119, 8451769, 8425932, 8364185, 8363553, 8351870, 8351150, 8311174, 8217831, 8213821, 8208994, 8208579, 8208578, 8157595, 8157592, 7503804, 7142849)
Run Time: 0.008962
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 433 | 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: 87
Run Time: 0.000611
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",87],["thread",9647509],["thread",9636640],["thread",9636574],["thread",9632963],["thread",9625138],["thread",9624497],["thread",9621394],["thread",9608484],["thread",9608218],["thread",9604041],["thread",9603890],["thread",9603286],["thread",9602755],["thread",9583365],["thread",9566895],["thread",9563265],["thread",9562096],["thread",9554531],["thread",9553983],["thread",9537392],["thread",9525076],["thread",9492161],["thread",9491717],["thread",9487188],["thread",9486835],["thread",9481722],["thread",9478022],["thread",9477990],["thread",9476725],["thread",9476322],["thread",9470929],["thread",9463851],["thread",9461465],["thread",9452416],["thread",9443577],["thread",9442094],["thread",9408611],["thread",9406223],["thread",9391325],["thread",9380080],["thread",9373885],["thread",9318841],["thread",9314442],["thread",9313088],["thread",9305933],["thread",9304767],["thread",9303019],["thread",9297560],["thread",9289218],["thread",9288612],["thread",9287414],["thread",9286500],["thread",9267711],["thread",9249344],["thread",9245257],["thread",9232450],["thread",9226034],["thread",9212985],["thread",9206447],["thread",9202800],["thread",9181702],["thread",9155713],["thread",9148484],["thread",9147599],["thread",9144532],["thread",9134011],["thread",9121904],["thread",9118082],["thread",9113978],["thread",9111765],["thread",9095174],["thread",9090628],["thread",9079418],["thread",9051473],["thread",9026415],["thread",9020538],["thread",9016444],["thread",9001234],["thread",8997084],["thread",8995313],["thread",8994756],["thread",8994535],["thread",8994512],["thread",8982067],["thread",8982054],["thread",8976748],["thread",8972266],["thread",8968244],["thread",8954406],["thread",8951869],["thread",8951046],["thread",8948668],["thread",8945541],["thread",8945300],["thread",8942482],["thread",8940906],["thread",8939398],["thread",8937234],["thread",8934390],["thread",8933166],["thread",8930526],["thread",8928233],["thread",8926503],["thread",8914947],["thread",8904819],["thread",8904062],["thread",8881869],["thread",8861940],["thread",8854920],["thread",8837569],["thread",8818161],["thread",8818096],["thread",8809437],["thread",8785614],["thread",8783467],["thread",8782978],["thread",8780103],["thread",8778415],["thread",8758696],["thread",8748600],["thread",8744029],["thread",8740403],["thread",8735089],["thread",8731679],["thread",8723172],["thread",8715088],["thread",8714221],["thread",8710153],["thread",8705516],["thread",8696718],["thread",8696409],["thread",8693555],["thread",8690522],["thread",8679937],["thread",8678451],["thread",8676938],["thread",8672733],["thread",8657642],["thread",8655459],["thread",8649898],["thread",8647079],["thread",8632991],["thread",8629442],["thread",8627232],["thread",8626165],["thread",8623854],["thread",8623411],["thread",8623319],["thread",8619884],["thread",8615863],["thread",8606410],["thread",8605720],["thread",8604378],["thread",8603404],["thread",8601895],["thread",8601887],["thread",8601450],["thread",8600105],["thread",8599334],["thread",8598314],["thread",8595644],["thread",8593420],["thread",8592274],["thread",8592267],["thread",8590878],["thread",8590680],["thread",8590645],["thread",8587737],["thread",8582465],["thread",8581651],["thread",8575067],["thread",8574682],["thread",8573814],["thread",8571323],["thread",8570564],["thread",8568640],["thread",8565286],["thread",8563626],["thread",8558616],["thread",8535662],["thread",8534422],["thread",8534287],["thread",8532762],["thread",8527389],["thread",8497015],["thread",8465312],["thread",8464395],["thread",8463119],["thread",8451769],["thread",8425932],["thread",8364185],["thread",8363553],["thread",8351870],["thread",8351150],["thread",8311174],["thread",8217831],["thread",8213821],["thread",8208994],["thread",8208579],["thread",7503804],["thread",7142849]], 202, tinhte_xentag_tag, , {"tags":["qu\u1ea7n th\u1ec3 thao"]}, date, 0, , [], 0, 1652842966, 672d2ca6c2d146c7ff058769dcef6463
Run Time: 0.000720
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 (9202800, 9181702, 9155713, 9148484, 9147599, 9144532, 9134011, 9121904, 9118082, 9113978, 9111765, 9095174, 9090628, 9079418, 9051473, 9026415, 9020538, 9016444, 9001234, 8997084)
Run Time: 0.001700
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: 498373
Run Time: 0.000306
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=qu%E1%BA%A7n+th%E1%BB%83+thao&page=4, 1652842966,
Run Time: 0.000383
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000240
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 > 1652842066)
ORDER BY session_activity.view_date DESC
Run Time: 0.005051
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 3681 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |