SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000199
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 = 'tour du lịch tết 2017')
Run Time: 0.000425
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: 163
Run Time: 0.000586
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, 163
Run Time: 0.000244
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 (9659033, 9659032, 9659030, 9659028, 9648141, 9637947, 9560480, 9560478, 9536040, 9441075, 9436358, 9436356, 9326444, 9290112, 9283735, 9283734, 9265693, 9238565, 9238564, 9217094, 9203453, 9201363, 9201361, 9190047, 9140348, 9140347, 9140346, 9070476, 9055565, 9055564, 9053315, 9049024, 9039816, 9037200, 9037195, 9036842, 9032991, 9031711, 9031705, 9029007, 9028326, 9026712, 9017453, 9015348, 9010265, 9010264, 9005658, 9005657, 9003720, 8993125, 8988754, 8967488, 8967031, 8945430, 8935277, 8924010, 8917062, 8915788, 8915787, 8914334, 8895615, 8894197, 8894195, 8894194, 8860033, 8860032, 8852023, 8847576, 8845647, 8823690, 8811273, 8782689, 8774890, 8771172, 8767976, 8761409, 8754321, 8752677, 8738939, 8738938, 8735469, 8734765, 8734366, 8734297, 8732944, 8732943, 8732942, 8732903, 8732303, 8732302, 8729079, 8725950, 8725949, 8724796, 8723910, 8722478, 8721514, 8719007, 8718428, 8718427, 8717902, 8717901, 8717790, 8717783, 8717780, 8717395, 8712673, 8711644, 8711643, 8711190, 8711184, 8711183, 8711178, 8710521, 8710325, 8710278, 8710277, 8710276, 8709648, 8709351, 8709349, 8709348, 8708498, 8708171, 8708162, 8708094, 8707569, 8704845, 8704844, 8702999, 8702462, 8702335, 8702334, 8702333, 8701739, 8701723, 8700753, 8700661, 8700151, 8700088, 8700013, 8697021, 8695823, 8694527, 8694526, 8694524, 8693173, 8692941, 8692940, 8691978, 8685712, 8684765, 8668061, 8657804, 8636312, 8621768, 8608686, 8594950, 8591999, 8578058)
Run Time: 0.004121
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 160 | 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: 163
Run Time: 0.000410
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",163],["thread",9659033],["thread",9659032],["thread",9659030],["thread",9659028],["thread",9536040],["thread",9436358],["thread",9326444],["thread",9283735],["thread",9217094],["thread",9190047],["thread",9055565],["thread",9037200],["thread",9031711],["thread",9031705],["thread",9028326],["thread",9026712],["thread",9010265],["thread",8967488],["thread",8924010],["thread",8915788],["thread",8895615],["thread",8852023],["thread",8847576],["thread",8845647],["thread",8782689],["thread",8774890],["thread",8771172],["thread",8761409],["thread",8738939],["thread",8735469],["thread",8734765],["thread",8734297],["thread",8732944],["thread",8732903],["thread",8732303],["thread",8729079],["thread",8725950],["thread",8723910],["thread",8722478],["thread",8721514],["thread",8719007],["thread",8717902],["thread",8712673],["thread",8711190],["thread",8711184],["thread",8711178],["thread",8710325],["thread",8710278],["thread",8709351],["thread",8708498],["thread",8708094],["thread",8707569],["thread",8702999],["thread",8702462],["thread",8702335],["thread",8701739],["thread",8701723],["thread",8700753],["thread",8700661],["thread",8700088],["thread",8692941],["thread",8691978],["thread",8685712],["thread",8684765],["thread",8668061],["thread",8657804],["thread",8636312],["thread",8621768],["thread",8608686],["thread",8594950],["thread",8591999],["thread",8578058]], 73, tinhte_xentag_tag, , {"tags":["tour du l\u1ecbch t\u1ebft 2017"]}, date, 0, , [], 0, 1657001551, a7e7c81a4940fe39b619fd3638259504
Run Time: 0.000612
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: 163
Run Time: 0.000407
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 (9659033, 9659032, 9659030, 9659028, 9536040, 9436358, 9326444, 9283735, 9217094, 9190047, 9055565, 9037200, 9031711, 9031705, 9028326, 9026712, 9010265, 8967488, 8924010)
Run Time: 0.001467
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: 693424
Run Time: 0.000286
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=tour+du+l%E1%BB%8Bch+t%E1%BA%BFt+2017, 1657001551,
Run Time: 0.000422
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000238
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 > 1657000651)
ORDER BY session_activity.view_date DESC
Run Time: 0.004067
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1927 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |