SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000236
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 = 'khuyến mãi')
Run Time: 0.000648
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | tag | ref | tag_text | tag_text | 302 | const | 5 | Using index condition |
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 (9661790, 9638431, 9638366, 9638145, 9637627, 9637426, 9637172, 9636941, 9632487, 9632485, 9632484, 9611520, 9605973, 9601337, 9600955, 9574974, 9547762, 9547761, 9543964, 9540000, 9539999, 9534776, 9534013, 9533657, 9532763, 9486897, 9481488, 9475302, 9470230, 9448463, 9448259, 9442084, 9430373, 9429467, 9412543, 9398334, 9377053, 9368253, 9362782, 9362777, 9332665, 9332664, 9325490, 9321622, 9316375, 9309607, 9305923, 9294238, 9289725, 9288371, 9253508, 9253507, 9253506, 9253505, 9253504, 9253503, 9249720, 9235572, 9228826, 9226663, 9217755, 9217523, 9212707, 9212174, 9205883, 9205882, 9176906, 9176905, 9163988, 9156817, 9156473, 9156472, 9135154, 9133606, 9130911, 9111853, 9111851, 9111850, 9088434, 9087819, 9087735, 9083988, 9082107, 9082089, 9070899, 9070108, 9067673, 9067257, 9067184, 9047923, 9034321, 8976511, 8967167, 8952874, 8882434, 8882432, 8876950, 8859966, 8855894, 8855892, 8831809, 8829816, 8826534, 8826533, 8826531, 8825312, 8809534, 8799084, 8779789, 8765815, 8765814, 8765811, 8762381, 8752330, 8748397, 8748383, 8730858, 8729697, 8727511, 8726130, 8720985, 8715100, 8715098, 8713848, 8712856, 8712846, 8712838, 8712834, 8712832, 8698292, 8698290, 8698285, 8698282, 8696653, 8696652, 8689658, 8687348, 8684388, 8680478, 8680477, 8680474, 8679138, 8679136, 8671084, 8664163, 8651311, 8643400, 8635280, 8628831, 8628829, 8628828, 8628826, 8575516, 8571614, 8570136, 8570133, 8567842, 8547697, 8544776, 8521625, 8521623, 8509643, 8506183, 8506182, 8483515, 8475369, 8460248, 8454396, 8426418, 8425798, 8423789, 8411016, 8405752, 8391494, 8391492, 8367263, 8358608, 8358604, 8358600, 8300078, 8292154, 8291525, 8291218, 8289614, 8283540, 8281970, 8257029, 8243568, 8235458, 8221416, 8221359, 8219689, 8219688, 8214340, 8209549, 8209543, 8157821, 8157818, 8132198, 8129077, 8123330, 8118958, 8118453, 8112880, 8112108, 8112107, 8108134, 8108133, 8103384, 8103354, 8103285, 8088465, 6075086, 5752327, 5197192, 4709773, 3915287, 3500662, 1643597)
Run Time: 0.006496
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 219 | 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_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",9661790],["thread",9638431],["thread",9638366],["thread",9638145],["thread",9637627],["thread",9637426],["thread",9637172],["thread",9636941],["thread",9632487],["thread",9601337],["thread",9547762],["thread",9534013],["thread",9532763],["thread",9481488],["thread",9475302],["thread",9470230],["thread",9448463],["thread",9448259],["thread",9442084],["thread",9430373],["thread",9429467],["thread",9412543],["thread",9294238],["thread",9288371],["thread",9249720],["thread",9235572],["thread",9228826],["thread",9212707],["thread",9212174],["thread",9205883],["thread",9176906],["thread",9135154],["thread",9111853],["thread",9088434],["thread",9087819],["thread",9087735],["thread",9083988],["thread",9082089],["thread",9070899],["thread",9034321],["thread",8952874],["thread",8882434],["thread",8825312],["thread",8809534],["thread",8799084],["thread",8779789],["thread",8762381],["thread",8748397],["thread",8713848],["thread",8689658],["thread",8684388],["thread",8679138],["thread",8651311],["thread",8643400],["thread",8635280],["thread",8575516],["thread",8571614],["thread",8567842],["thread",8547697],["thread",8544776],["thread",8521625],["thread",8509643],["thread",8475369],["thread",8460248],["thread",8454396],["thread",8426418],["thread",8423789],["thread",8411016],["thread",8405752],["thread",8391494],["thread",8367263],["thread",8300078],["thread",8221359],["thread",8214340],["thread",8209543],["thread",8132198],["thread",8123330],["thread",8118958],["thread",8118453],["thread",8112108],["thread",8108134],["thread",8103384],["thread",8103285],["thread",8088465],["thread",5197192],["thread",3500662]], 86, tinhte_xentag_tag, , {"tags":["khuy\u1ebfn m\u00e3i"]}, date, 0, , [], 0, 1653470082, f3c1ab92ba07e2ffbc8510ef0c5fb3b7
Run Time: 0.000688
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 (9661790, 9638431, 9638366, 9638145, 9637627, 9637426, 9637172, 9636941, 9632487, 9601337, 9547762, 9534013, 9532763, 9481488, 9475302, 9470230, 9448463, 9448259, 9442084, 9430373)
Run Time: 0.001769
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: 2218
Run Time: 0.000374
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=khuy%E1%BA%BFn+m%C3%A3i, 1653470082,
Run Time: 0.000467
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000268
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 > 1653469182)
ORDER BY session_activity.view_date DESC
Run Time: 0.005342
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2614 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |