重现步骤
反馈人:王凯
数据库:zhcxkj_center_listing_comprehensive
查询时间:401.676
执行次数: 24
扫描行数:2086670
发送行数:596470
指纹SQL: select id , source_id , source_name , sku , upc , spu , pf_listing_id , pf_sku , source_sku , status , status_name , moderate_status , category_id , category_name , image , title , stock , sale_price , price_color_index , min_price , min_price_update_time , currency , country_code , parent_category_id , is_archived , platform_atrributes , is_auto_archived , is_kgt , is_super , vat , publisher_id , publisher_name , sales_id , sales_name , fail_msg , publish_time , pf_online_time , pf_offline_time , pf_update_time , create_by , update_by , update_time , create_time , is_deleted , archived_status , status_update_time , modify_type FROM ? where ( update_time < ? AND update_time >= ? ) ;
真实SQL:select id,source_id,source_name,sku,upc,spu,pf_listing_id,pf_sku,source_sku,status,status_name,moderate_status,category_id,category_name,image,title,stock,sale_price,price_color_index,min_price,min_price_update_time,currency,country_code,parent_category_id,is_archived,platform_atrributes,is_auto_archived,is_kgt,is_super,vat,publisher_id,publisher_name,sales_id,sales_name,fail_msg,publish_time,pf_online_time,pf_offline_time,pf_update_time,create_by,update_by,update_time,create_time,is_deleted,archived_status,status_update_time,modify_type from t_listing_ozon where (update_time<2025/09/27 04:00:42 AND update_time>= 2025/09/27 03:00:32);
王凯,人工修改过
AISQL修改建议:
explain表:






id select_type table partitions type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t_listing_ozon None range idx_update_time idx_update_time 6 None 34636 100 Using index condition

额外建议:
索引建议:


历史记录  
  1. 2025-10-11 08:58:39, 由 陈莉珍 创建。
  2. 2025-10-11 14:19:07, 由 蔡俊伟 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2025-10-11 14:18:04"。
    修改了 指派给 ,旧值为 "caijunwei",新值为 "chenlizhen"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "caijunwei"。

    索引之前就已加上

  3. 2025-10-11 15:09:59, 由 陈莉珍 编辑。
    修改了 所属模块 ,旧值为 "0",新值为 "1953"。
    修改了 业务部门 ,旧值为 "0",新值为 "2"。
    修改了 开发责任人,旧值为 "",新值为 "caijunwei"。
    修改了 测试责任人,旧值为 "",新值为 "caijunwei"。
    修改了 解决时效 ,旧值为 "0",新值为 "5.32"。
    修改了 重现步骤 ,区别为:
    001- 反馈人:王凯
    001+ 反馈人:王凯 数据库:zhcxkj_center_listing_comprehensive 查询时间:401.676 执行次数: 24 扫描行数:2086670 发送行数:596470 指纹SQL: select id , source_id , source_name , sku , upc , spu , pf_listing_id , pf_sku , source_sku , status , status_name , moderate_status , category_id , category_name , image , title , stock , sale_price , price_color_index , min_price , min_price_update_time , currency , country_code , parent_category_id , is_archived , platform_atrributes , is_auto_archived , is_kgt , is_super , vat , publisher_id , publisher_name , sales_id , sales_name , fail_msg , publish_time , pf_online_time , pf_offline_time , pf_update_time , create_by , update_by , update_time , create_time , is_deleted , archived_status , status_update_time , modify_type FROM ? where ( update_time &lt; ? AND update_time &gt;= ? ) ; 真实SQL:select id,source_id,source_name,sku,upc,spu,pf_listing_id,pf_sku,source_sku,status,status_name,moderate_status,category_id,category_name,image,title,stock,sale_price,price_color_index,min_price,min_price_update_time,currency,country_code,parent_category_id,is_archived,platform_atrributes,is_auto_archived,is_kgt,is_super,vat,publisher_id,publisher_name,sales_id,sales_name,fail_msg,publish_time,pf_online_time,pf_offline_time,pf_update_time,create_by,update_by,update_time,create_time,is_deleted,archived_status,status_update_time,modify_type from t_listing_ozon where (update_time&lt;2025/09/27 04:00:42 AND update_time&gt;= 2025/09/27 03:00:32); 王凯,人工修改过 AISQL修改建议: explain表:id
    002- 数据库:zhcxkj_center_listing_comprehensive
    002+ select_type
    003- 查询时间:401.676
    003+ table
    004- 执行次数: 24
    004+ partitions
    005- 扫描行数:2086670
    005+ type
    006- 发送行数:596470
    006+ possible_keys
    007- 指纹SQL: select id , source_id , source_name , sku , upc , spu , pf_listing_id , pf_sku , source_sku , status , status_name , moderate_status , category_id , category_name , image , title , stock , sale_price , price_color_index , min_price , min_price_update_time , currency , country_code , parent_category_id , is_archived , platform_atrributes , is_auto_archived , is_kgt , is_super , vat , publisher_id , publisher_name , sales_id , sales_name , fail_msg , publish_time , pf_online_time , pf_offline_time , pf_update_time , create_by , update_by , update_time , create_time , is_deleted , archived_status , status_update_time , modify_type FROM ? where ( update_time &lt; ? AND update_time &gt;= ? ) ;
    007+ key
    008- 真实SQL:select id,source_id,source_name,sku,upc,spu,pf_listing_id,pf_sku,source_sku,status,status_name,moderate_status,category_id,category_name,image,title,stock,sale_price,price_color_index,min_price,min_price_update_time,currency,country_code,parent_category_id,is_archived,platform_atrributes,is_auto_archived,is_kgt,is_super,vat,publisher_id,publisher_name,sales_id,sales_name,fail_msg,publish_time,pf_online_time,pf_offline_time,pf_update_time,create_by,update_by,update_time,create_time,is_deleted,archived_status,status_update_time,modify_type from t_listing_ozon where (update_time&lt;2025/09/27 04:00:42 AND update_time&gt;= 2025/09/27 03:00:32);
    008+ key_len
    009- 王凯,人工修改过
    009+ ref
    010- AISQL修改建议:
    010+ rows
    011- explain表:
    011+ filtered
    012-
    012+ Extra
    013-
    013+ 1
    014-
    014+ SIMPLE
    015-
    015+ t_listing_ozon
    016-
    016+ None
    017-
    017+ range
    018-
    018+ idx_update_time
    019-
    019+ idx_update_time
    020-
    020+ 6
    021-
    021+ None
    022- id
    022+ 34636
    023-
    023+ 100
    024-
    024+ Using index condition
    025- select_type
    025+
    026-
    026+ 额外建议: 索引建议:
    027-
    028- table
    029-
    030-
    031- partitions
    032-
    033-
    034- type
    035-
    036-
    037- possible_keys
    038-
    039-
    040- key
    041-
    042-
    043- key_len
    044-
    045-
    046- ref
    047-
    048-
    049- rows
    050-
    051-
    052- filtered
    053-
    054-
    055- Extra
    056-
    057-
    058-
    059-
    060-
    061-
    062- 1
    063-
    064-
    065- SIMPLE
    066-
    067-
    068- t_listing_ozon
    069-
    070-
    071- None
    072-
    073-
    074- range
    075-
    076-
    077- idx_update_time
    078-
    079-
    080- idx_update_time
    081-
    082-
    083- 6
    084-
    085-
    086- None
    087-
    088-
    089- 34636
    090-
    091-
    092- 100
    093-
    094-
    095- Using index condition
    096-
    097-
    098-
    099-
    100-
    101- 额外建议:
    102- 索引建议:
    103-
    104-
    001- 反馈人:王凯<br />
    001+ 反馈人:王凯<br /> 数据库:zhcxkj_center_listing_comprehensive<br /> 查询时间:401.676<br /> 执行次数: 24<br /> 扫描行数:2086670<br /> 发送行数:596470<br /> 指纹SQL: select id , source_id , source_name , sku , upc , spu , pf_listing_id , pf_sku , source_sku , status , status_name , moderate_status , category_id , category_name , image , title , stock , sale_price , price_color_index , min_price , min_price_update_time , currency , country_code , parent_category_id , is_archived , platform_atrributes , is_auto_archived , is_kgt , is_super , vat , publisher_id , publisher_name , sales_id , sales_name , fail_msg , publish_time , pf_online_time , pf_offline_time , pf_update_time , create_by , update_by , update_time , create_time , is_deleted , archived_status , status_update_time , modify_type FROM ? where ( update_time &lt; ? AND update_time &gt;= ? ) ;<br /> 真实SQL:select id,source_id,source_name,sku,upc,spu,pf_listing_id,pf_sku,source_sku,status,status_name,moderate_status,category_id,category_name,image,title,stock,sale_price,price_color_index,min_price,min_price_update_time,currency,country_code,parent_category_id,is_archived,platform_atrributes,is_auto_archived,is_kgt,is_super,vat,publisher_id,publisher_name,sales_id,sales_name,fail_msg,publish_time,pf_online_time,pf_offline_time,pf_update_time,create_by,update_by,update_time,create_time,is_deleted,archived_status,status_update_time,modify_type from t_listing_ozon where (update_time&lt;2025/09/27 04:00:42 AND update_time&gt;= 2025/09/27 03:00:32);<br /> 王凯,人工修改过<br /> AISQL修改建议:<br /> explain表:<br /><br /><br /><br /><br /><br /><br /><table><tbody><tr><th>id</th>
    002- 数据库:zhcxkj_center_listing_comprehensive<br />
    002+ <th>select_type</th>
    003- 查询时间:401.676<br />
    003+ <th>table</th>
    004- 执行次数: 24<br />
    004+ <th>partitions</th>
    005- 扫描行数:2086670<br />
    005+ <th>type</th>
    006- 发送行数:596470<br />
    006+ <th>possible_keys</th>
    007- 指纹SQL: select id , source_id , source_name , sku , upc , spu , pf_listing_id , pf_sku , source_sku , status , status_name , moderate_status , category_id , category_name , image , title , stock , sale_price , price_color_index , min_price , min_price_update_time , currency , country_code , parent_category_id , is_archived , platform_atrributes , is_auto_archived , is_kgt , is_super , vat , publisher_id , publisher_name , sales_id , sales_name , fail_msg , publish_time , pf_online_time , pf_offline_time , pf_update_time , create_by , update_by , update_time , create_time , is_deleted , archived_status , status_update_time , modify_type FROM ? where ( update_time &lt; ? AND update_time &gt;= ? ) ;<br />
    007+ <th>key</th>
    008- 真实SQL:select id,source_id,source_name,sku,upc,spu,pf_listing_id,pf_sku,source_sku,status,status_name,moderate_status,category_id,category_name,image,title,stock,sale_price,price_color_index,min_price,min_price_update_time,currency,country_code,parent_category_id,is_archived,platform_atrributes,is_auto_archived,is_kgt,is_super,vat,publisher_id,publisher_name,sales_id,sales_name,fail_msg,publish_time,pf_online_time,pf_offline_time,pf_update_time,create_by,update_by,update_time,create_time,is_deleted,archived_status,status_update_time,modify_type from t_listing_ozon where (update_time&lt;2025/09/27 04:00:42 AND update_time&gt;= 2025/09/27 03:00:32);<br />
    008+ <th>key_len</th>
    009- 王凯,人工修改过<br />
    009+ <th>ref</th>
    010- AISQL修改建议:<br />
    010+ <th>rows</th>
    011- explain表:<br />
    011+ <th>filtered</th>
    012- <br />
    012+ <th>Extra</th>
    013- <br />
    013+ </tr></tbody><tbody><tr><td>1</td>
    014- <br />
    014+ <td>SIMPLE</td>
    015- <br />
    015+ <td>t_listing_ozon</td>
    016- <br />
    016+ <td>None</td>
    017- <br />
    017+ <td>range</td>
    018- <table>
    018+ <td>idx_update_time</td>
    019- <tbody>
    019+ <td>idx_update_time</td>
    020- <tr>
    020+ <td>6</td>
    021- <th>
    021+ <td>None</td>
    022- id
    022+ <td>34636</td>
    023- </th>
    023+ <td>100</td>
    024- <th>
    024+ <td>Using index condition</td>
    025- select_type
    025+ </tr></tbody></table><br />
    026- </th>
    026+ 额外建议:<br /> 索引建议:<br /><br /><br />
    027- <th>
    028- table
    029- </th>
    030- <th>
    031- partitions
    032- </th>
    033- <th>
    034- type
    035- </th>
    036- <th>
    037- possible_keys
    038- </th>
    039- <th>
    040- key
    041- </th>
    042- <th>
    043- key_len
    044- </th>
    045- <th>
    046- ref
    047- </th>
    048- <th>
    049- rows
    050- </th>
    051- <th>
    052- filtered
    053- </th>
    054- <th>
    055- Extra
    056- </th>
    057- </tr>
    058- </tbody>
    059- <tbody>
    060- <tr>
    061- <td>
    062- 1
    063- </td>
    064- <td>
    065- SIMPLE
    066- </td>
    067- <td>
    068- t_listing_ozon
    069- </td>
    070- <td>
    071- None
    072- </td>
    073- <td>
    074- range
    075- </td>
    076- <td>
    077- idx_update_time
    078- </td>
    079- <td>
    080- idx_update_time
    081- </td>
    082- <td>
    083- 6
    084- </td>
    085- <td>
    086- None
    087- </td>
    088- <td>
    089- 34636
    090- </td>
    091- <td>
    092- 100
    093- </td>
    094- <td>
    095- Using index condition
    096- </td>
    097- </tr>
    098- </tbody>
    099- </table>
    100- <br />
    101- 额外建议:<br />
    102- 索引建议:<br />
    103- <br />
    104- <br />
  4. 2025-10-11 15:10:03, 由 陈莉珍 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "chenlizhen",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "chenlizhen"。
    修改了 关闭日期,旧值为 "",新值为 "2025-10-11 15:10:03"。
所属项目 技术中心-需求池
所属模块 多平台   OZON
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门 总经办
影响功能
开发责任人 蔡俊伟
测试责任人 蔡俊伟
解决时效 5.32
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2025-10-11 15:10:03
截止日期 0000-00-00
上线时间 2025-10-11 14:18:04
上线时效 5.32
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 陈莉珍 于 2025-10-11 08:58:39
影响环境 生产环境-业务反馈
由谁解决 蔡俊伟 于 2025-10-11 14:18:04
解决版本 主干
解决方案 性能问题
由谁关闭 陈莉珍 于 2025-10-11 15:10:03
最后修改 陈莉珍 于 2025-10-11 15:10:03
相关Bug