SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000210
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 = 'giày dép trẻ em')
Run Time: 0.000690
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 3 | Using index condition |
SELECT *
FROM xf_search
WHERE search_id = ?
Params: 63224699
Run Time: 0.000285
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: 97
Run Time: 0.000607
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, 97
Run Time: 0.000265
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 (9684986, 9682601, 9663042, 9663041, 9659049, 9659048, 9659045, 9657578, 9657571, 9657570, 9657569, 9657568, 9646834, 9643542, 9643294, 9632535, 9620333, 9615729, 9609080, 9596956, 9588312, 9575015, 9569403, 9569401, 9569398, 9569397, 9569388, 9569387, 9567492, 9567161, 9567026, 9566729, 9566412, 9566053, 9565709, 9565342, 9565154, 9564559, 9564209, 9563510, 9563141, 9562366, 9556763, 9556762, 9538715, 9529411, 9529410, 9513079, 9512789, 9512787, 9512786, 9512784, 9505948, 9495851, 9470794, 9466236, 9442705, 9420932, 9419023, 9419022, 9409641, 9408566, 9402422, 9402197, 9402196, 9401535, 9381773, 9381340, 9380929, 9380433, 9379370, 9366417, 9362140, 9361045, 9359866, 9358315, 9357809, 9357269, 9356207, 9355656, 9354694, 9353488, 9352952, 9351039, 9350879, 9350184, 9349746, 9349219, 9348661, 9348153, 9347722, 9346541, 9344923, 9344337, 9342586, 9342073, 9341986, 9341515, 9340983, 9340186, 9339637, 9339080, 9337699, 9337248, 9336728, 9336196, 9335168, 9335167, 9335162, 9334370, 9333805, 9332129, 9325691, 9325655, 9303487, 9272702, 9258223, 9247087, 9244628, 9238247, 9234712, 9219872, 9194940, 9192806, 9192720, 9192705, 9191067, 9189069, 9187951, 9182038, 9165930, 9165929, 9156518, 9146509, 9138203, 9138190, 9138189, 9138184, 9138181, 9134038, 9131888, 9131881, 9131857, 9130774, 9130445, 9129697, 9129611, 9129289, 9128695, 9128596, 9128501, 9128500, 9118236, 9114938, 9112701, 9112699, 9103020, 9083698, 9068967, 9065667, 9039192, 8989520, 8984480, 8974892, 8974891, 8963721, 8954991, 8944256, 8940771, 8940769, 8940653, 8937083, 8934941, 8934021, 8929443, 8920128, 8920127, 8918042, 8913269, 8902932, 8886374, 8884463, 8869255, 8866362, 8866361, 8861379, 8858284, 8849720, 8849719, 8844370, 8843651, 8840953, 8839474, 8827701, 8826118, 8823791, 8823603, 8813994, 8813749, 8799322, 8799321, 8796007, 8783814, 8783810, 8781588, 8781578, 8780711, 8773406, 8773400, 8773399, 8773258, 8760880, 8760878, 8752067, 8748293, 8747618, 8747617, 8733519, 8732945, 8727773, 8727765, 8727763, 8721175, 8705922, 8705356, 8692439, 8685823, 8685802, 8685801, 8682122, 8681169, 8681168, 8680936, 8676539, 8657395, 8656561, 8656323, 8656322, 8643410, 8641683, 8635441, 8635077, 8634141, 8631504, 8616630, 8608727, 8608720, 8597651, 8597650, 8582468, 8579152, 8579149, 8571162, 8571161, 8568885, 8567873, 8567851, 8563341, 8563339, 8547770, 8545363, 8544485, 8544482, 8544481, 8542033, 8538170, 8531251, 8530053, 8523081, 8521709, 8521707, 8499261, 8478140, 8478139, 8472468, 8472046, 8471954, 8462471, 8366245, 8365441, 8364963, 8343719, 8210399, 8207796, 8163269)
Run Time: 0.006401
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 285 | 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: 97
Run Time: 0.000418
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",97],["thread",9684986],["thread",9682601],["thread",9663042],["thread",9657578],["thread",9657571],["thread",9657570],["thread",9657569],["thread",9646834],["thread",9643294],["thread",9632535],["thread",9620333],["thread",9609080],["thread",9596956],["thread",9588312],["thread",9575015],["thread",9569403],["thread",9567492],["thread",9567161],["thread",9567026],["thread",9566729],["thread",9566412],["thread",9566053],["thread",9565709],["thread",9565342],["thread",9565154],["thread",9564559],["thread",9564209],["thread",9563510],["thread",9563141],["thread",9562366],["thread",9529411],["thread",9513079],["thread",9512789],["thread",9495851],["thread",9420932],["thread",9419023],["thread",9409641],["thread",9381773],["thread",9381340],["thread",9380929],["thread",9380433],["thread",9341986],["thread",9325691],["thread",9325655],["thread",9303487],["thread",9272702],["thread",9247087],["thread",9244628],["thread",9238247],["thread",9234712],["thread",9165930],["thread",9138203],["thread",9134038],["thread",9131888],["thread",9131857],["thread",9130774],["thread",9130445],["thread",9129697],["thread",9129611],["thread",9128695],["thread",9128596],["thread",9128501],["thread",9118236],["thread",9112701],["thread",9083698],["thread",9065667],["thread",8937083],["thread",8934941],["thread",8934021],["thread",8929443],["thread",8920128],["thread",8918042],["thread",8902932],["thread",8884463],["thread",8869255],["thread",8858284],["thread",8849720],["thread",8844370],["thread",8840953],["thread",8826118],["thread",8823791],["thread",8823603],["thread",8813749],["thread",8796007],["thread",8783814],["thread",8781588],["thread",8780711],["thread",8773406],["thread",8773258],["thread",8760880],["thread",8752067],["thread",8727773],["thread",8727765],["thread",8705922],["thread",8705356],["thread",8692439],["thread",8685823],["thread",8685802],["thread",8682122],["thread",8680936],["thread",8676539],["thread",8656561],["thread",8656323],["thread",8641683],["thread",8634141],["thread",8631504],["thread",8616630],["thread",8597651],["thread",8582468],["thread",8579152],["thread",8571162],["thread",8568885],["thread",8563341],["thread",8547770],["thread",8545363],["thread",8542033],["thread",8523081],["thread",8521709],["thread",8499261],["thread",8472468],["thread",8472046],["thread",8471954],["thread",8462471],["thread",8365441],["thread",8364963],["thread",8343719],["thread",8207796],["thread",8163269]], 129, tinhte_xentag_tag, , {"tags":["gi\u00e0y d\u00e9p tr\u1ebb em"]}, date, 0, , [], 0, 1660353071, 46e0c3acc14f3b1c7e828fe2180ff084
Run Time: 0.000670
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: 97
Run Time: 0.000421
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 (9684986, 9682601, 9663042, 9657578, 9657571, 9657570, 9657569, 9646834, 9643294, 9632535, 9620333, 9609080, 9596956, 9588312, 9575015, 9569403, 9567492, 9567161, 9567026)
Run Time: 0.001588
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: 520126
Run Time: 0.000279
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=gi%C3%A0y+d%C3%A9p+tr%E1%BA%BB+em, 1660353071,
Run Time: 0.000499
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000253
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 > 1660352171)
ORDER BY session_activity.view_date DESC
Run Time: 0.006837
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1531 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |