SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000203
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 = 'chó nhật lông xù')
Run Time: 0.000551
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: 45754207
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: 41
Run Time: 0.000464
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, 41
Run Time: 0.003969
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 (9658788, 9658787, 9658252, 9658251, 9628805, 9628804, 9592815, 9524045, 9500399, 9481411, 9378511, 9371506, 9353287, 9348415, 9338991, 9303863, 9302034, 9302033, 9284959, 9284958, 9284957, 9270643, 9270641, 9270640, 9218338, 9196937, 9196936, 9196935, 9195883, 9190191, 9173605, 9173600, 9173596, 9173594, 9173593, 9169141, 9169140, 9163023, 9151327, 9150901, 9148588, 9146941, 9136898, 9134676, 9131849, 9118310, 9116625, 9098290, 9084580, 9066725, 9058623, 9056459, 9056452, 9056273, 9052676, 9032681, 9008337, 9001003, 9001002, 8995552, 8983428, 8953663, 8941680, 8940420, 8900133, 8891825, 8890337, 8890336, 8882155, 8882154, 8882152, 8870988, 8870685, 8866521, 8866520, 8861401, 8861400, 8856434, 8855884, 8845886, 8843940, 8843939, 8843938, 8843937, 8843936, 8839391, 8839366, 8830190, 8827121, 8827120, 8821422, 8820932, 8819858, 8819857, 8817841, 8817839, 8817307, 8816918, 8814249, 8811978, 8810268, 8810267, 8809633, 8804678, 8804676, 8803495, 8803494, 8803225, 8803224, 8803223, 8803221, 8800521, 8799222, 8799221, 8799220, 8792664, 8792661, 8790135, 8788184, 8786692, 8786690, 8785719, 8785717, 8785715, 8785714, 8785713, 8781952, 8780412, 8777763, 8774554, 8774553, 8773233, 8762383, 8761316, 8761084, 8760969, 8759410, 8756248, 8756246, 8756244, 8755032, 8753875, 8753872, 8743567, 8739146, 8733812, 8733811, 8733810, 8727998, 8647483, 8531802, 8467340, 8400482, 8380585, 8262896, 8232936, 8209863, 8201238, 8190072, 8137154, 8068108, 8025334, 7979048, 7855588, 7837866, 7718432, 7626857, 7586416, 7579403, 7577724, 7573154, 7562020, 7561352, 7553616, 7542790, 7536036, 7494621, 7451098, 7447615, 7445703, 7401832, 7344352, 7343266, 7320044, 7317032, 7192453)
Run Time: 0.003671
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 186 | 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: 41
Run Time: 0.000473
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",41],["thread",9658252],["thread",9658251],["thread",9628805],["thread",9524045],["thread",9500399],["thread",9481411],["thread",9353287],["thread",9284959],["thread",9270643],["thread",9270641],["thread",9196937],["thread",9151327],["thread",9148588],["thread",9146941],["thread",9134676],["thread",9118310],["thread",9116625],["thread",9098290],["thread",9058623],["thread",9056273],["thread",9052676],["thread",9032681],["thread",8983428],["thread",8953663],["thread",8866521],["thread",8861401],["thread",8843940],["thread",8827121],["thread",8810268],["thread",8809633],["thread",8804678],["thread",8803225],["thread",8800521],["thread",8790135],["thread",8780412],["thread",8761316],["thread",8760969],["thread",8755032],["thread",8753875],["thread",8647483],["thread",8531802],["thread",8467340],["thread",8400482],["thread",8380585],["thread",8262896],["thread",8232936],["thread",8209863],["thread",8190072],["thread",8137154],["thread",8068108],["thread",8025334],["thread",7979048],["thread",7855588],["thread",7837866],["thread",7718432],["thread",7626857],["thread",7586416],["thread",7579403],["thread",7577724],["thread",7573154],["thread",7562020],["thread",7561352],["thread",7553616],["thread",7542790],["thread",7536036],["thread",7494621],["thread",7451098],["thread",7447615],["thread",7445703],["thread",7401832],["thread",7344352],["thread",7343266],["thread",7320044],["thread",7317032],["thread",7192453]], 76, tinhte_xentag_tag, , {"tags":["ch\u00f3 nh\u1eadt l\u00f4ng x\u00f9"]}, date, 0, , [], 0, 1653337958, 0b67041a0d8da94807f84bfbb6a9be94
Run Time: 0.000541
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: 41
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 (9658252, 9658251, 9628805, 9524045, 9500399, 9481411, 9353287, 9284959, 9270643, 9270641, 9196937, 9151327, 9148588, 9146941, 9134676, 9118310, 9116625, 9098290, 9058623)
Run Time: 0.001443
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: 693828
Run Time: 0.000293
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=ch%C3%B3+nh%E1%BA%ADt+l%C3%B4ng+x%C3%B9, 1653337958,
Run Time: 0.000379
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000223
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 > 1653337058)
ORDER BY session_activity.view_date DESC
Run Time: 0.003591
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1820 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |