查询实际执行计划,看走的是那种查询索引
要根据需求,创建合适的索引qt
常常须要汇总的,能够创建包含索引channel
--drop index ix_smssend_created on smssent_1 ;查询
create index ix_smssend_createdon smssent_1 (created) include(status,co_id,shop_id,channel_id,sms_type,sms_qty)sse