SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000245
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 hyundai santafe')
Run Time: 0.000271
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: 48270142
Run Time: 0.000402
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.000838
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.000237
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 (9684710, 9655683, 9638152, 9638151, 9632764, 9565271, 9531363, 9525751, 9522504, 9522503, 9522502, 9502584, 9499890, 9499889, 9484045, 9430542, 9421186, 9421185, 9418975, 9418973, 9418971, 9360835, 9292330, 9284903, 9284902, 9284900, 9237738, 9226295, 9226294, 9226293, 9195164, 9192168, 9187463, 9173285, 9172325, 9171011, 9169065, 9167398, 9157813, 9157812, 9150441, 9134942, 9127934, 9126702, 9126701, 9124645, 9124643, 9119076, 9119075, 9110711, 9108281, 9101635, 9101624, 9101615, 9101612, 9101609, 9101391, 9075795, 9069328, 9059896, 9045337, 9030115, 9030114, 9000074, 8965699, 8948391, 8947138, 8939857, 8939856, 8932433, 8931942, 8928116, 8926752, 8921987, 8921986, 8918781, 8918693, 8918013, 8902166, 8897476, 8897469, 8897464, 8897450, 8886724, 8886723, 8877483, 8877481, 8863888, 8862899, 8862220, 8861370, 8861216, 8860192, 8857128, 8851938, 8849741, 8842495, 8842023, 8841896, 8840865, 8840864, 8840629, 8840302, 8840301, 8840298, 8840010, 8839997, 8838374, 8838373, 8837938, 8835076, 8834916, 8833616, 8833268, 8832974, 8832947, 8828757, 8825629, 8824696, 8823393, 8823332, 8822175, 8822174, 8821972, 8820882, 8820772, 8815158, 8809316, 8804036, 8804034, 8803108, 8802954, 8802618, 8799217, 8799216, 8799021, 8798907, 8798757, 8795288, 8795287, 8792143, 8791451, 8787417, 8783048, 8780233, 8779468, 8779466, 8779465, 8777395, 8776500, 8775781, 8770095, 8768472, 8767296, 8766339, 8766338, 8762541, 8761863, 8754534, 8753587, 8750525, 8747922, 8747921, 8746759, 8746715, 8745554, 8745553, 8743642, 8742429, 8738066, 8730453, 8729519, 8728816, 8725121, 8725120, 8724914, 8723135, 8720029, 8719457, 8717851, 8717044, 8717040, 8716736, 8716735, 8715157, 8715155, 8709783, 8702733, 8695787, 8691762, 8686749, 8685145, 8683195, 8680245, 8678693, 8656314, 8650670, 8637405, 8632683, 8604529, 8593350, 8560503, 8559957, 8521958, 8478059, 8473169, 8456780, 8440448, 8437214, 8403268, 8363790, 8340831, 8229206, 8220263)
Run Time: 0.005264
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 214 | 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.000533
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],["thread",9531363],["thread",9525751],["thread",9522504],["thread",9499890],["thread",9418975],["thread",9360835],["thread",9284903],["thread",9187463],["thread",9172325],["thread",9171011],["thread",9157813],["thread",9134942],["thread",9000074],["thread",8965699],["thread",8947138],["thread",8918781],["thread",8886724],["thread",8860192],["thread",8842023],["thread",8841896],["thread",8840865],["thread",8840010],["thread",8839997],["thread",8838374],["thread",8835076],["thread",8823332],["thread",8791451],["thread",8787417],["thread",8779468],["thread",8777395],["thread",8754534],["thread",8753587],["thread",8750525],["thread",8746759],["thread",8743642],["thread",8725121],["thread",8724914],["thread",8716736],["thread",8709783],["thread",8702733],["thread",8695787],["thread",8691762],["thread",8686749],["thread",8685145],["thread",8683195],["thread",8680245],["thread",8656314],["thread",8650670],["thread",8637405],["thread",8632683],["thread",8604529],["thread",8593350],["thread",8560503],["thread",8559957],["thread",8521958],["thread",8478059],["thread",8473169],["thread",8456780],["thread",8440448],["thread",8437214],["thread",8403268],["thread",8363790],["thread",8340831],["thread",8229206],["thread",8220263]], 66, tinhte_xentag_tag, , {"tags":["xe hyundai santafe"]}, date, 0, , [], 0, 1656294801, 47506b92a82ccf85ec42638d12e8b9e4
Run Time: 0.000663
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 (8437214, 8403268, 8363790, 8340831, 8229206, 8220263)
Run Time: 0.001562
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 6 | 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: 703938
Run Time: 0.000329
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=xe+hyundai+santafe&page=4, 1656294801,
Run Time: 0.000385
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000226
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 > 1656293901)
ORDER BY session_activity.view_date DESC
Run Time: 0.001038
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2367 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |