SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000244
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 grand i10')
Run Time: 0.000545
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: 45466263
Run Time: 0.000315
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.000869
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.000614
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.000277
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.000271
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 (9673154, 9655683, 9648811, 9644372, 9639566, 9638152, 9638151, 9565271, 9548768, 9540637, 9529979, 9522504, 9522503, 9522502, 9505817, 9486023, 9459927, 9459926, 9456017, 9431153, 9421186, 9421185, 9357520, 9356148, 9354147, 9350907, 9350906, 9344379, 9343258, 9343256, 9327037, 9327026, 9327022, 9322769, 9322097, 9298811, 9297278, 9296332, 9234403, 9228794, 9226295, 9226294, 9226293, 9224864, 9221060, 9219196, 9205187, 9205186, 9200016, 9200014, 9197710, 9197708, 9192169, 9192168, 9190894, 9185353, 9185073, 9181939, 9173302, 9173285, 9168599, 9157813, 9157812, 9135059, 9133887, 9130949, 9126702, 9126701, 9123653, 9121602, 9119854, 9119075, 9112539, 9112538, 9108284, 9108281, 9101635, 9101624, 9101615, 9101612, 9101609, 9101391, 9100644, 9098657, 9096519, 9093279, 9085142, 9069328, 9067851, 9055842, 9055226, 9050670, 9050356, 9038531, 9033048, 9000950, 8991142, 8991140, 8973073, 8965817, 8965699, 8961039, 8956673, 8956672, 8955156, 8948391, 8943326, 8940569, 8940568, 8938332, 8922494, 8921987, 8921986, 8918781, 8917784, 8904143, 8903157, 8902015, 8897454, 8897451, 8897450, 8892125, 8892036, 8877483, 8877481, 8869312, 8868117, 8868102, 8868088, 8865564, 8862899, 8861228, 8859088, 8853152, 8852925, 8849741, 8849279, 8848914, 8841816, 8840864, 8840010, 8840003, 8839997, 8839991, 8829319, 8829318, 8829309, 8828797, 8828766, 8821575, 8817208, 8815990, 8815532, 8815158, 8814968, 8811199, 8811056, 8809433, 8807192, 8802622, 8802618, 8799697, 8799218, 8799217, 8799216, 8798949, 8798559, 8798114, 8796552, 8795286, 8795285, 8790361, 8788003, 8785092, 8779909, 8779908, 8775891, 8775766, 8768506, 8768504, 8767915, 8767302, 8767296, 8766410, 8762083, 8762081, 8762079, 8762074, 8762072, 8756328, 8754158, 8753082, 8752892, 8752891, 8751207, 8748248, 8747924, 8747922, 8747921, 8747902, 8747900, 8747855, 8746356, 8745555, 8745554, 8745553, 8744308, 8743081, 8742411, 8740024, 8739751, 8739487, 8739481, 8739367, 8739321, 8731625, 8731198, 8725419, 8723135, 8719544, 8717853, 8717851, 8717044, 8717040, 8716736, 8716735, 8715157, 8715155, 8712145, 8712144, 8709783, 8702733, 8695787, 8691762, 8687268, 8686749, 8685171, 8685145, 8683195, 8680245, 8680232, 8678693, 8664400, 8661818, 8656314, 8637405, 8632683, 8630150, 8629477, 8604529, 8593350, 8559957, 8559890, 8504644, 8494297, 8486680, 8469037, 8452244, 8436283, 8435035, 8421916)
Run Time: 0.006650
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 261 | 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.001527
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.001988
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",9644372],["thread",9522504],["thread",9505817],["thread",9357520],["thread",9356148],["thread",9350907],["thread",9344379],["thread",9234403],["thread",9228794],["thread",9221060],["thread",9219196],["thread",9197710],["thread",9190894],["thread",9185353],["thread",9185073],["thread",9157813],["thread",9135059],["thread",9133887],["thread",9130949],["thread",9121602],["thread",9112539],["thread",9085142],["thread",9050356],["thread",8991142],["thread",8991140],["thread",8973073],["thread",8965699],["thread",8918781],["thread",8903157],["thread",8892125],["thread",8852925],["thread",8849279],["thread",8848914],["thread",8840010],["thread",8840003],["thread",8839997],["thread",8839991],["thread",8821575],["thread",8815990],["thread",8815532],["thread",8809433],["thread",8799697],["thread",8799218],["thread",8798114],["thread",8796552],["thread",8775891],["thread",8753082],["thread",8751207],["thread",8747902],["thread",8747855],["thread",8746356],["thread",8744308],["thread",8743081],["thread",8742411],["thread",8731625],["thread",8717853],["thread",8716736],["thread",8709783],["thread",8702733],["thread",8695787],["thread",8691762],["thread",8687268],["thread",8686749],["thread",8685171],["thread",8685145],["thread",8683195],["thread",8680245],["thread",8680232],["thread",8664400],["thread",8661818],["thread",8656314],["thread",8637405],["thread",8632683],["thread",8630150],["thread",8629477],["thread",8604529],["thread",8593350],["thread",8559957],["thread",8559890],["thread",8494297],["thread",8486680],["thread",8469037],["thread",8452244],["thread",8436283],["thread",8435035]], 87, tinhte_xentag_tag, , {"tags":["xe hyundai grand i10"]}, date, 0, , [], 0, 1652935065, 1bd1339d603eeb66c175c4f9b8486d5a
Run Time: 0.006502
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 (8702733, 8695787, 8691762, 8687268, 8686749, 8685171, 8685145, 8683195, 8680245, 8680232, 8664400, 8661818, 8656314, 8637405, 8632683, 8630150, 8629477, 8604529, 8593350, 8559957)
Run Time: 0.002422
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: 703696
Run Time: 0.000960
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+grand+i10&page=4, 1652935065,
Run Time: 0.001056
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000847
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 > 1652934165)
ORDER BY session_activity.view_date DESC
Run Time: 0.004591
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2827 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |