SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000216
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 = 'xe bmw 3 series')
Run Time: 0.000537
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 *
FROM xf_search
WHERE search_id = ?
Params: 45602395
Run Time: 0.000507
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | | | | | | | | Impossible WHERE noticed after reading const tables |
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: 139
Run Time: 0.000803
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 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: 200
Run Time: 0.000600
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, 139
Run Time: 0.000353
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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, node, 200
Run Time: 0.000261
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 (9675055, 9638152, 9638151, 9632765, 9632764, 9531851, 9524286, 9480118, 9464279, 9430779, 9421185, 9402703, 9357517, 9334546, 9329093, 9328064, 9300471, 9279202, 9266040, 9263984, 9263983, 9263544, 9246747, 9246746, 9246128, 9241499, 9226295, 9226294, 9226293, 9221133, 9215059, 9200016, 9200014, 9192170, 9192169, 9192168, 9190894, 9187463, 9168664, 9154340, 9150790, 9150788, 9129837, 9127934, 9121948, 9121946, 9112538, 9108281, 9103836, 9101635, 9101624, 9101615, 9101612, 9101609, 9098706, 9041297, 9021788, 8947138, 8940568, 8939857, 8939856, 8936963, 8927623, 8923046, 8921986, 8920252, 8918690, 8907921, 8905210, 8896037, 8895214, 8894392, 8892598, 8886724, 8886723, 8886056, 8885927, 8877481, 8876559, 8875490, 8875346, 8870017, 8868931, 8867833, 8860216, 8858770, 8851942, 8847973, 8847078, 8844995, 8840864, 8838374, 8838373, 8835349, 8835348, 8834632, 8833268, 8832030, 8831138, 8830702, 8825526, 8825523, 8825522, 8823335, 8823324, 8823323, 8823118, 8820882, 8820197, 8815159, 8815158, 8811790, 8811019, 8807664, 8806545, 8802618, 8799216, 8794593, 8793898, 8787749, 8786313, 8786312, 8785818, 8783060, 8777226, 8775766, 8767497, 8767495, 8764166, 8763273, 8763019, 8762083, 8762081, 8762079, 8762074, 8762072, 8757569, 8756303, 8754459, 8754458, 8749815, 8748249, 8748248, 8747922, 8747921, 8747824, 8747808, 8747420, 8745896, 8745553, 8743285, 8743283, 8743282, 8743280, 8743277, 8743272, 8731897, 8730453, 8726064, 8722560, 8721091, 8720029, 8719457, 8717851, 8717040, 8715155, 8712145, 8712144, 8695739, 8695730, 8679163, 8676757, 8670942, 8670021, 8668414, 8658293, 8645578, 8644435, 8639514, 8616883, 8609909, 8607171, 8604341, 8604146, 8594210, 8587756, 8580614, 8578082, 8565421, 8529106, 8320790, 8272465, 8168557, 8168532, 7976831, 7615885, 7560813, 7555772, 7399775, 7091143, 6562732)
Run Time: 0.004865
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: 139
Run Time: 0.000449
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 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: 200
Run Time: 0.000482
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",139],["tinhte_xentag_forum",200],["thread",9675055],["thread",9632765],["thread",9464279],["thread",9402703],["thread",9357517],["thread",9329093],["thread",9328064],["thread",9279202],["thread",9266040],["thread",9246747],["thread",9246128],["thread",9241499],["thread",9192170],["thread",9190894],["thread",9187463],["thread",9121948],["thread",8947138],["thread",8936963],["thread",8923046],["thread",8907921],["thread",8886724],["thread",8886056],["thread",8858770],["thread",8838374],["thread",8835349],["thread",8831138],["thread",8811790],["thread",8811019],["thread",8806545],["thread",8794593],["thread",8793898],["thread",8787749],["thread",8785818],["thread",8754459],["thread",8747420],["thread",8726064],["thread",8695739],["thread",8695730],["thread",8679163],["thread",8676757],["thread",8670942],["thread",8670021],["thread",8668414],["thread",8658293],["thread",8645578],["thread",8639514],["thread",8616883],["thread",8607171],["thread",8604146],["thread",8594210],["thread",8587756],["thread",8580614],["thread",8529106],["thread",8320790],["thread",8272465],["thread",8168557],["thread",8168532],["thread",7976831],["thread",7615885],["thread",7560813],["thread",7555772],["thread",7399775],["thread",7091143],["thread",6562732]], 66, tinhte_xentag_tag, , {"tags":["xe bmw 3 series"]}, date, 0, , [], 0, 1652970728, 74663434f94d05fed04a92a260e312b6
Run Time: 0.000554
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 (8923046, 8907921, 8886724, 8886056, 8858770, 8838374, 8835349, 8831138, 8811790, 8811019, 8806545, 8794593, 8793898, 8787749, 8785818, 8754459, 8747420, 8726064, 8695739, 8695730)
Run Time: 0.001426
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: 703699
Run Time: 0.000272
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, ,Ȯa, ,Ȯa, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=xe+bmw+3+series&page=2, 1652970728,
Run Time: 0.000335
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 > 1652969828)
ORDER BY session_activity.view_date DESC
Run Time: 0.000789
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 1675 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |