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 = 'xe điều khiển từ xa')
Run Time: 0.000553
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: 63244404
Run Time: 0.000377
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: 28
Run Time: 0.000679
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, 28
Run Time: 0.000297
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 (9693310, 9692099, 9685874, 9685517, 9573184, 9456184, 9456180, 9379131, 9324507, 9322536, 9318211, 9312217, 9227187, 9190422, 9144092, 9144091, 9140992, 9131213, 9131200, 9128506, 9113067, 9109651, 9107954, 9105124, 9105119, 9078506, 9062649, 9061014, 9052576, 9050846, 9047069, 9047068, 9046275, 9046271, 9046270, 9046269, 9046268, 9011384, 9007023, 8981325, 8969163, 8966215, 8966214, 8965388, 8955827, 8955826, 8937389, 8926685, 8922623, 8914295, 8911690, 8911689, 8911688, 8911687, 8909696, 8901509, 8901508, 8875690, 8869752, 8869099, 8867466, 8867465, 8867464, 8861856, 8861854, 8860344, 8860343, 8860342, 8856267, 8856266, 8856260, 8856033, 8852175, 8839501, 8836719, 8836715, 8832273, 8824191, 8823502, 8814443, 8814442, 8806970, 8806969, 8806967, 8805597, 8805596, 8804474, 8804472, 8802979, 8794363, 8740585, 8716061, 8715709, 8715708, 8713719, 8711462, 8710903, 8709060, 8709059, 8690615, 8679855, 8677014, 8668102, 8667257, 8642115, 8639012, 8638576, 8608672, 8601875, 8587918, 8584904, 8511224, 8506398, 8482587, 8474227, 8462140, 8462055, 8430826, 8429077, 8418445, 8414102, 8407069, 8400093, 8395890, 8360439, 8351767, 8325902, 8315141, 8253615, 8226140, 8172882, 8160913, 8084573, 8062605, 8055508, 8053633, 8049550, 8048894, 8048454, 8043705, 8033807, 8027482, 8020925, 7961563, 7939149, 7901883, 7794432, 7783464, 7740986, 7695963, 7666116, 7624079, 7590605, 7559441, 7544450, 7541911, 7541598, 7522046, 7474389, 7439751, 7434140, 7427939, 7404865, 7402592, 7399877, 7374090, 7372842, 7369451, 7347776, 7312258, 7222641, 6813567, 6653670, 5596661, 5036219, 4558651)
Run Time: 0.006917
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 176 | 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: 28
Run Time: 0.000528
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",28],["thread",9693310],["thread",9692099],["thread",9685874],["thread",9685517],["thread",9573184],["thread",9324507],["thread",9322536],["thread",9190422],["thread",9107954],["thread",9105124],["thread",9105119],["thread",9062649],["thread",9052576],["thread",9050846],["thread",9047069],["thread",9011384],["thread",9007023],["thread",8966215],["thread",8955827],["thread",8922623],["thread",8914295],["thread",8911690],["thread",8909696],["thread",8901509],["thread",8875690],["thread",8869099],["thread",8861856],["thread",8860344],["thread",8856033],["thread",8824191],["thread",8814443],["thread",8806967],["thread",8805597],["thread",8794363],["thread",8740585],["thread",8711462],["thread",8690615],["thread",8679855],["thread",8677014],["thread",8668102],["thread",8667257],["thread",8639012],["thread",8638576],["thread",8608672],["thread",8601875],["thread",8587918],["thread",8584904],["thread",8482587],["thread",8474227],["thread",8462140],["thread",8462055],["thread",8430826],["thread",8429077],["thread",8414102],["thread",8407069],["thread",8400093],["thread",8395890],["thread",8360439],["thread",8351767],["thread",8325902],["thread",8315141],["thread",8253615],["thread",8226140],["thread",8172882],["thread",8160913],["thread",8084573],["thread",8062605],["thread",8055508],["thread",8053633],["thread",8049550],["thread",8048894],["thread",8048454],["thread",8043705],["thread",8033807],["thread",8027482],["thread",8020925],["thread",7939149],["thread",7901883],["thread",7794432],["thread",7783464],["thread",7740986],["thread",7695963],["thread",7666116],["thread",7624079],["thread",7590605],["thread",7559441],["thread",7544450],["thread",7541911],["thread",7541598],["thread",7522046],["thread",7474389],["thread",7439751],["thread",7434140],["thread",7427939],["thread",7404865],["thread",7402592],["thread",7399877],["thread",7374090],["thread",7369451],["thread",7347776],["thread",7222641],["thread",6813567],["thread",6653670],["thread",5596661],["thread",4558651]], 106, tinhte_xentag_tag, , {"tags":["xe \u0111i\u1ec1u khi\u1ec3n t\u1eeb xa"]}, date, 0, , [], 0, 1660774639, d3a97449f1e960bbe606dfeb6cb9120a
Run Time: 0.000677
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 (8922623, 8914295, 8911690, 8909696, 8901509, 8875690, 8869099, 8861856, 8860344, 8856033, 8824191, 8814443, 8806967, 8805597, 8794363, 8740585, 8711462, 8690615, 8679855, 8677014)
Run Time: 0.001610
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: 564633
Run Time: 0.000424
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=xe+%C4%91i%E1%BB%81u+khi%E1%BB%83n+t%E1%BB%AB+xa&page=2, 1660774639,
Run Time: 0.000380
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000267
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 > 1660773739)
ORDER BY session_activity.view_date DESC
Run Time: 0.003332
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1406 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |