SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.003619
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 = 'chó phú quốc')
Run Time: 0.011456
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 4 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 62924096
Run Time: 0.003082
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: 41
Run Time: 0.001525
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, 41
Run Time: 0.019749
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 (9693081, 9693080, 9693079, 9658249, 9658248, 9658246, 9613861, 9613859, 9605444, 9592815, 9565070, 9550285, 9550282, 9550281, 9550280, 9550276, 9535407, 9535405, 9535404, 9535403, 9535402, 9535401, 9535400, 9535398, 9535397, 9524989, 9493356, 9493355, 9493334, 9493331, 9493319, 9493317, 9456939, 9451343, 9451336, 9451334, 9451331, 9435470, 9430339, 9430331, 9404165, 9394828, 9389193, 9366612, 9363828, 9363163, 9361680, 9357578, 9348415, 9338995, 9338994, 9338104, 9337963, 9328592, 9312511, 9307018, 9303863, 9301059, 9300960, 9300958, 9290162, 9290158, 9287575, 9287413, 9287398, 9279822, 9264995, 9264994, 9264991, 9262105, 9256065, 9256064, 9249296, 9249294, 9249293, 9249292, 9249291, 9249288, 9249287, 9249286, 9249283, 9245165, 9241518, 9233677, 9231937, 9231299, 9222225, 9218339, 9218338, 9213838, 9213837, 9213835, 9213158, 9208925, 9208922, 9200830, 9200829, 9198736, 9196950, 9196945, 9196944, 9190191, 9173605, 9173600, 9173596, 9173594, 9173593, 9169142, 9169141, 9169140, 9169067, 9166198, 9159581, 9159577, 9146941, 9146124, 9143928, 9141581, 9139052, 9139047, 9136898, 9135039, 9134696, 9134676, 9132536, 9132534, 9132533, 9132531, 9132530, 9131849, 9124762, 9124743, 9124738, 9124728, 9124172, 9117460, 9110125, 9110122, 9104819, 9104642, 9104639, 9097957, 9094196, 9085897, 9084580, 9083951, 9078342, 9078341, 9075765, 9073642, 9073641, 9073640, 9070060, 9069677, 9066722, 9061040, 9057598, 9056692, 9056459, 9056452, 9054241, 9052676, 9049250, 9041713, 9041712, 9040195, 9037583, 9032681, 9032675, 9026009, 9025829, 9024137, 9019359, 9011722, 9011401, 9011122, 9011119, 9009095, 9009093, 9009072, 9009071, 9008338, 9008337, 9002580, 9002579, 8998101, 8997685, 8996441, 8990108, 8984355, 8983584, 8983428, 8982158, 8975103, 8971710, 8971702, 8970730, 8967879, 8962050, 8954783, 8950496, 8950491, 8950490, 8949806, 8947322, 8946112, 8943618, 8940422, 8940420, 8933691, 8933217, 8932531, 8928533, 8917187, 8915935, 8915170, 8908318, 8905999, 8905997, 8905140, 8905139, 8904433, 8900108, 8900103, 8899779, 8895929, 8895928, 8893452, 8891826, 8891825, 8891561, 8890337, 8890336, 8885609, 8878964, 8875355, 8875179, 8871912, 8871911, 8870876, 8870686, 8870685, 8868497, 8861409, 8860982, 8859974, 8853665, 8853408, 8853308, 8847226, 8845886, 8843937, 8843936, 8843701, 8842632, 8841560, 8839391, 8835045, 8835044, 8835043, 8834019, 8832614, 8832512, 8828848, 8828847, 8825045, 8824100, 8822866, 8820187, 8819919, 8819857, 8819075, 8818892, 8816481, 8815935, 8813956, 8813953, 8813564, 8812856, 8811978, 8811381, 8811300, 8811299, 8809746, 8809177, 8807748, 8805456, 8805164, 8804676, 8803497, 8803496, 8803495, 8803494, 8803225, 8803224, 8801789, 8799225, 8799222, 8799221, 8799220, 8798045, 8794771, 8793732, 8792631, 8791921, 8791303, 8790765, 8788184, 8784533, 8784007, 8782871, 8782210, 8779992, 8777767, 8777766, 8777763, 8777028, 8777027, 8777025, 8776609, 8774554, 8774553, 8774103, 8774087, 8774067, 8773292, 8766330, 8766329, 8766154, 8764851, 8763689, 8761084, 8760099, 8760025, 8757198, 8756401, 8756248, 8756246, 8756244, 8754232, 8753872, 8752927, 8748343, 8748215, 8745381, 8743555, 8742706, 8741948, 8740672, 8740191, 8736545, 8736544, 8736518, 8736370, 8734157, 8733812, 8733811, 8733810, 8730978, 8730976, 8730975, 8730716, 8730714, 8730696, 8730476, 8727998, 8722929, 8720827, 8716393, 8716154, 8715789, 8711326, 8705250, 8696942, 8690282, 8680279, 8661308, 8631579, 8499960, 8496664, 8494755, 8478993, 8478946, 8478940, 8474782, 8462335, 8449454, 8448774, 8429377, 8420041, 8410499, 8369595, 8342963, 8334302, 8291586, 8286293, 8273335, 8220424, 8217551, 8211823, 8184782, 8184781, 8184780, 8158162, 8145920, 8106794, 8089681, 8031944, 7746717, 7701356, 2570312)
Run Time: 0.076556
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 411 | 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: 41
Run Time: 0.001184
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",41],["thread",9693081],["thread",9693080],["thread",9693079],["thread",9658249],["thread",9658246],["thread",9605444],["thread",9550285],["thread",9550282],["thread",9550281],["thread",9550280],["thread",9550276],["thread",9524989],["thread",9493356],["thread",9493355],["thread",9493334],["thread",9493331],["thread",9493319],["thread",9493317],["thread",9456939],["thread",9451343],["thread",9451334],["thread",9451331],["thread",9430339],["thread",9430331],["thread",9404165],["thread",9394828],["thread",9363163],["thread",9361680],["thread",9357578],["thread",9338995],["thread",9338104],["thread",9337963],["thread",9312511],["thread",9307018],["thread",9301059],["thread",9300960],["thread",9290162],["thread",9290158],["thread",9287413],["thread",9287398],["thread",9264995],["thread",9264994],["thread",9264991],["thread",9256065],["thread",9245165],["thread",9241518],["thread",9233677],["thread",9231937],["thread",9231299],["thread",9218339],["thread",9213838],["thread",9213837],["thread",9213835],["thread",9213158],["thread",9208925],["thread",9208922],["thread",9200830],["thread",9200829],["thread",9198736],["thread",9196950],["thread",9196945],["thread",9196944],["thread",9159581],["thread",9159577],["thread",9146941],["thread",9143928],["thread",9141581],["thread",9135039],["thread",9134676],["thread",9132536],["thread",9132534],["thread",9132531],["thread",9132530],["thread",9124762],["thread",9124743],["thread",9124738],["thread",9124728],["thread",9110125],["thread",9110122],["thread",9104819],["thread",9104639],["thread",9097957],["thread",9083951],["thread",9078341],["thread",9070060],["thread",9069677],["thread",9066722],["thread",9061040],["thread",9057598],["thread",9054241],["thread",9052676],["thread",9041713],["thread",9040195],["thread",9037583],["thread",9032681],["thread",9026009],["thread",9019359],["thread",9011722],["thread",9009095],["thread",9009072],["thread",9008338],["thread",9002580],["thread",8998101],["thread",8997685],["thread",8996441],["thread",8983584],["thread",8983428],["thread",8982158],["thread",8971702],["thread",8954783],["thread",8949806],["thread",8933691],["thread",8933217],["thread",8928533],["thread",8917187],["thread",8908318],["thread",8905140],["thread",8904433],["thread",8900108],["thread",8899779],["thread",8895929],["thread",8893452],["thread",8891826],["thread",8891561],["thread",8885609],["thread",8875179],["thread",8870876],["thread",8870686],["thread",8868497],["thread",8861409],["thread",8853665],["thread",8853408],["thread",8853308],["thread",8847226],["thread",8841560],["thread",8835045],["thread",8828848],["thread",8825045],["thread",8822866],["thread",8820187],["thread",8819075],["thread",8815935],["thread",8813956],["thread",8811381],["thread",8811300],["thread",8805456],["thread",8803497],["thread",8803225],["thread",8799225],["thread",8792631],["thread",8791303],["thread",8784533],["thread",8784007],["thread",8774067],["thread",8764851],["thread",8763689],["thread",8752927],["thread",8748343],["thread",8743555],["thread",8742706],["thread",8741948],["thread",8740672],["thread",8740191],["thread",8730978],["thread",8730716],["thread",8730714],["thread",8715789],["thread",8711326],["thread",8696942],["thread",8690282],["thread",8680279],["thread",8661308],["thread",8496664],["thread",8494755],["thread",8478946],["thread",8462335],["thread",8449454],["thread",8420041],["thread",8342963],["thread",8334302],["thread",8286293],["thread",8211823],["thread",8145920],["thread",8106794],["thread",8089681],["thread",8031944],["thread",7746717],["thread",2570312]], 189, tinhte_xentag_tag, , {"tags":["ch\u00f3 ph\u00fa qu\u1ed1c"]}, date, 0, , [], 0, 1660055936, 7faf8fe68d0160d9e0af59505ee8dfc0
Run Time: 0.010888
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 (9451343, 9451334, 9451331, 9430339, 9430331, 9404165, 9394828, 9363163, 9361680, 9357578, 9338995, 9338104, 9337963, 9312511, 9307018, 9301059, 9300960, 9290162, 9290158, 9287413)
Run Time: 0.011803
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: 13711
Run Time: 0.023281
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=ch%C3%B3+ph%C3%BA+qu%E1%BB%91c&page=2, 1660055936,
Run Time: 0.011073
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.010860
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 > 1660055036)
ORDER BY session_activity.view_date DESC
Run Time: 0.004976
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2936 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |