SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000199
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 = 'máy ghi âm')
Run Time: 0.000564
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: 48611516
Run Time: 0.000305
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: 172
Run Time: 0.000517
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, 172
Run Time: 0.000167
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 (9683800, 9683687, 9651857, 9449772, 9442226, 9435432, 9434648, 9434313, 9425699, 9421271, 9409839, 9383796, 9352587, 9303759, 9301462, 9301452, 9301451, 9236938, 9212816, 9131938, 9130532, 9090360, 9036850, 9036314, 9013106, 9009969, 8957334, 8953565, 8908130, 8897852, 8897318, 8874005, 8862296, 8862164, 8833513, 8770307, 8757860, 8753131, 8724788, 8724787, 8700493, 8695641, 8694293, 8689857, 8685411, 8685409, 8668455, 8666181, 8655630, 8655587, 8647888, 8625427, 8625149, 8620402, 8605385, 8604734, 8598763, 8590202, 8588824, 8586753, 8579681, 8573444, 8571148, 8570183, 8569433, 8568667, 8568614, 8558080, 8553082, 8518782, 8515478, 8511130, 8511127, 8511123, 8490656, 8489386, 8485573, 8475515, 8457359, 8454888, 8454762, 8451305, 8448729, 8441639, 8439512, 8435318, 8394513, 8388341, 8387631, 8385777, 8377720, 8377654, 8371558, 8366544, 8358128, 8356346, 8355120, 8334884, 8334847, 8331497, 8318360, 8312967, 8299316, 8298240, 8294907, 8294151, 8294150, 8291746, 8290669, 8289794, 8272439, 8244152, 8243457, 8241283, 8238643, 8236688, 8228010, 8210078, 8198813, 8197338, 8196230, 8191611, 8169759, 8161064, 8161062, 8091881, 7965179, 5551179)
Run Time: 0.005374
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 128 | 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: 172
Run Time: 0.000608
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",172],["thread",9683800],["thread",9683687],["thread",9651857],["thread",9449772],["thread",9435432],["thread",9434648],["thread",9434313],["thread",9383796],["thread",9352587],["thread",9303759],["thread",9301462],["thread",9131938],["thread",9130532],["thread",9090360],["thread",9009969],["thread",8953565],["thread",8897852],["thread",8862296],["thread",8862164],["thread",8833513],["thread",8753131],["thread",8724788],["thread",8695641],["thread",8694293],["thread",8689857],["thread",8685411],["thread",8668455],["thread",8666181],["thread",8655630],["thread",8655587],["thread",8647888],["thread",8625427],["thread",8625149],["thread",8620402],["thread",8604734],["thread",8598763],["thread",8590202],["thread",8586753],["thread",8579681],["thread",8573444],["thread",8571148],["thread",8570183],["thread",8569433],["thread",8568667],["thread",8568614],["thread",8558080],["thread",8553082],["thread",8518782],["thread",8515478],["thread",8511130],["thread",8489386],["thread",8485573],["thread",8475515],["thread",8457359],["thread",8454888],["thread",8454762],["thread",8451305],["thread",8448729],["thread",8441639],["thread",8439512],["thread",8435318],["thread",8394513],["thread",8388341],["thread",8387631],["thread",8385777],["thread",8377654],["thread",8371558],["thread",8366544],["thread",8358128],["thread",8356346],["thread",8355120],["thread",8334884],["thread",8334847],["thread",8331497],["thread",8312967],["thread",8299316],["thread",8298240],["thread",8291746],["thread",8290669],["thread",8289794],["thread",8272439],["thread",8244152],["thread",8243457],["thread",8241283],["thread",8238643],["thread",8228010],["thread",8210078],["thread",8198813],["thread",8197338],["thread",8196230],["thread",8169759],["thread",8091881],["thread",7965179],["thread",5551179]], 95, tinhte_xentag_tag, , {"tags":["m\u00e1y ghi \u00e2m"]}, date, 0, , [], 0, 1657038938, 911a9bc4543a1503dc3d69463f6e5981
Run Time: 0.000488
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: 172
Run Time: 0.000732
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 (9683800, 9683687, 9651857, 9449772, 9435432, 9434648, 9434313, 9383796, 9352587, 9303759, 9301462, 9131938, 9130532, 9090360, 9009969, 8953565, 8897852, 8862296, 8862164)
Run Time: 0.001880
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: 520374
Run Time: 0.000355
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=m%C3%A1y+ghi+%C3%A2m, 1657038938,
Run Time: 0.000417
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000263
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 > 1657038038)
ORDER BY session_activity.view_date DESC
Run Time: 0.000759
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1972 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |