SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000221
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 = 'tay cầm xbox 360')
Run Time: 0.000506
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: 40138271
Run Time: 0.000291
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.000395
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.000175
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 (9546862, 9543469, 9456180, 9436599, 9436597, 9420077, 9420075, 9399996, 9399995, 9363632, 9355420, 9355354, 9353947, 9341449, 9327884, 9311554, 9284824, 9278790, 9264828, 9258529, 9250362, 9233129, 9210121, 9208159, 9179537, 9154505, 9153838, 9153837, 9140945, 9121567, 9097609, 9094072, 9072164, 9070954, 9064671, 9060420, 9059337, 9051983, 9046646, 9009380, 9000345, 8976992, 8949808, 8949807, 8936489, 8923156, 8922301, 8911688, 8911687, 8909193, 8909192, 8909191, 8906924, 8891670, 8888466, 8888465, 8872358, 8872357, 8841319, 8840848, 8830613, 8816733, 8811071, 8804474, 8804472, 8778383, 8752551, 8718314, 8717941, 8715708, 8693826, 8690926, 8674109, 8673362, 8656786, 8644499, 8620710, 8613442, 8609354, 8600901, 8566369, 8457953, 8457069, 8430540, 8428887, 8420844, 8362597, 8297329, 8277649, 8276712, 8268820, 8255748, 8255747, 8228671, 8207260, 8156760, 8044784, 7906409, 7904940, 7814799, 7742578, 7738870, 7736410, 7728462, 7660614, 7606673, 7556782, 7551797, 7537531, 7530249, 7515979, 7497732, 7488586, 7473186, 7456774, 7445892, 7435376, 7399679, 7136003, 6926718, 3373172)
Run Time: 0.004136
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 121 | 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.000540
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",9420077],["thread",9399996],["thread",9363632],["thread",9341449],["thread",9258529],["thread",9153838],["thread",9121567],["thread",9097609],["thread",9094072],["thread",9059337],["thread",9009380],["thread",8976992],["thread",8949808],["thread",8936489],["thread",8891670],["thread",8841319],["thread",8752551],["thread",8718314],["thread",8693826],["thread",8690926],["thread",8673362],["thread",8656786],["thread",8644499],["thread",8620710],["thread",8609354],["thread",8600901],["thread",8566369],["thread",8457953],["thread",8457069],["thread",8428887],["thread",8420844],["thread",8362597],["thread",8297329],["thread",8277649],["thread",8276712],["thread",8268820],["thread",8255748],["thread",8228671],["thread",8156760],["thread",8044784],["thread",7906409],["thread",7904940],["thread",7814799],["thread",7742578],["thread",7738870],["thread",7728462],["thread",7660614],["thread",7606673],["thread",7556782],["thread",7551797],["thread",7537531],["thread",7530249],["thread",7515979],["thread",7497732],["thread",7488586],["thread",7473186],["thread",7456774],["thread",7445892],["thread",7435376],["thread",7399679],["thread",7136003],["thread",6926718],["thread",3373172]], 64, tinhte_xentag_tag, , {"tags":["tay c\u1ea7m xbox 360"]}, date, 0, , [], 0, 1653413934, 3419ec1accea690ce293c8ce9646ca69
Run Time: 0.000689
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 (7399679, 7136003, 6926718, 3373172)
Run Time: 0.001421
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 4 | 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: 588444
Run Time: 0.000383
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=tay+c%E1%BA%A7m+xbox+360&page=4, 1653413934,
Run Time: 0.000383
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000219
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 > 1653413034)
ORDER BY session_activity.view_date DESC
Run Time: 0.000761
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2086 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |