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 = 'xiaomi mi note')
Run Time: 0.000227
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.000696
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.000252
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 (9564373, 9560124, 9559787, 9535818, 9516399, 9502738, 9493365, 9457818, 9457699, 9451947, 9448145, 9440287, 9436758, 9433764, 9403028, 9396779, 9373522, 9373238, 9373236, 9363087, 9355168, 9352823, 9352822, 9345956, 9345954, 9345952, 9345951, 9345950, 9343725, 9342410, 9341841, 9340687, 9333011, 9333010, 9331037, 9330213, 9328559, 9303074, 9298925, 9298852, 9298088, 9295915, 9291090, 9288283, 9288003, 9277849, 9262665, 9251084, 9236286, 9229129, 9227640, 9204518, 9199164, 9198419, 9189385, 9175882, 9174976, 9171551, 9170581, 9170578, 9170572, 9148632, 9146663, 9132831, 9121008, 9118375, 9103215, 9102700, 9086479, 9073601, 9061072, 9055315, 9055313, 9046385, 9046383, 9044895, 9039409, 9032605, 9005598, 9002593, 9002592, 8998344, 8996558, 8988276, 8985689, 8980844, 8953463, 8951940, 8948515, 8948514, 8930634, 8929871, 8919080, 8917208, 8911508, 8883851, 8862680, 8859676, 8859675, 8859673, 8859672, 8859671, 8859670, 8854581, 8848666, 8848665, 8848664, 8848663, 8848662, 8839493, 8838888, 8837535, 8831898, 8826812, 8826230, 8823280, 8808142, 8803756, 8792464, 8790438, 8789875, 8781436, 8772406, 8772404, 8764577, 8760893, 8749329, 8749134, 8735559, 8723487, 8719299, 8684396, 8684251, 8653203, 8644530, 8621186, 8600168, 8594966, 8594965, 8594964, 8565753, 8488934, 8487444, 8487003, 8483695, 8459948, 8415936, 8382381, 8381991, 8293612, 8265142, 8207351, 8196885, 8195461, 8180310, 8179237, 8177474, 8174450, 8153215, 8152682, 8141843, 8136809, 8096310, 8057514, 8052799, 8046418, 7917833, 7736546, 7273506)
Run Time: 0.008676
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 169 | 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.000434
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",9564373],["thread",9560124],["thread",9559787],["thread",9516399],["thread",9502738],["thread",9403028],["thread",9396779],["thread",9373522],["thread",9373238],["thread",9373236],["thread",9355168],["thread",9345956],["thread",9345954],["thread",9345952],["thread",9342410],["thread",9341841],["thread",9333011],["thread",9328559],["thread",9277849],["thread",9236286],["thread",9204518],["thread",9175882],["thread",9170581],["thread",9148632],["thread",9146663],["thread",9132831],["thread",9102700],["thread",9055315],["thread",9039409],["thread",8996558],["thread",8929871],["thread",8911508],["thread",8883851],["thread",8862680],["thread",8838888],["thread",8831898],["thread",8789875],["thread",8781436],["thread",8760893],["thread",8749134],["thread",8621186],["thread",8600168],["thread",8594966],["thread",8565753],["thread",8488934],["thread",8487003],["thread",8483695],["thread",8459948],["thread",8382381],["thread",8381991],["thread",8293612],["thread",8265142],["thread",8207351],["thread",8195461],["thread",8180310],["thread",8179237],["thread",8177474],["thread",8174450],["thread",8153215],["thread",8152682],["thread",8141843],["thread",8136809],["thread",8096310],["thread",8057514],["thread",8052799],["thread",8046418],["thread",7917833],["thread",7736546],["thread",7273506]], 70, tinhte_xentag_tag, , {"tags":["xiaomi mi note"]}, date, 0, , [], 0, 1657022614, 0f98c8742ff738697220560d738e0ce7
Run Time: 0.000588
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.000414
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 (9564373, 9560124, 9559787, 9516399, 9502738, 9403028, 9396779, 9373522, 9373238, 9373236, 9355168, 9345956, 9345954, 9345952, 9342410, 9341841, 9333011, 9328559, 9277849)
Run Time: 0.001476
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: 515845
Run Time: 0.000303
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+mi+note, 1657022614,
Run Time: 0.000490
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000224
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 > 1657021714)
ORDER BY session_activity.view_date DESC
Run Time: 0.004223
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2499 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |