SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000239
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 = 'đặt phòng khách sạn')
Run Time: 0.000475
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: 63898474
Run Time: 0.000300
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: 163
Run Time: 0.000621
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, 163
Run Time: 0.000284
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 (9697955, 9696673, 9696473, 9695854, 9695542, 9695202, 9694814, 9692891, 9692890, 9692889, 9692196, 9692117, 9692116, 9686902, 9684126, 9682736, 9682735, 9676373, 9670780, 9670779, 9669304, 9669193, 9668771, 9668649, 9664513, 9664512, 9664509, 9659033, 9659032, 9659030, 9659028, 9659027, 9659025, 9658954, 9658952, 9658532, 9658250, 9658242, 9658241, 9658240, 9658239, 9647098, 9645184, 9642265, 9636876, 9636384, 9636379, 9630522, 9629901, 9616165, 9614314, 9605547, 9604599, 9604598, 9600075, 9591595, 9591594, 9590281, 9590279, 9586875, 9583615, 9574104, 9572385, 9569345, 9568118, 9567188, 9567184, 9563951, 9556494, 9556181, 9556038, 9555545, 9555276, 9555212, 9554978, 9554937, 9554679, 9554377, 9553224, 9553223, 9552433, 9544403, 9535547, 9528461, 9523504, 9523503, 9516890, 9516889, 9509505, 9508989, 9508988, 9505582, 9505581, 9504966, 9504798, 9504659, 9504566, 9504552, 9503784, 9503434, 9503297, 9502972, 9502777, 9502002, 9500548, 9489154, 9488485, 9488484, 9467469, 9467457, 9467456, 9467455, 9467454, 9462118, 9460398, 9459504, 9458713, 9458706, 9458527, 9458496, 9458491, 9456093, 9456092, 9456091, 9456084, 9454512, 9451277, 9451136, 9441075, 9437142, 9436358, 9436356, 9431661, 9431277, 9430428, 9430427, 9424079, 9412574, 9402396, 9401557, 9401556, 9380056, 9380055, 9375821, 9372817, 9369760, 9365944, 9365486, 9345275, 9340842, 9340841, 9325351, 9325350, 9325349, 9325348, 9319245, 9294014, 9293361, 9293360, 9293182, 9292053, 9291808, 9290136, 9289844, 9285913, 9285553, 9285551, 9283176, 9281912, 9281797, 9279959, 9279675, 9279673, 9279090, 9277033, 9276701, 9275955, 9270670, 9270623, 9270617, 9264252, 9263497, 9261656, 9260964, 9260108, 9259385, 9255607, 9255076, 9255075, 9253354, 9253353, 9253352, 9251044, 9249285, 9246287, 9240568, 9226749, 9226748, 9226164, 9224158, 9212693, 9209791, 9209790, 9200035, 9189348, 9186019, 9177454, 9177295, 9177293, 9177292, 9177290, 9176877, 9176761, 9176054, 9175976, 9173106, 9173099, 9170006, 9169422, 9164719, 9164477, 9164078, 9153807, 9149572, 9146121, 9144265, 9143503, 9141720, 9141696, 9141209, 9140843, 9140350, 9140349, 9140348, 9140347, 9140346, 9136212, 9135387, 9134549, 9134168, 9134062, 9133544, 9133439, 9133120, 9132602, 9131829, 9131625, 9131597, 9131139, 9130358, 9123722, 9122833, 9119791, 9119693, 9117573, 9114263, 9114262, 9114261, 9113495, 9112965, 9112964, 9109413, 9109029, 9107285, 9104195, 9104194, 9099777, 9089598, 9088363, 9087807, 9086229, 9079533, 9079532, 9078292, 9077514, 9077512, 9071604, 9070284, 9068050, 9066653, 9064615, 9064254, 9063913, 9063466, 9061388, 9058925, 9058924, 9055565, 9055564, 9053165, 9051572, 9050787, 9050786, 9045514, 9042640, 9041505, 9040462, 9040461, 9033820, 9033818, 9026860, 9017454, 9017453, 9005657, 9004055, 9002925, 8998920, 8998919, 8998428, 8986864, 8986699, 8985679, 8980240, 8980126, 8974952, 8974950, 8974492, 8974490, 8974006, 8973916, 8971949, 8971227, 8969702, 8967031, 8966949, 8966947, 8966892, 8964491, 8960870, 8959955, 8959952, 8954436, 8954116, 8951557, 8951555, 8943338, 8934457, 8934009, 8925043, 8924352, 8922207, 8915788, 8915787, 8908678, 8908677, 8908676, 8907663, 8907329, 8907326, 8907324, 8898792, 8895615, 8894777, 8894132, 8893359, 8887383, 8877174, 8877173, 8870028, 8870027, 8870026, 8865356, 8865355, 8862768, 8862760, 8862745, 8860033, 8860032, 8857893, 8853827, 8853263, 8843433, 8843427, 8842076, 8835412, 8835411, 8835408, 8830889, 8830383, 8827144, 8827137, 8823690, 8822343, 8822342, 8821475, 8819407, 8815527, 8811275, 8811273, 8808657, 8808021, 8808008, 8806957, 8804712, 8789113, 8784642, 8783912, 8783757, 8774890, 8769921, 8769918, 8769673, 8769097, 8768162, 8767977, 8767976, 8754161, 8750273, 8750272, 8748866, 8748850, 8742784, 8739028, 8736259, 8735469, 8735455, 8734366, 8730241, 8730234, 8725949, 8723910, 8723141, 8723109, 8723060, 8723038, 8722800, 8722785, 8722753, 8722713, 8722630, 8722571, 8722569, 8722566, 8722470, 8718670, 8709476, 8705213, 8704828, 8702333, 8700702, 8700227, 8699974, 8696535, 8696534, 8696533, 8696532, 8696486, 8694527, 8694526, 8694524, 8693723, 8692941, 8692940, 8691438, 8689168, 8689088, 8689087, 8688415, 8685889, 8684324, 8683520, 8680099, 8676620, 8675860, 8675430, 8675270, 8675269, 8674469, 8674425, 8674309, 8669802, 8669783, 8669702, 8669700, 8668319, 8668304, 8668254, 8668210, 8668001, 8667736, 8667695, 8667622, 8667621, 8667212, 8664659, 8662305, 8662304, 8653286, 8653285, 8653282, 8651415, 8651412, 8646921, 8646917, 8646394, 8643596, 8643595, 8642241, 8641670, 8641159, 8640051, 8638148, 8637565, 8637436, 8636281, 8635560, 8635023, 8633043, 8630397, 8627952, 8627450, 8625192, 8625190, 8625189, 8625087, 8617467, 8617465, 8616452, 8613968, 8613731, 8612961, 8612858, 8611154, 8609561, 8606729, 8604309, 8598021, 8596853, 8596849, 8593356, 8587004, 8587001, 8580775, 8577545, 8576430, 8575530, 8575529, 8575527, 8574606, 8569783, 8569779, 8569775, 8569773, 8569772, 8569771, 8561323, 8561289, 8557155, 8555242, 8555066, 8554330, 8552068, 8546900, 8546303, 8544202, 8543361, 8543042, 8543039, 8540815, 8538500, 8538493, 8529478, 8529477, 8529476, 8524285, 8474976, 8451929, 8449676, 8449675, 8435960, 8429351, 8378048, 8320820, 8319450, 8317690, 8306215, 8291099, 8287591, 7112185, 6680660)
Run Time: 0.014035
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 580 | 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: 163
Run Time: 0.000624
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",163],["thread",9697955],["thread",9696673],["thread",9696473],["thread",9695854],["thread",9695542],["thread",9695202],["thread",9694814],["thread",9692891],["thread",9692196],["thread",9692117],["thread",9686902],["thread",9684126],["thread",9682736],["thread",9670780],["thread",9669304],["thread",9669193],["thread",9668771],["thread",9668649],["thread",9664513],["thread",9664509],["thread",9659033],["thread",9659032],["thread",9659030],["thread",9659028],["thread",9659027],["thread",9659025],["thread",9658954],["thread",9658952],["thread",9658532],["thread",9658250],["thread",9658242],["thread",9658241],["thread",9658240],["thread",9658239],["thread",9647098],["thread",9645184],["thread",9636876],["thread",9636384],["thread",9630522],["thread",9629901],["thread",9616165],["thread",9600075],["thread",9591595],["thread",9590281],["thread",9586875],["thread",9583615],["thread",9574104],["thread",9572385],["thread",9569345],["thread",9568118],["thread",9567188],["thread",9556494],["thread",9556181],["thread",9556038],["thread",9555545],["thread",9555276],["thread",9555212],["thread",9554978],["thread",9554937],["thread",9554679],["thread",9554377],["thread",9544403],["thread",9523504],["thread",9508989],["thread",9504659],["thread",9502002],["thread",9489154],["thread",9467469],["thread",9467457],["thread",9462118],["thread",9460398],["thread",9459504],["thread",9458713],["thread",9458527],["thread",9458496],["thread",9458491],["thread",9456093],["thread",9456084],["thread",9451136],["thread",9437142],["thread",9436358],["thread",9431661],["thread",9430428],["thread",9412574],["thread",9402396],["thread",9401557],["thread",9380056],["thread",9369760],["thread",9365944],["thread",9365486],["thread",9345275],["thread",9340842],["thread",9293361],["thread",9293182],["thread",9291808],["thread",9289844],["thread",9283176],["thread",9281797],["thread",9279090],["thread",9277033],["thread",9276701],["thread",9270623],["thread",9270617],["thread",9264252],["thread",9263497],["thread",9261656],["thread",9260964],["thread",9260108],["thread",9259385],["thread",9255607],["thread",9253354],["thread",9251044],["thread",9249285],["thread",9240568],["thread",9226749],["thread",9226164],["thread",9212693],["thread",9189348],["thread",9186019],["thread",9177454],["thread",9176877],["thread",9176761],["thread",9176054],["thread",9175976],["thread",9173106],["thread",9173099],["thread",9170006],["thread",9153807],["thread",9149572],["thread",9146121],["thread",9141209],["thread",9140350],["thread",9135387],["thread",9134549],["thread",9134168],["thread",9133544],["thread",9131829],["thread",9131625],["thread",9131597],["thread",9130358],["thread",9123722],["thread",9119791],["thread",9117573],["thread",9114263],["thread",9113495],["thread",9112965],["thread",9109413],["thread",9107285],["thread",9104195],["thread",9099777],["thread",9089598],["thread",9088363],["thread",9087807],["thread",9079533],["thread",9078292],["thread",9077514],["thread",9071604],["thread",9070284],["thread",9064615],["thread",9064254],["thread",9063913],["thread",9058925],["thread",9055565],["thread",9053165],["thread",9050787],["thread",9040462],["thread",9033820],["thread",9026860],["thread",9017454],["thread",9004055],["thread",9002925],["thread",8998428],["thread",8986699],["thread",8985679],["thread",8980240],["thread",8974952],["thread",8974492],["thread",8974006],["thread",8973916],["thread",8971949],["thread",8966949],["thread",8964491],["thread",8960870],["thread",8959955],["thread",8954116],["thread",8951557],["thread",8934009],["thread",8925043],["thread",8924352],["thread",8922207],["thread",8915788],["thread",8898792],["thread",8895615],["thread",8894777],["thread",8894132],["thread",8893359],["thread",8887383],["thread",8877174],["thread",8870028],["thread",8865356],["thread",8862768],["thread",8862760],["thread",8862745],["thread",8857893],["thread",8853827],["thread",8853263],["thread",8843433],["thread",8842076],["thread",8830383],["thread",8827144],["thread",8821475],["thread",8815527],["thread",8811275],["thread",8806957],["thread",8804712],["thread",8789113],["thread",8784642],["thread",8783912],["thread",8783757],["thread",8774890],["thread",8769921],["thread",8769673],["thread",8769097],["thread",8768162],["thread",8767977],["thread",8754161],["thread",8750273],["thread",8748866],["thread",8748850],["thread",8739028],["thread",8736259],["thread",8735469],["thread",8730241],["thread",8723910],["thread",8723060],["thread",8723038],["thread",8722800],["thread",8722785],["thread",8722753],["thread",8722713],["thread",8722630],["thread",8722571],["thread",8722470],["thread",8718670],["thread",8709476],["thread",8705213],["thread",8704828],["thread",8700227],["thread",8699974],["thread",8696535],["thread",8696486],["thread",8693723],["thread",8692941],["thread",8691438],["thread",8689088],["thread",8688415],["thread",8685889],["thread",8684324],["thread",8680099],["thread",8676620],["thread",8675430],["thread",8675270],["thread",8674469],["thread",8674425],["thread",8669802],["thread",8669783],["thread",8668319],["thread",8668304],["thread",8668254],["thread",8668210],["thread",8668001],["thread",8667695],["thread",8667622],["thread",8667212],["thread",8664659],["thread",8662305],["thread",8653286],["thread",8651415],["thread",8646394],["thread",8643596],["thread",8642241],["thread",8638148],["thread",8637436],["thread",8635560],["thread",8635023],["thread",8630397],["thread",8627952],["thread",8625192],["thread",8625087],["thread",8617467],["thread",8613731],["thread",8612961],["thread",8612858],["thread",8609561],["thread",8606729],["thread",8604309],["thread",8598021],["thread",8596853],["thread",8593356],["thread",8587004],["thread",8580775],["thread",8577545],["thread",8576430],["thread",8575530],["thread",8574606],["thread",8569783],["thread",8561323],["thread",8561289],["thread",8557155],["thread",8555242],["thread",8554330],["thread",8552068],["thread",8546303],["thread",8543361],["thread",8543042],["thread",8540815],["thread",8538500],["thread",8524285],["thread",8474976],["thread",8451929],["thread",8449676],["thread",8435960],["thread",8429351],["thread",8378048],["thread",8306215],["thread",8291099],["thread",7112185],["thread",6680660]], 329, tinhte_xentag_tag, , {"tags":["\u0111\u1eb7t ph\u00f2ng kh\u00e1ch s\u1ea1n"]}, date, 0, , [], 0, 1660852148, 4f4630e9783d7cb7a6b1fd4fda16e22a
Run Time: 0.000648
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 (9277033, 9276701, 9270623, 9270617, 9264252, 9263497, 9261656, 9260964, 9260108, 9259385, 9255607, 9253354, 9251044, 9249285, 9240568, 9226749, 9226164, 9212693, 9189348, 9186019)
Run Time: 0.001696
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: 520469
Run Time: 0.000375
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=%C4%91%E1%BA%B7t+ph%C3%B2ng+kh%C3%A1ch+s%E1%BA%A1n&page=6, 1660852148,
Run Time: 0.000383
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000242
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 > 1660851248)
ORDER BY session_activity.view_date DESC
Run Time: 0.003170
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1551 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |