SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.001348
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 = 'sạc macbook')
Run Time: 0.000662
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 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: 148
Run Time: 0.001004
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, 148
Run Time: 0.000313
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 (9561598, 9560381, 9555849, 9552435, 9552331, 9552005, 9549876, 9549875, 9549062, 9548377, 9548376, 9547631, 9544596, 9542119, 9538797, 9518936, 9473375, 9469501, 9443652, 9440588, 9430420, 9427182, 9424334, 9424333, 9424332, 9424331, 9424329, 9424326, 9414101, 9405350, 9405349, 9400331, 9398641, 9397177, 9391263, 9389875, 9357980, 9350844, 9350185, 9332786, 9331058, 9328232, 9317130, 9314478, 9314477, 9312017, 9311732, 9304789, 9285526, 9278332, 9276758, 9273140, 9264093, 9250017, 9249868, 9239916, 9239880, 9237602, 9232597, 9232027, 9210438, 9195552, 9190800, 9175772, 9175771, 9155189, 9143627, 9140998, 9140997, 9133033, 9133031, 9131489, 9131281, 9131238, 9124538, 9104218, 9097417, 9075371, 9053830, 9053818, 9036215, 9035484, 9031795, 9013926, 9013920, 9013916, 9008982, 8983441, 8982352, 8975342, 8975341, 8971275, 8964690, 8933762, 8930327, 8910534, 8910531, 8909704, 8906228, 8897089, 8892662, 8889331, 8877575, 8874691, 8872778, 8872113, 8872112, 8871500, 8871426, 8862738, 8860511, 8852848, 8847041, 8835057, 8828896, 8821106, 8805817, 8770817, 8770227, 8769937, 8768203, 8756286, 8749366, 8737671, 8726786, 8725301, 8715723, 8709456, 8703877, 8681151, 8679675, 8667903, 8667185, 8655536, 8646804, 8640424, 8639751, 8626588, 8622610, 8621509, 8617780, 8610304, 8589032, 8578055, 8577213, 8574529, 8571497, 8548569, 8508986, 8488860, 8477203, 8476918, 8470513, 8465903, 8445853, 8440125, 8439176, 8401539, 8394742, 8365285, 8360285, 8284083, 8275914, 8233986, 8144070, 8099165, 7783861, 7498193, 7072413, 5349845)
Run Time: 0.006098
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 170 | 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: 148
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: [["thread",9561598],["thread",9560381],["thread",9555849],["thread",9552435],["thread",9552331],["thread",9552005],["thread",9549876],["thread",9549875],["thread",9549062],["thread",9548377],["thread",9547631],["thread",9544596],["thread",9542119],["thread",9538797],["thread",9518936],["thread",9443652],["thread",9440588],["thread",9430420],["thread",9427182],["thread",9424334],["thread",9424333],["thread",9424332],["thread",9424331],["thread",9424329],["thread",9414101],["thread",9405350],["thread",9400331],["thread",9398641],["thread",9397177],["thread",9350844],["thread",9350185],["thread",9332786],["thread",9331058],["thread",9328232],["thread",9317130],["thread",9314478],["thread",9312017],["thread",9311732],["thread",9285526],["thread",9278332],["thread",9276758],["thread",9273140],["thread",9264093],["thread",9250017],["thread",9249868],["thread",9237602],["thread",9232027],["thread",9210438],["thread",9195552],["thread",9175772],["thread",9143627],["thread",9140998],["thread",9133033],["thread",9131489],["thread",9131281],["thread",9131238],["thread",9124538],["thread",9104218],["thread",9053818],["thread",9013920],["thread",8983441],["thread",8975342],["thread",8910534],["thread",8892662],["thread",8871500],["thread",8852848],["thread",8835057],["thread",8828896],["thread",8805817],["thread",8770817],["thread",8737671],["thread",8703877],["thread",8681151],["thread",8667185],["thread",8655536],["thread",8646804],["thread",8639751],["thread",8626588],["thread",8621509],["thread",8617780],["thread",8610304],["thread",8589032],["thread",8578055],["thread",8577213],["thread",8488860],["thread",8477203],["thread",8476918],["thread",8470513],["thread",8465903],["thread",8445853],["thread",8439176],["thread",8401539],["thread",8394742],["thread",8365285],["thread",8360285],["thread",8284083],["thread",8233986],["thread",8144070],["thread",8099165],["thread",7498193],["thread",5349845]], 101, tinhte_xentag_tag, , {"tags":["s\u1ea1c macbook"]}, date, 0, , [], 0, 1653759904, cd62bd1a80780e68a7a5132dc73ff4ec
Run Time: 0.000588
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 (9561598, 9560381, 9555849, 9552435, 9552331, 9552005, 9549876, 9549875, 9549062, 9548377, 9547631, 9544596, 9542119, 9538797, 9518936, 9443652, 9440588, 9430420, 9427182, 9424334)
Run Time: 0.001826
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: 41151
Run Time: 0.000277
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=s%E1%BA%A1c+macbook, 1653759904,
Run Time: 0.000365
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000259
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 > 1653759004)
ORDER BY session_activity.view_date DESC
Run Time: 0.002556
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1273 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |