SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000198
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 = 'nhân viên phục vụ')
Run Time: 0.000545
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: 32261972
Run Time: 0.000289
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: 53
Run Time: 0.000656
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, 53
Run Time: 0.000279
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 (9995508, 9909018, 9909014, 9909013, 9909011, 9887344, 9828619, 9797154, 9797151, 9797148, 9797139, 9788087, 9786247, 9783443, 9783442, 9783441, 9783440, 9754431, 9745754, 9744433, 9733965, 9731674, 9731291, 9729813, 9725607, 9725572, 9725563, 9725551, 9725550, 9725276, 9724166, 9722569, 9721587, 9721586, 9715052, 9707760, 9707736, 9707063, 9707062, 9704193, 9704192, 9704191, 9704169, 9702891, 9702890, 9702150, 9699032, 9698562, 9697412, 9694959, 9693327, 9692939, 9691549, 9690541, 9690221, 9689126, 9689125, 9688754, 9684605, 9681726, 9679358, 9679357, 9679356, 9678158, 9676302, 9676301, 9670231, 9670230, 9670229, 9670227, 9669716, 9669715, 9669714, 9659808, 9659004, 9657801, 9657800, 9657798, 9654156, 9648755, 9647584, 9647583, 9646713, 9639261, 9638045, 9635245, 9633815, 9631222, 9628752, 9628751, 9628750, 9628749, 9615629, 9614021, 9605065, 9585311, 9581708, 9581706, 9576654, 9576238, 9567203, 9566773, 9564886, 9561070, 9561067, 9559592, 9559366, 9557839, 9545706, 9545705, 9526861, 9523839, 9521944, 9518427, 9517500, 9512457, 9512456, 9512454, 9512452, 9508790, 9501107, 9477464, 9477017, 9464654, 9456488, 9451943, 9447984, 9447981, 9447980, 9438964, 9438363, 9426438, 9426437, 9423685, 9423684, 9420526, 9417309, 9416442, 9416440, 9416438, 9414907, 9414846, 9413113, 9413031, 9412855, 9411395, 9406070, 9404297, 9403603, 9402133, 9397687, 9397681, 9397669, 9397666, 9397665, 9394062, 9390554, 9388005, 9387183, 9386150, 9378490, 9376209, 9376208, 9374217, 9372651, 9372650, 9372301, 9371813, 9371812, 9371811, 9369096, 9367451, 9367450, 9364936, 9363897, 9361686, 9361685, 9358435, 9355212, 9354604, 9352899, 9350105, 9343227, 9337490, 9337457, 9337456, 9333389, 9333388, 9333387, 9333385, 9333384, 9333383, 9330544, 9327776, 9327775, 9322762, 9318843, 9318842, 9317717, 9314835, 9314834, 9314650, 9305702, 9305619, 9305618, 9304355, 9304354, 9301306, 9299713, 9299619, 9297967, 9297966, 9270132, 9270131, 9269245, 9269244, 9261859, 9257801, 9252300, 9250901, 9249505, 9244424, 9244422, 9242669, 9242668, 9239949, 9232779, 9228395, 9228391, 9228389, 9228162, 9227608, 9227607, 9224010, 9217520, 9217519, 9215057, 9215056, 9214112, 9213779, 9213778, 9213776, 9212271, 9210923, 9210922, 9205597, 9204165, 9204164, 9204082, 9204081, 9200784, 9200782, 9200780, 9182473, 9182472, 9182468, 9173936, 9172575, 9172574, 9171045, 9169006, 9169004, 9164608, 9164607, 9161252, 9160451, 9158473, 9152411, 9146409, 9144511, 9143288, 9143287, 9143283, 9141224, 9141223, 9139881, 9139491, 9139490, 9139489, 9139488, 9139166, 9138298, 9138237, 9136090, 9134685, 9132034, 9132032, 9131417, 9130028, 9128665, 9126244, 9126243, 9117006, 9116811, 9116025, 9114140, 9114001, 9114000, 9110287, 9108655, 9103150, 9102644, 9097923, 9097922, 9096909, 9096908, 9094623, 9092982, 9092981, 9092280, 9091287, 9090422, 9090418, 9090417, 9089893, 9085816, 9083839, 9082674, 9082281, 9082280, 9081622, 9081621, 9081377, 9081376, 9080547, 9080544, 9079527, 9078467, 9077718, 9077461, 9076276, 9076275, 9076230, 9075853, 9075231, 9075230, 9074316, 9073948, 9070829, 9070827, 9068881, 9065319, 9063500, 9062344, 9061859, 9056755, 9051415, 9051414, 9046043, 9046042, 9039604, 9039603, 9039037, 9039036, 9034991, 9032128, 9031619, 9021818, 9021816, 9021814, 9020182, 9018057, 9011247, 9010355, 9010354, 9010055, 9009879, 9006816, 9006449, 9002606, 9002510, 9000098, 9000097, 8999610, 8999545, 8998882, 8987206, 8987192, 8986205, 8986203, 8984558, 8984531, 8982293, 8982292, 8980059, 8974176, 8971620, 8968120, 8964256, 8962285, 8962284, 8960755, 8959849, 8958570, 8958567, 8955631, 8955052, 8955050, 8943616, 8943158, 8941799, 8939749, 8939611, 8936032, 8936031, 8925381, 8921997, 8908302, 8906174, 8900796, 8900793, 8900792, 8895069, 8889620, 8887659, 8887521, 8883346, 8881432, 8880982, 8878831, 8878829, 8874541, 8874074, 8874064, 8873478, 8873477, 8868237, 8867714, 8867713, 8867711, 8867114, 8861024, 8859761, 8859607, 8859111, 8856503, 8856160, 8854217, 8853920, 8853628, 8853278, 8848394, 8845473, 8845206, 8844365, 8841939, 8838775, 8836603, 8835866, 8835865, 8833938, 8832766, 8831651, 8830537, 8829223, 8827262, 8826637, 8826636, 8826635, 8826058, 8826057, 8826054, 8818260, 8817822, 8817809, 8816910, 8816909, 8813385, 8813383, 8813347, 8813250, 8809113, 8809109, 8808414, 8806016, 8805992, 8805890, 8805490, 8805489, 8804466, 8804465, 8801174, 8801036, 8800171, 8800167, 8800164, 8800097, 8795557, 8793886, 8792604, 8792602, 8792003, 8790043, 8790041, 8789994, 8789993, 8788453, 8788054, 8788053, 8788052, 8786538, 8785693, 8784049, 8784037, 8783236, 8783091, 8783090, 8782798, 8780743, 8778776, 8778435, 8778433, 8776722, 8775085, 8775084, 8774888, 8774886, 8774351, 8773842, 8773841, 8773630, 8771260, 8771220, 8771210, 8767018, 8766918, 8766917, 8764906, 8764616, 8762799, 8762798, 8762796, 8762552, 8762373, 8762194, 8761542, 8761540, 8760366, 8760365, 8760095, 8758258, 8758018, 8757629, 8756670, 8755685, 8754505, 8754016, 8753440, 8753439, 8752814, 8751808, 8750794, 8749343, 8749342, 8749341, 8749174, 8749173, 8747566, 8747330, 8747329, 8747327, 8745983, 8745745, 8745741, 8745740, 8745739, 8745710, 8744631, 8743654, 8743652, 8743553, 8742414, 8742134, 8742062, 8741508, 8741504, 8741502, 8740499, 8740498, 8740474, 8739856, 8739855, 8739731, 8739711, 8739642, 8739608, 8739606, 8739046, 8739039, 8738542, 8738539, 8736535, 8732699, 8732287, 8732286, 8728391, 8727706, 8721589, 8716354, 8715456, 8707047, 8704915, 8692910, 8685794, 8682685, 8681185, 8670644, 8669815, 8665890, 8665722, 8661772, 8657690, 8650039, 8648068, 8644585, 8640860, 8639922, 8639175, 8627083, 8623298, 8585543, 8584117, 8581730, 8579893, 8579651, 8578397, 8578396, 8578266, 8577013, 8574474, 8567001, 8564806, 8562418, 8560013, 8558992, 8554887, 8526021, 8498291, 8424095, 8379018, 8340260, 8337581, 8211800, 8211798, 8116404, 7862387, 7451413, 2979168)
Run Time: 0.015874
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 648 | 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: 53
Run Time: 0.000583
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",53],["thread",9909018],["thread",9909014],["thread",9828619],["thread",9786247],["thread",9783443],["thread",9731674],["thread",9729813],["thread",9725572],["thread",9725563],["thread",9725551],["thread",9715052],["thread",9707760],["thread",9707736],["thread",9707063],["thread",9704193],["thread",9702891],["thread",9697412],["thread",9692939],["thread",9691549],["thread",9690541],["thread",9690221],["thread",9688754],["thread",9684605],["thread",9681726],["thread",9678158],["thread",9676302],["thread",9669716],["thread",9659808],["thread",9659004],["thread",9648755],["thread",9647584],["thread",9646713],["thread",9639261],["thread",9635245],["thread",9628752],["thread",9628749],["thread",9585311],["thread",9581708],["thread",9576654],["thread",9576238],["thread",9521944],["thread",9518427],["thread",9517500],["thread",9512457],["thread",9501107],["thread",9477464],["thread",9456488],["thread",9451943],["thread",9447984],["thread",9447981],["thread",9438964],["thread",9438363],["thread",9426438],["thread",9423685],["thread",9420526],["thread",9417309],["thread",9416442],["thread",9414907],["thread",9414846],["thread",9413113],["thread",9413031],["thread",9412855],["thread",9406070],["thread",9403603],["thread",9394062],["thread",9390554],["thread",9388005],["thread",9387183],["thread",9386150],["thread",9376209],["thread",9374217],["thread",9372651],["thread",9371813],["thread",9369096],["thread",9367451],["thread",9364936],["thread",9363897],["thread",9361686],["thread",9358435],["thread",9354604],["thread",9352899],["thread",9343227],["thread",9337490],["thread",9337457],["thread",9330544],["thread",9327776],["thread",9322762],["thread",9318843],["thread",9317717],["thread",9314835],["thread",9305702],["thread",9304355],["thread",9301306],["thread",9297967],["thread",9270132],["thread",9269245],["thread",9261859],["thread",9244424],["thread",9242669],["thread",9232779],["thread",9228395],["thread",9228391],["thread",9227608],["thread",9224010],["thread",9217520],["thread",9215057],["thread",9213779],["thread",9212271],["thread",9210923],["thread",9205597],["thread",9204165],["thread",9204082],["thread",9200784],["thread",9182473],["thread",9172575],["thread",9169006],["thread",9164608],["thread",9161252],["thread",9160451],["thread",9146409],["thread",9144511],["thread",9143288],["thread",9141224],["thread",9139881],["thread",9139166],["thread",9138237],["thread",9136090],["thread",9134685],["thread",9132034],["thread",9131417],["thread",9126244],["thread",9116811],["thread",9116025],["thread",9114140],["thread",9114001],["thread",9110287],["thread",9108655],["thread",9102644],["thread",9097923],["thread",9096909],["thread",9094623],["thread",9092982],["thread",9090422],["thread",9090418],["thread",9089893],["thread",9082674],["thread",9082281],["thread",9080547],["thread",9079527],["thread",9078467],["thread",9077718],["thread",9077461],["thread",9075853],["thread",9075231],["thread",9073948],["thread",9070829],["thread",9065319],["thread",9063500],["thread",9062344],["thread",9061859],["thread",9051415],["thread",9046043],["thread",9039604],["thread",9039037],["thread",9034991],["thread",9032128],["thread",9021818],["thread",9020182],["thread",9018057],["thread",9010355],["thread",9010055],["thread",9009879],["thread",9002606],["thread",9000098],["thread",8999610],["thread",8999545],["thread",8987206],["thread",8987192],["thread",8986205],["thread",8982293],["thread",8980059],["thread",8968120],["thread",8959849],["thread",8958570],["thread",8955631],["thread",8955052],["thread",8943158],["thread",8939749],["thread",8939611],["thread",8936032],["thread",8921997],["thread",8908302],["thread",8906174],["thread",8895069],["thread",8889620],["thread",8883346],["thread",8878831],["thread",8874064],["thread",8873478],["thread",8867114],["thread",8861024],["thread",8859761],["thread",8859607],["thread",8856503],["thread",8856160],["thread",8854217],["thread",8853920],["thread",8853628],["thread",8845473],["thread",8845206],["thread",8844365],["thread",8838775],["thread",8836603],["thread",8835866],["thread",8833938],["thread",8832766],["thread",8831651],["thread",8829223],["thread",8827262],["thread",8826058],["thread",8817822],["thread",8816910],["thread",8813385],["thread",8813347],["thread",8813250],["thread",8809113],["thread",8808414],["thread",8805890],["thread",8804466],["thread",8801036],["thread",8800164],["thread",8793886],["thread",8792604],["thread",8792003],["thread",8790043],["thread",8789994],["thread",8788453],["thread",8788054],["thread",8786538],["thread",8784049],["thread",8784037],["thread",8783236],["thread",8783091],["thread",8778776],["thread",8778435],["thread",8776722],["thread",8775085],["thread",8774888],["thread",8773842],["thread",8771260],["thread",8771220],["thread",8767018],["thread",8766918],["thread",8764906],["thread",8764616],["thread",8762799],["thread",8762796],["thread",8762552],["thread",8762194],["thread",8761542],["thread",8758258],["thread",8756670],["thread",8755685],["thread",8754505],["thread",8753440],["thread",8752814],["thread",8751808],["thread",8750794],["thread",8749174],["thread",8745741],["thread",8744631],["thread",8743553],["thread",8740499],["thread",8740474],["thread",8739046],["thread",8736535],["thread",8732699],["thread",8732287],["thread",8721589],["thread",8716354],["thread",8715456],["thread",8707047],["thread",8704915],["thread",8692910],["thread",8682685],["thread",8681185],["thread",8670644],["thread",8669815],["thread",8665890],["thread",8665722],["thread",8661772],["thread",8657690],["thread",8650039],["thread",8648068],["thread",8640860],["thread",8639175],["thread",8627083],["thread",8623298],["thread",8585543],["thread",8581730],["thread",8579651],["thread",8578397],["thread",8578396],["thread",8578266],["thread",8577013],["thread",8574474],["thread",8567001],["thread",8562418],["thread",8558992],["thread",8554887],["thread",8526021],["thread",8498291],["thread",8424095],["thread",8379018],["thread",8340260],["thread",8337581],["thread",8116404],["thread",7862387],["thread",7451413],["thread",2979168]], 321, tinhte_xentag_tag, , {"tags":["nh\u00e2n vi\u00ean ph\u1ee5c v\u1ee5"]}, date, 0, , [], 0, 1715362734, 86467a6bc73323356e3dcfcc6c56079e
Run Time: 0.000622
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: 53
Run Time: 0.000474
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 (9909018, 9909014, 9828619, 9786247, 9783443, 9731674, 9729813, 9725572, 9725563, 9725551, 9715052, 9707760, 9707736, 9707063, 9704193, 9702891, 9697412, 9692939, 9691549)
Run Time: 0.001598
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: 534224
Run Time: 0.000308
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,
:p,
:p, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=nh%C3%A2n+vi%C3%AAn+ph%E1%BB%A5c+v%E1%BB%A5, 1715362734,
Run Time: 0.000328
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000257
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 > 1715361834)
ORDER BY session_activity.view_date DESC
Run Time: 0.000985
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2311 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |