SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000309
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 = 'quần áo nam xuất khẩu')
Run Time: 0.000502
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: 45747395
Run Time: 0.000331
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: 87
Run Time: 0.000648
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, 87
Run Time: 0.000169
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 (9663164, 9656743, 9651217, 9645711, 9645710, 9632963, 9632962, 9626110, 9625137, 9623418, 9623417, 9619861, 9614208, 9610173, 9607933, 9607140, 9605409, 9602755, 9600853, 9595912, 9583930, 9583364, 9582720, 9576454, 9574752, 9570859, 9570858, 9568425, 9565203, 9553983, 9546367, 9546366, 9545951, 9539775, 9536648, 9526904, 9525606, 9525076, 9503845, 9499719, 9497016, 9497015, 9489426, 9488576, 9488179, 9487749, 9487188, 9478740, 9477661, 9477438, 9477437, 9477436, 9476725, 9471481, 9466692, 9465743, 9465275, 9465137, 9458872, 9453683, 9453682, 9453681, 9453679, 9453678, 9453677, 9453669, 9453668, 9453211, 9452437, 9451417, 9445706, 9441591, 9436219, 9436218, 9434160, 9432282, 9430967, 9416521, 9410242, 9408611, 9398346, 9394126, 9387358, 9373877, 9370298, 9368861, 9360924, 9360923, 9360922, 9359262, 9359261, 9359048, 9357498, 9357360, 9357344, 9357332, 9357331, 9357330, 9355723, 9338947, 9322898, 9318841, 9317054, 9317053, 9316912, 9316796, 9316795, 9315182, 9313242, 9303492, 9303019, 9303018, 9302981, 9302783, 9301518, 9295869, 9293338, 9289218, 9289217, 9288612, 9287567, 9287414, 9286500, 9285455, 9284703, 9282097, 9281602, 9274067, 9271068, 9269321, 9265539, 9265538, 9257172, 9255241, 9255239, 9251885, 9250407, 9248503, 9248501, 9245257, 9242393, 9239551, 9236554, 9234559, 9234245, 9234080, 9234079, 9233374, 9232449, 9230498, 9229674, 9224796, 9222794, 9221869, 9220491, 9220488, 9219412, 9213733, 9212985, 9212984, 9207972, 9207796, 9206447, 9205920, 9202800, 9202799, 9196100, 9194918, 9194917, 9192308, 9190013, 9190010, 9183694, 9168643, 9166971, 9166969, 9148735, 9148484, 9148482, 9147597, 9147004, 9145656, 9144560, 9140903, 9136948, 9121904, 9121903, 9121897, 9121896, 9104282, 9102003, 9102002, 9101996, 9100787, 9100786, 9100785, 9097818, 9095174, 9095173, 9095172, 9086781, 9086780, 9086779, 9083363, 9078064, 9078063, 9063202, 9061249, 9051473, 9050822, 9046012, 9041288, 9041287, 9038423, 9038422, 9033565, 9033564, 9033563, 9031345, 9031344, 9025291, 9025290, 9009313, 9006121, 9003586, 9003580, 9003548, 9003181, 9002427, 9001155, 8995313, 8994756, 8994755, 8994753, 8994751, 8992590, 8992589, 8991622, 8987561, 8983850, 8983849, 8983415, 8983274, 8982067, 8982054, 8981358, 8979955, 8978303, 8978294, 8976771, 8976766, 8976760, 8976758, 8976753, 8975101, 8974680, 8974271, 8972711, 8972710, 8972271, 8972266, 8972008, 8972006, 8970486, 8968244, 8967174, 8956090, 8955555, 8954534, 8954406, 8952625, 8952624, 8952623, 8952616, 8950953, 8949694, 8949693, 8948483, 8947617, 8945541, 8945540, 8942732, 8940945, 8940906, 8940905, 8939398, 8937435, 8937309, 8936875, 8935618, 8935613, 8934390, 8925143, 8917347, 8912023, 8908573, 8902497, 8901078, 8897234, 8897233, 8897232, 8892596, 8884823, 8881994, 8880789, 8880788, 8880787, 8880786, 8878771, 8878770, 8873983, 8873667, 8871292, 8871291, 8867118, 8866675, 8866673, 8865461, 8865460, 8865459, 8865458, 8865457, 8865456, 8864948, 8862095, 8860941, 8860907, 8857847, 8857846, 8857845, 8857692, 8854929, 8853486, 8853184, 8850026, 8849715, 8846288, 8843144, 8839551, 8837565, 8837564, 8836526, 8832341, 8829126, 8827658, 8827163, 8827162, 8826216, 8824258, 8822454, 8822453, 8822423, 8822299, 8822219, 8821124, 8820950, 8820949, 8820947, 8815336, 8813496, 8812625, 8812624, 8812622, 8810184, 8807931, 8807928, 8807063, 8806728, 8805038, 8804540, 8803901, 8803572, 8800576, 8795878, 8795877, 8794793, 8794792, 8792353, 8792349, 8791798, 8791792, 8788760, 8786459, 8786458, 8784469, 8783274, 8778662, 8778100, 8778074, 8775529, 8774681, 8772961, 8770422, 8770421, 8765128, 8763332, 8763328, 8763325, 8761714, 8761712, 8761692, 8761669, 8761456, 8757047, 8755601, 8755600, 8754422, 8754419, 8754418, 8751912, 8751907, 8749078, 8749018, 8749012, 8747249, 8742925, 8738376, 8738374, 8738373, 8738372, 8735088, 8734741, 8726350, 8726341, 8726303, 8724859, 8724857, 8723172, 8722083, 8720507, 8718203, 8696076, 8695908, 8694478, 8693487, 8680471, 8680270, 8679388, 8678097, 8658227, 8636859, 8590101, 8529910, 8486524, 8473340, 8384985, 8238376, 8209168, 8167733, 8146870, 8141116, 8078915, 8040553, 7533799, 7513939, 7481797, 7453195, 7386992, 7310395, 7297521, 7297506, 7297493, 3468285, 2200425, 56789)
Run Time: 0.009932
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | thread | range | PRIMARY | PRIMARY | 4 | | 465 | 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: 87
Run Time: 0.000574
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",87],["thread",9663164],["thread",9645711],["thread",9632963],["thread",9626110],["thread",9623418],["thread",9619861],["thread",9614208],["thread",9610173],["thread",9607933],["thread",9607140],["thread",9602755],["thread",9600853],["thread",9595912],["thread",9582720],["thread",9576454],["thread",9570859],["thread",9568425],["thread",9553983],["thread",9546367],["thread",9536648],["thread",9525076],["thread",9503845],["thread",9499719],["thread",9497016],["thread",9489426],["thread",9488576],["thread",9488179],["thread",9487749],["thread",9487188],["thread",9478740],["thread",9477661],["thread",9476725],["thread",9471481],["thread",9453683],["thread",9445706],["thread",9441591],["thread",9436219],["thread",9432282],["thread",9416521],["thread",9410242],["thread",9408611],["thread",9398346],["thread",9394126],["thread",9355723],["thread",9322898],["thread",9318841],["thread",9317054],["thread",9316796],["thread",9315182],["thread",9303019],["thread",9302981],["thread",9302783],["thread",9289218],["thread",9288612],["thread",9287414],["thread",9286500],["thread",9285455],["thread",9271068],["thread",9269321],["thread",9265539],["thread",9257172],["thread",9255241],["thread",9251885],["thread",9248503],["thread",9245257],["thread",9236554],["thread",9234245],["thread",9221869],["thread",9220491],["thread",9220488],["thread",9212985],["thread",9207972],["thread",9206447],["thread",9205920],["thread",9202800],["thread",9183694],["thread",9168643],["thread",9148484],["thread",9140903],["thread",9136948],["thread",9121904],["thread",9102003],["thread",9100787],["thread",9097818],["thread",9095174],["thread",9086781],["thread",9078064],["thread",9063202],["thread",9051473],["thread",9046012],["thread",9041288],["thread",9033565],["thread",9031345],["thread",9025291],["thread",9009313],["thread",9001155],["thread",8995313],["thread",8994756],["thread",8982067],["thread",8982054],["thread",8979955],["thread",8976771],["thread",8976766],["thread",8976758],["thread",8976753],["thread",8974271],["thread",8972271],["thread",8972266],["thread",8968244],["thread",8956090],["thread",8955555],["thread",8954406],["thread",8952625],["thread",8952624],["thread",8952616],["thread",8950953],["thread",8949694],["thread",8948483],["thread",8945541],["thread",8940906],["thread",8939398],["thread",8937435],["thread",8936875],["thread",8934390],["thread",8925143],["thread",8912023],["thread",8901078],["thread",8892596],["thread",8884823],["thread",8878771],["thread",8873983],["thread",8871292],["thread",8867118],["thread",8865460],["thread",8865459],["thread",8862095],["thread",8857847],["thread",8853486],["thread",8850026],["thread",8846288],["thread",8827163],["thread",8824258],["thread",8822454],["thread",8815336],["thread",8812625],["thread",8805038],["thread",8803901],["thread",8803572],["thread",8800576],["thread",8794793],["thread",8786459],["thread",8784469],["thread",8783274],["thread",8778662],["thread",8778100],["thread",8778074],["thread",8770422],["thread",8761714],["thread",8761692],["thread",8761669],["thread",8757047],["thread",8755601],["thread",8754422],["thread",8749018],["thread",8749012],["thread",8734741],["thread",8726341],["thread",8726303],["thread",8724859],["thread",8723172],["thread",8696076],["thread",8695908],["thread",8693487],["thread",8680471],["thread",8680270],["thread",8679388],["thread",8678097],["thread",8658227],["thread",8636859],["thread",8590101],["thread",8529910],["thread",8486524],["thread",8473340],["thread",8384985],["thread",8238376],["thread",8209168],["thread",8146870],["thread",8141116],["thread",8078915],["thread",8040553],["thread",7533799],["thread",7481797],["thread",7453195],["thread",7386992],["thread",7310395],["thread",7297521],["thread",7297506],["thread",7297493],["thread",3468285],["thread",2200425],["thread",56789]], 202, tinhte_xentag_tag, , {"tags":["qu\u1ea7n \u00e1o nam xu\u1ea5t kh\u1ea9u"]}, date, 0, , [], 0, 1653253749, 085f70533f55973316d8f298f753f754
Run Time: 0.000543
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 (9136948, 9121904, 9102003, 9100787, 9097818, 9095174, 9086781, 9078064, 9063202, 9051473, 9046012, 9041288, 9033565, 9031345, 9025291, 9009313, 9001155, 8995313, 8994756, 8982067)
Run Time: 0.001595
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: 706249
Run Time: 0.000287
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, "̮n, "̮n, Tinhte_XenTag_ControllerPublic_Tag, View, valid, t=qu%E1%BA%A7n+%C3%A1o+nam+xu%E1%BA%A5t+kh%E1%BA%A9u&page=5, 1653253749,
Run Time: 0.000533
SELECT *
FROM `xf_widget`
WHERE `widget_page_id` = 0
ORDER BY display_order ASC
Run Time: 0.000316
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 > 1653252849)
ORDER BY session_activity.view_date DESC
Run Time: 0.003544
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | session_activity | ALL | view_date | | | | 2078 | Using where; Using filesort |
SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | 5s_db1.session_activity.user_id | 1 | |