SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000227
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 = 'lốp xe oto')
Run Time: 0.000589
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: 45110667
Run Time: 0.000303
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: 182
Run Time: 0.000706
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, 182
Run Time: 0.000285
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 (9673222, 9672646, 9665698, 9665208, 9665207, 9661728, 9661725, 9657061, 9657060, 9651813, 9651624, 9651246, 9641716, 9640090, 9625621, 9625620, 9625619, 9623501, 9623500, 9615744, 9615743, 9614736, 9614702, 9614460, 9613000, 9611669, 9610979, 9610805, 9610801, 9610560, 9609115, 9608566, 9608558, 9608557, 9607585, 9604793, 9604146, 9600081, 9600080, 9595612, 9585921, 9585920, 9585919, 9583755, 9568020, 9546105, 9521324, 9521323, 9521312, 9521300, 9521065, 9520654, 9508165, 9493068, 9492134, 9490765, 9483761, 9483736, 9483735, 9483734, 9477277, 9476684, 9476283, 9475434, 9475433, 9474641, 9473020, 9471523, 9465149, 9460319, 9460318, 9458079, 9443104, 9440630, 9439310, 9434855, 9432490, 9425007, 9419067, 9419066, 9416964, 9416663, 9414627, 9414381, 9410672, 9410363, 9400885, 9372433, 9366847, 9352144, 9352030, 9352015, 9352006, 9346643, 9335830, 9333201, 9333198, 9298793, 9298792, 9298791, 9298789, 9287156, 9283833, 9283832, 9283561, 9281201, 9273984, 9273983, 9273982, 9267989, 9265133, 9247563, 9247562, 9240785, 9229670, 9223166, 9223165, 9221167, 9216683, 9207734, 9176546, 9176545, 9175404, 9160850, 9160720, 9160716, 9160701, 9157608, 9157604, 9155332, 9155151, 9152405, 9141778, 9141776, 9141772, 9139058, 9139055, 9139039, 9139037, 9139027, 9137016, 9137015, 9137014, 9133475, 9130495, 9128565, 9127918, 9126903, 9126600, 9115090, 9111208, 9098169, 9097159, 9088458, 9084438, 9084377, 9082731, 9082729, 9079091, 9054465, 9051190, 9051187, 9046226, 9030399, 9030397, 9030393, 8985316, 8985314, 8978541, 8951731, 8948444, 8923536, 8921431, 8908146, 8897268, 8897267, 8891787, 8888512, 8887365, 8878940, 8875381, 8857199, 8857195, 8849471, 8833346, 8833341, 8833331, 8824271, 8799768, 8785653, 8767867, 8765322, 8751741, 8751015, 8659263, 8635546, 8579813, 8298021, 8015106)
Run Time: 0.004648
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 199 | 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: 182
Run Time: 0.000475
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",182],["thread",9673222],["thread",9672646],["thread",9665698],["thread",9665208],["thread",9661728],["thread",9661725],["thread",9657061],["thread",9651813],["thread",9651624],["thread",9651246],["thread",9641716],["thread",9640090],["thread",9625621],["thread",9623501],["thread",9615744],["thread",9614736],["thread",9614702],["thread",9613000],["thread",9611669],["thread",9610979],["thread",9610805],["thread",9610801],["thread",9610560],["thread",9609115],["thread",9608566],["thread",9608558],["thread",9604793],["thread",9604146],["thread",9585921],["thread",9583755],["thread",9568020],["thread",9521324],["thread",9521312],["thread",9521300],["thread",9521065],["thread",9520654],["thread",9493068],["thread",9490765],["thread",9483761],["thread",9476684],["thread",9476283],["thread",9475434],["thread",9474641],["thread",9473020],["thread",9471523],["thread",9460319],["thread",9458079],["thread",9443104],["thread",9440630],["thread",9439310],["thread",9434855],["thread",9425007],["thread",9419067],["thread",9416964],["thread",9416663],["thread",9414381],["thread",9410672],["thread",9410363],["thread",9400885],["thread",9372433],["thread",9352144],["thread",9352030],["thread",9352015],["thread",9352006],["thread",9333201],["thread",9287156],["thread",9283833],["thread",9283561],["thread",9281201],["thread",9273984],["thread",9267989],["thread",9247563],["thread",9229670],["thread",9223166],["thread",9221167],["thread",9216683],["thread",9207734],["thread",9176546],["thread",9157608],["thread",9157604],["thread",9155332],["thread",9141776],["thread",9139058],["thread",9139055],["thread",9139039],["thread",9139027],["thread",9133475],["thread",9130495],["thread",9128565],["thread",9126903],["thread",9126600],["thread",9111208],["thread",9084438],["thread",9084377],["thread",9082731],["thread",9079091],["thread",9054465],["thread",8985316],["thread",8951731],["thread",8923536],["thread",8908146],["thread",8897268],["thread",8888512],["thread",8887365],["thread",8875381],["thread",8857199],["thread",8833331],["thread",8824271],["thread",8799768],["thread",8785653],["thread",8767867],["thread",8659263],["thread",8635546],["thread",8298021]], 115, tinhte_xentag_tag, , {"tags":["l\u1ed1p xe oto"]}, date, 0, , [], 0, 1652973946, f4e217343c0755f03c276f4938076847
Run Time: 0.000612
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 (9610979, 9610805, 9610801, 9610560, 9609115, 9608566, 9608558, 9604793, 9604146, 9585921, 9583755, 9568020, 9521324, 9521312, 9521300, 9521065, 9520654, 9493068, 9490765, 9483761)
Run Time: 0.001645
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: 622843
Run Time: 0.000286
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, ,Ȯa, ,Ȯa, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=l%E1%BB%91p+xe+oto&page=2, 1652973946,
Run Time: 0.000344
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000225
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 > 1652973046)
ORDER BY session_activity.view_date DESC
Run Time: 0.003524
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1646 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |