SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000193
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 = 'lg v10')
Run Time: 0.000407
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: 63898644
Run Time: 0.000275
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: 22
Run Time: 0.000626
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.003987
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 (9451949, 9451948, 9444257, 9444254, 9440090, 9438568, 9418799, 9418793, 9414676, 9382361, 9374190, 9374189, 9359247, 9358205, 9350390, 9349778, 9347278, 9342457, 9338841, 9330688, 9327818, 9315544, 9303397, 9285385, 9280564, 9280238, 9242497, 9238007, 9236933, 9220444, 9218174, 9217211, 9212262, 9211908, 9191442, 9190783, 9176924, 9173929, 9173927, 9167321, 9163417, 9159009, 9151699, 9128208, 9126947, 9122287, 9113950, 9103719, 9103675, 9103674, 9099435, 9098010, 9097047, 9094728, 9093982, 9092422, 9071139, 9056760, 9056752, 9056517, 9038919, 9037194, 9020225, 9019619, 9018887, 9010950, 9010949, 9001753, 8970481, 8967915, 8949958, 8942211, 8941909, 8937945, 8936838, 8936837, 8936408, 8933835, 8933834, 8931623, 8931622, 8929971, 8920611, 8913645, 8910704, 8896177, 8894315, 8893282, 8889299, 8889298, 8884095, 8882137, 8879412, 8879271, 8878122, 8870387, 8869819, 8863733, 8863332, 8862205, 8857435, 8854679, 8851891, 8849947, 8847503, 8847421, 8845639, 8843011, 8837933, 8837340, 8835717, 8835135, 8832205, 8828436, 8825897, 8825272, 8824278, 8824277, 8823825, 8817979, 8816660, 8815508, 8815417, 8814678, 8813761, 8813192, 8812505, 8812489, 8810794, 8810792, 8801414, 8801048, 8799915, 8792506, 8792299, 8792106, 8791127, 8789501, 8789495, 8784421, 8780710, 8779686, 8779310, 8778498, 8777399, 8777389, 8777363, 8777344, 8776237, 8775136, 8775135, 8775133, 8775132, 8775131, 8774869, 8773982, 8771316, 8769170, 8767270, 8766882, 8765988, 8765788, 8765108, 8764438, 8764045, 8763281, 8761308, 8760395, 8759292, 8758717, 8758518, 8758231, 8757933, 8756425, 8756232, 8756218, 8756135, 8755971, 8755655, 8754594, 8748490, 8748489, 8746819, 8743864, 8741048, 8741047, 8732673, 8732621, 8731994, 8731284, 8730726, 8730311, 8729084, 8726106, 8724704, 8723872, 8722723, 8720152, 8717606, 8716680, 8716679, 8716616, 8710396, 8708916, 8708915, 8706513, 8705491, 8704224, 8702862, 8698833, 8698654, 8696884, 8693642, 8692996, 8692870, 8692314, 8680384, 8677789, 8676963, 8666487, 8665780, 8664824, 8657128, 8654480, 8650925, 8648633, 8648432, 8647215, 8647159, 8643559, 8641906, 8640570, 8640240, 8638964, 8637539, 8636287, 8626206, 8625613, 8622552, 8620606, 8619676, 8611809, 8611654, 8606284, 8601388, 8598334, 8596094, 8594153, 8588370, 8588361, 8587758, 8586660, 8585228, 8585106, 8578879, 8578875, 8576344, 8575649, 8574446, 8572532, 8567655, 8566683, 8566621, 8565972, 8560057, 8555380, 8554297, 8549397, 8540189, 8540166, 8535337, 8531315, 8530701, 8530044, 8529638, 8529213, 8528795, 8520652, 8514299, 8509118, 8505213, 8501688, 8501313, 8501065, 8500290, 8499871, 8497315, 8496159, 8496098, 8492207, 8460905, 8450607, 8447906, 8419145, 8397451, 8396341, 8385895, 8376051, 8364955, 8364803, 8363575, 8358094, 8323956, 8321771, 8295761, 8295760, 8219754, 8219753, 8218955)
Run Time: 0.010126
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 309 | 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.000537
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",9438568],["thread",9173929],["thread",9173927],["thread",9122287],["thread",9098010],["thread",8936408],["thread",8931623],["thread",8894315],["thread",8889298],["thread",8879271],["thread",8878122],["thread",8862205],["thread",8857435],["thread",8851891],["thread",8847503],["thread",8837933],["thread",8813761],["thread",8801048],["thread",8799915],["thread",8792506],["thread",8792299],["thread",8789495],["thread",8756425],["thread",8756218],["thread",8732621],["thread",8724704],["thread",8722723],["thread",8717606],["thread",8716680],["thread",8698833],["thread",8693642],["thread",8692314],["thread",8677789],["thread",8676963],["thread",8657128],["thread",8650925],["thread",8648633],["thread",8647215],["thread",8647159],["thread",8643559],["thread",8641906],["thread",8640570],["thread",8640240],["thread",8638964],["thread",8637539],["thread",8626206],["thread",8622552],["thread",8620606],["thread",8611809],["thread",8606284],["thread",8601388],["thread",8596094],["thread",8588370],["thread",8588361],["thread",8587758],["thread",8586660],["thread",8585106],["thread",8575649],["thread",8572532],["thread",8567655],["thread",8566621],["thread",8555380],["thread",8554297],["thread",8549397],["thread",8540166],["thread",8531315],["thread",8530044],["thread",8529638],["thread",8529213],["thread",8528795],["thread",8520652],["thread",8514299],["thread",8509118],["thread",8505213],["thread",8501688],["thread",8501313],["thread",8501065],["thread",8497315],["thread",8496159],["thread",8496098],["thread",8492207],["thread",8460905],["thread",8447906],["thread",8419145],["thread",8396341],["thread",8385895],["thread",8376051],["thread",8364803],["thread",8363575],["thread",8358094],["thread",8323956],["thread",8321771]], 93, tinhte_xentag_tag, , {"tags":["lg v10"]}, date, 0, , [], 0, 1660966604, 987115ea76fb4fda57cfe611a4bcacfd
Run Time: 0.000637
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 (8792506, 8792299, 8789495, 8756425, 8756218, 8732621, 8724704, 8722723, 8717606, 8716680, 8698833, 8693642, 8692314, 8677789, 8676963, 8657128, 8650925, 8648633, 8647215, 8647159)
Run Time: 0.001941
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: 529797
Run Time: 0.000281
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=lg+v10&page=2, 1660966604,
Run Time: 0.000476
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000205
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 > 1660965704)
ORDER BY session_activity.view_date DESC
Run Time: 0.001109
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2195 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |