反馈人:李冠
t_strategy_pool_publish_onbuy 慢SQL,原SQL为:
SELECT id,customer_id,source_id,sku,pf_listing_id,source_sku,category_id,category_name,title,title_id,pf_quantity,price,image,description,calculation_formula_id,status,type,remark,create_time,update_time,is_deleted,strategy_name,country_code,limit_flag FROM t_strategy_pool_publish_onbuy WHERE (source_id = 30563 AND status = 0 AND country_code = BE AND update_time <= 2025-11-05 09:00:09 AND is_deleted = 0) ORDER BY type ASC limit 200;

解决方案:1、建议source_id,update_time,country_code,status,is_deleted这样创建索引;2、当前SQL以type为排序,感觉没太多意义,建议使用id或其他更有排序意义的字段