SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000240
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 short kaki nam')
Run Time: 0.000548
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: 43027356
Run Time: 0.000309
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.000749
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.000288
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 (10007154, 10007153, 9952147, 9948584, 9948583, 9917294, 9911225, 9909913, 9867711, 9851174, 9814243, 9788215, 9775293, 9757709, 9722033, 9717582, 9716581, 9715930, 9715929, 9647509, 9645710, 9644066, 9643449, 9643213, 9642754, 9642625, 9642624, 9624664, 9623417, 9623345, 9606655, 9586930, 9586925, 9586919, 9586908, 9584551, 9582122, 9581793, 9578476, 9578155, 9576314, 9574290, 9571587, 9571556, 9565383, 9565177, 9552664, 9552663, 9545951, 9525607, 9525606, 9510405, 9506672, 9482375, 9477436, 9465743, 9463870, 9463850, 9452437, 9427357, 9367853, 9360924, 9360923, 9360922, 9357499, 9357498, 9357256, 9331676, 9331675, 9325908, 9322898, 9319127, 9317054, 9317053, 9313242, 9304767, 9304763, 9303495, 9303492, 9303019, 9303018, 9302980, 9301517, 9301516, 9299013, 9295795, 9287567, 9282074, 9276451, 9268835, 9267711, 9267710, 9255239, 9242034, 9232449, 9229674, 9228560, 9227907, 9210880, 9210878, 9198283, 9198152, 9198148, 9198146, 9196100, 9188547, 9177849, 9176990, 9175883, 9175229, 9161713, 9156584, 9153001, 9147005, 9147004, 9140385, 9139964, 9137821, 9113978, 9113022, 9112460, 9102778, 9102002, 9101996, 9097685, 9097382, 9096504, 9090203, 9090202, 9087755, 9068665, 9068660, 9058021, 9051473, 9050822, 9044608, 9044607, 9041287, 9017812, 9005238, 9001152, 9001151, 9001150, 8996873, 8994990, 8994989, 8994753, 8994751, 8992590, 8992589, 8971435, 8967174, 8942732, 8936134, 8934166, 8919818, 8919817, 8886497, 8882639, 8880789, 8880788, 8880787, 8880786, 8876460, 8876242, 8876241, 8876239, 8873983, 8873658, 8873250, 8871291, 8860941, 8854522, 8851189, 8850043, 8845902, 8837565, 8837564, 8826884, 8826216, 8824983, 8822299, 8821124, 8817184, 8815244, 8812624, 8812622, 8811946, 8808789, 8808787, 8803331, 8803330, 8802323, 8802322, 8788204, 8778415, 8778414, 8766327, 8766324, 8765059, 8764703, 8759579, 8754035, 8735088, 8722083, 8691634, 8684151, 8626955, 8609101, 8607575, 8607289, 8601449, 8600069, 8600067, 8600065, 8591716, 8553034, 8511887, 8481805, 8474810, 8474228, 8473443, 8443181, 8397789, 8282608, 8277536, 8273112, 8221803, 8163702, 8146739, 8037115, 7939344, 7794952, 7559047, 7343261, 7318609, 7288150, 7145145, 6808442, 4254949)
Run Time: 0.008141
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 240 | 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.000513
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",10007154],["thread",10007153],["thread",9948584],["thread",9948583],["thread",9911225],["thread",9909913],["thread",9867711],["thread",9814243],["thread",9788215],["thread",9775293],["thread",9647509],["thread",9643449],["thread",9643213],["thread",9642754],["thread",9624664],["thread",9623345],["thread",9606655],["thread",9584551],["thread",9582122],["thread",9578476],["thread",9578155],["thread",9574290],["thread",9571587],["thread",9571556],["thread",9565383],["thread",9552664],["thread",9510405],["thread",9482375],["thread",9463870],["thread",9331676],["thread",9325908],["thread",9322898],["thread",9317054],["thread",9304767],["thread",9303019],["thread",9302980],["thread",9267711],["thread",9227907],["thread",9210880],["thread",9198152],["thread",9198148],["thread",9176990],["thread",9156584],["thread",9153001],["thread",9147005],["thread",9140385],["thread",9113978],["thread",9113022],["thread",9112460],["thread",9097685],["thread",9068665],["thread",9051473],["thread",9017812],["thread",8936134],["thread",8876242],["thread",8873983],["thread",8854522],["thread",8850043],["thread",8845902],["thread",8808789],["thread",8803331],["thread",8802323],["thread",8778415],["thread",8765059],["thread",8691634],["thread",8684151],["thread",8607575],["thread",8607289],["thread",8601449],["thread",8591716],["thread",8553034],["thread",8511887],["thread",8481805],["thread",8474810],["thread",8474228],["thread",8473443],["thread",8397789],["thread",8282608],["thread",8277536],["thread",8273112],["thread",8221803],["thread",8163702],["thread",8146739],["thread",8037115],["thread",7939344],["thread",7794952],["thread",7559047],["thread",7343261],["thread",7318609],["thread",7288150],["thread",7145145],["thread",6808442],["thread",4254949]], 94, tinhte_xentag_tag, , {"tags":["qu\u1ea7n short kaki nam"]}, date, 0, , [], 0, 1715394634, ef8d42f9cf7fde24a7538c4a2ab77d06
Run Time: 0.000600
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 (9198152, 9198148, 9176990, 9156584, 9153001, 9147005, 9140385, 9113978, 9113022, 9112460, 9097685, 9068665, 9051473, 9017812, 8936134, 8876242, 8873983, 8854522, 8850043, 8845902)
Run Time: 0.001566
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: 598974
Run Time: 0.000290
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+short+kaki+nam&page=3, 1715394634,
Run Time: 0.000418
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000221
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 > 1715393734)
ORDER BY session_activity.view_date DESC
Run Time: 0.004354
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2483 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |