SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000251
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 = 'xiaomi mi4')
Run Time: 0.000503
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: 22
Run Time: 0.000509
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, 22
Run Time: 0.000181
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 (9684152, 9684149, 9522949, 9457818, 9438940, 9433764, 9421356, 9390856, 9390846, 9389269, 9367106, 9353347, 9353346, 9353345, 9353344, 9345956, 9345952, 9345951, 9345950, 9345948, 9343078, 9342404, 9342397, 9341841, 9298925, 9298852, 9289232, 9288283, 9285996, 9236286, 9229129, 9227640, 9219324, 9219323, 9219322, 9212003, 9190456, 9177191, 9174983, 9170581, 9170578, 9170572, 9165855, 9163727, 9159791, 9159789, 9156718, 9153856, 9132831, 9121254, 9121253, 9121252, 9117031, 9102668, 9092625, 9090383, 9086479, 9071941, 9066370, 9055315, 9055313, 9051699, 9046385, 9046383, 9041698, 9012197, 9003348, 9001633, 8996558, 8996523, 8989856, 8987105, 8984618, 8975408, 8966423, 8953463, 8951940, 8948514, 8945998, 8945276, 8944230, 8938704, 8930634, 8919080, 8918718, 8917208, 8911508, 8900134, 8900132, 8899397, 8890737, 8883851, 8877496, 8871636, 8859677, 8859676, 8859675, 8859673, 8859672, 8859671, 8859670, 8854581, 8848666, 8848665, 8848664, 8848663, 8848662, 8841292, 8838099, 8831898, 8831318, 8826230, 8816551, 8803756, 8796839, 8789875, 8787638, 8784820, 8776118, 8772404, 8766871, 8749329, 8745625, 8745624, 8735559, 8729061, 8725627, 8723487, 8719300, 8719299, 8711642, 8702250, 8701531, 8699772, 8699771, 8697465, 8695140, 8693954, 8687667, 8684398, 8684396, 8684251, 8682624, 8682011, 8680708, 8680706, 8663349, 8658875, 8645928, 8637728, 8625592, 8622970, 8621186, 8597062, 8596117, 8594966, 8594965, 8594964, 8581682, 8581681, 8581680, 8575409, 8564413, 8564412, 8564409, 8564408, 8564407, 8556126, 8542321, 8534852, 8525115, 8523034, 8520794, 8509343, 8478550, 8451437, 8439928, 8435712, 8432707, 8378038, 8344199, 8313070, 8276586, 8260448, 8258488, 8258007, 8242879, 8215810, 8207303, 8125810, 8112000, 8105888, 8089626, 8066431, 8045703, 8039586, 7829103, 7776225, 7727645, 7558481, 7555222)
Run Time: 0.006505
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 201 | 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: 22
Run Time: 0.000792
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",22],["thread",9684152],["thread",9684149],["thread",9390856],["thread",9353347],["thread",9345956],["thread",9345952],["thread",9345948],["thread",9343078],["thread",9342404],["thread",9342397],["thread",9341841],["thread",9285996],["thread",9236286],["thread",9219324],["thread",9212003],["thread",9174983],["thread",9170581],["thread",9165855],["thread",9163727],["thread",9159791],["thread",9153856],["thread",9132831],["thread",9117031],["thread",9066370],["thread",9055315],["thread",9001633],["thread",8996558],["thread",8996523],["thread",8945276],["thread",8944230],["thread",8911508],["thread",8899397],["thread",8883851],["thread",8871636],["thread",8831898],["thread",8816551],["thread",8796839],["thread",8789875],["thread",8787638],["thread",8784820],["thread",8776118],["thread",8766871],["thread",8719300],["thread",8699772],["thread",8684398],["thread",8682624],["thread",8682011],["thread",8663349],["thread",8658875],["thread",8645928],["thread",8637728],["thread",8625592],["thread",8622970],["thread",8621186],["thread",8594966],["thread",8575409],["thread",8534852],["thread",8525115],["thread",8523034],["thread",8520794],["thread",8478550],["thread",8439928],["thread",8378038],["thread",8344199],["thread",8313070],["thread",8276586],["thread",8258488],["thread",8242879],["thread",8215810],["thread",8207303],["thread",8125810],["thread",8112000],["thread",8105888],["thread",8089626],["thread",8066431],["thread",8045703],["thread",8039586],["thread",7829103],["thread",7776225],["thread",7727645],["thread",7558481],["thread",7555222]], 83, tinhte_xentag_tag, , {"tags":["xiaomi mi4"]}, date, 0, , [], 0, 1656131294, acf1c49067f9486dab44e56df4363122
Run Time: 0.000436
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: 22
Run Time: 0.000488
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 (9684152, 9684149, 9390856, 9353347, 9345956, 9345952, 9345948, 9343078, 9342404, 9342397, 9341841, 9285996, 9236286, 9219324, 9212003, 9174983, 9170581, 9165855, 9163727)
Run Time: 0.001611
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: 506990
Run Time: 0.000464
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=xiaomi+mi4, 1656131294,
Run Time: 0.000326
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000242
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 > 1656130394)
ORDER BY session_activity.view_date DESC
Run Time: 0.003906
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2596 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |