SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.002973
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 = 'iphone 5s lock nháºt')
Run Time: 0.001944
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 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: 126
Run Time: 0.000456
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, 126
Run Time: 0.000165
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 (9236744, 9236743, 9116657, 9020052, 9019635, 8927898, 8927883, 8916052, 8901110, 8901104, 8900681, 8900373, 8898282, 8898273, 8897929, 8894281, 8892437, 8892435, 8892429, 8892427, 8892413, 8891380, 8876215, 8866229, 8857015, 8855140, 8855110, 8848763, 8843758, 8832704, 8827591, 8826137, 8821012, 8817759, 8806656, 8806655, 8806086, 8805642, 8805283, 8803781, 8803075, 8801503, 8800659, 8797469, 8796546, 8790351, 8789888, 8781364, 8778199, 8778194, 8777676, 8774574, 8764366, 8763524, 8762905, 8762903, 8762524, 8762523, 8761659, 8761657, 8756572, 8756571, 8756570, 8756567, 8753974, 8753100, 8741892, 8729812, 8724001, 8722760, 8721776, 8717156, 8716426, 8716157, 8716042, 8715209, 8712439, 8712438, 8706450, 8703203, 8700691, 8698490, 8686165, 8677992, 8673618, 8672619, 8672618, 8672617, 8672554, 8672553, 8672552, 8665310, 8643254, 8635135, 8633475, 8625549, 8624015, 8623208, 8596812, 8591742, 8587276, 8586197, 8585145, 8579599, 8573484, 8556885, 8554228, 8549142, 8539176, 8538704, 8538703, 8536206, 8535008, 8502093, 8502089, 8502079, 8502078, 8468040, 8465839, 8443476, 8418994, 8415204, 8410342, 8405625, 8400023, 8399128, 8395371, 8383598, 8373718, 8347328, 8343859, 8309676, 8308473, 8304249, 8124379, 8120571, 8080942, 8062562, 7808863, 7692244, 7676363, 7542244)
Run Time: 0.003628
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 142 | 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: 126
Run Time: 0.000487
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",126],["thread",9116657],["thread",9020052],["thread",9019635],["thread",8927898],["thread",8927883],["thread",8900373],["thread",8897929],["thread",8892437],["thread",8832704],["thread",8821012],["thread",8806656],["thread",8806086],["thread",8803781],["thread",8797469],["thread",8796546],["thread",8789888],["thread",8764366],["thread",8722760],["thread",8721776],["thread",8716157],["thread",8706450],["thread",8677992],["thread",8673618],["thread",8672619],["thread",8672554],["thread",8643254],["thread",8623208],["thread",8596812],["thread",8585145],["thread",8579599],["thread",8536206],["thread",8468040],["thread",8443476],["thread",8418994],["thread",8415204],["thread",8410342],["thread",8405625],["thread",8399128],["thread",8395371],["thread",8347328],["thread",8343859],["thread",8309676],["thread",8308473],["thread",8304249],["thread",8124379],["thread",8120571],["thread",8080942],["thread",7808863],["thread",7692244],["thread",7676363],["thread",7542244]], 52, tinhte_xentag_tag, , {"tags":["iphone 5s lock nh\u1eadt"]}, date, 0, , [], 0, 1656539094, 3e1a191e893c775203aaa2333bde46db
Run Time: 0.000543
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: 126
Run Time: 0.000465
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 (9116657, 9020052, 9019635, 8927898, 8927883, 8900373, 8897929, 8892437, 8832704, 8821012, 8806656, 8806086, 8803781, 8797469, 8796546, 8789888, 8764366, 8722760, 8721776)
Run Time: 0.001553
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: 539787
Run Time: 0.000376
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=iphone+5s+lock+nh%E1%BA%ADt, 1656539094,
Run Time: 0.000335
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000208
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 > 1656538194)
ORDER BY session_activity.view_date DESC
Run Time: 0.000703
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1298 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |