SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000205
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 = 'rau sạch')
Run Time: 0.000565
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: 55
Run Time: 0.000787
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, 55
Run Time: 0.000260
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 (9684812, 9683300, 9683299, 9665964, 9652252, 9646416, 9646415, 9637928, 9636075, 9634156, 9629453, 9629410, 9627327, 9627326, 9619425, 9617942, 9611216, 9608042, 9605379, 9594693, 9594657, 9566154, 9566148, 9566143, 9564894, 9551164, 9546799, 9546798, 9546795, 9536932, 9536930, 9536926, 9512167, 9512165, 9512162, 9510153, 9496008, 9496007, 9493627, 9493626, 9470844, 9470517, 9467421, 9458951, 9458927, 9458926, 9454706, 9444469, 9444468, 9443053, 9408796, 9406549, 9396513, 9385486, 9377330, 9351141, 9345261, 9344624, 9317155, 9283635, 9282321, 9280300, 9276118, 9276117, 9275742, 9275368, 9273588, 9273587, 9270850, 9265424, 9253114, 9246114, 9240317, 9234202, 9229959, 9229441, 9229440, 9226056, 9206711, 9203639, 9202416, 9198561, 9198560, 9196439, 9191557, 9191545, 9188274, 9179485, 9178322, 9178088, 9176829, 9176828, 9176827, 9175429, 9159896, 9143237, 9143235, 9143149, 9143144, 9135617, 9130593, 9126877, 9124475, 9123312, 9122175, 9119014, 9106860, 9106848, 9077477, 9075013, 9071313, 9070715, 9070714, 9064994, 9063112, 9061896, 9059944, 9055382, 9040645, 9040640, 9040637, 9040168, 9039884, 9033911, 9033910, 9022510, 9017955, 9016289, 9016288, 9014747, 9012960, 9011121, 9007257, 8999247, 8979308, 8971878, 8963938, 8963937, 8963936, 8963933, 8963267, 8959249, 8956455, 8955835, 8954549, 8954315, 8954249, 8954248, 8952986, 8952984, 8950988, 8949758, 8949311, 8947132, 8941984, 8937518, 8936371, 8926564, 8920274, 8917589, 8911127, 8900828, 8896205, 8895230, 8895229, 8886487, 8886486, 8885146, 8880676, 8878268, 8877546, 8875021, 8873642, 8866334, 8864826, 8864825, 8863400, 8863399, 8863398, 8863022, 8860323, 8860307, 8856283, 8855939, 8851251, 8849465, 8841156, 8840773, 8838257, 8837952, 8834455, 8828054, 8828053, 8825754, 8823395, 8823390, 8819917, 8818304, 8817632, 8817631, 8814026, 8814025, 8809353, 8797012, 8797009, 8790138, 8790137, 8784269, 8784268, 8783069, 8783064, 8783063, 8778379, 8778369, 8775897, 8775752, 8774271, 8773145, 8772796, 8771821, 8755780, 8755779, 8753308, 8752987, 8752986, 8749958, 8748773, 8748772, 8742377, 8732843, 8731496, 8731489, 8731452, 8731345, 8730683, 8729120, 8729118, 8723461, 8723460, 8723458, 8720729, 8720727, 8720724, 8720710, 8720708, 8720696, 8720695, 8720694, 8717807, 8709952, 8705016, 8693319, 8689511, 8685544, 8637785, 8630696, 8627894, 8627892, 8627225, 8625160, 8605429, 8596589, 8582191, 8577357, 8571199, 8542799, 8535469, 8534880, 8525548, 8518301, 8517569, 8517247, 8500575, 8482246, 8481301, 8478793, 8464707, 8464051, 8450265, 8416151, 8407027, 8407026, 8398190, 8383932, 8319120, 8257486, 8239052, 8158963, 8132937, 8128300, 8086763, 7983347, 7942423, 7607054, 7550559, 7078993, 7068965, 6781988, 6155159, 4953490)
Run Time: 0.020391
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 300 | 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: 55
Run Time: 0.000491
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",55],["thread",9683300],["thread",9665964],["thread",9646416],["thread",9636075],["thread",9634156],["thread",9629453],["thread",9629410],["thread",9627327],["thread",9617942],["thread",9611216],["thread",9605379],["thread",9594693],["thread",9594657],["thread",9566154],["thread",9566148],["thread",9566143],["thread",9564894],["thread",9551164],["thread",9512167],["thread",9512165],["thread",9512162],["thread",9510153],["thread",9493627],["thread",9470844],["thread",9470517],["thread",9458951],["thread",9458927],["thread",9454706],["thread",9444469],["thread",9443053],["thread",9408796],["thread",9406549],["thread",9377330],["thread",9351141],["thread",9344624],["thread",9317155],["thread",9283635],["thread",9280300],["thread",9275742],["thread",9275368],["thread",9273588],["thread",9253114],["thread",9246114],["thread",9240317],["thread",9234202],["thread",9229959],["thread",9226056],["thread",9203639],["thread",9191557],["thread",9191545],["thread",9188274],["thread",9178088],["thread",9143237],["thread",9143149],["thread",9143144],["thread",9123312],["thread",9106860],["thread",9106848],["thread",9077477],["thread",9075013],["thread",9070715],["thread",9064994],["thread",9063112],["thread",9040645],["thread",9040637],["thread",9022510],["thread",9014747],["thread",9011121],["thread",9007257],["thread",8979308],["thread",8963938],["thread",8963267],["thread",8956455],["thread",8955835],["thread",8954315],["thread",8952986],["thread",8949758],["thread",8949311],["thread",8947132],["thread",8937518],["thread",8920274],["thread",8900828],["thread",8896205],["thread",8895230],["thread",8886487],["thread",8880676],["thread",8878268],["thread",8877546],["thread",8875021],["thread",8866334],["thread",8864826],["thread",8863400],["thread",8863022],["thread",8860323],["thread",8855939],["thread",8851251],["thread",8849465],["thread",8841156],["thread",8840773],["thread",8837952],["thread",8828054],["thread",8825754],["thread",8819917],["thread",8817632],["thread",8809353],["thread",8797012],["thread",8790138],["thread",8778379],["thread",8775897],["thread",8774271],["thread",8773145],["thread",8772796],["thread",8771821],["thread",8753308],["thread",8749958],["thread",8742377],["thread",8731496],["thread",8731489],["thread",8731452],["thread",8731345],["thread",8730683],["thread",8729120],["thread",8705016],["thread",8693319],["thread",8685544],["thread",8637785],["thread",8627225],["thread",8625160],["thread",8605429],["thread",8596589],["thread",8582191],["thread",8577357],["thread",8571199],["thread",8542799],["thread",8535469],["thread",8534880],["thread",8518301],["thread",8517247],["thread",8482246],["thread",8481301],["thread",8478793],["thread",8464707],["thread",8450265],["thread",8407027],["thread",8398190],["thread",8383932],["thread",8319120],["thread",8257486],["thread",8239052],["thread",8158963],["thread",8132937],["thread",8128300],["thread",8086763],["thread",7983347],["thread",7942423],["thread",7607054],["thread",7550559],["thread",7078993],["thread",7068965],["thread",6781988],["thread",6155159],["thread",4953490]], 163, tinhte_xentag_tag, , {"tags":["rau s\u1ea1ch"]}, date, 0, , [], 0, 1657000447, 1484062b02d1f4f6fc30cdc6579cd98b
Run Time: 0.000529
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: 55
Run Time: 0.000400
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 (9683300, 9665964, 9646416, 9636075, 9634156, 9629453, 9629410, 9627327, 9617942, 9611216, 9605379, 9594693, 9594657, 9566154, 9566148, 9566143, 9564894, 9551164, 9512167)
Run Time: 0.001344
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: 508270
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=rau+s%E1%BA%A1ch, 1657000447,
Run Time: 0.000300
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000245
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 > 1656999547)
ORDER BY session_activity.view_date DESC
Run Time: 0.003901
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1906 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |