重现步骤

反馈人:吴荣发

严重,产品库sql执行时间上千s,影响数据库

select rp.id, rp.sku, rp.product_name, rp.product_name_cn, rp.product_state, rp.last_buy_price, rp.is_group, rp.length, rp.width, rp.height, rp.gross_weight, rp.pack_weight, rpa.check_time, (select count(*) from t_product_sku_gtin tpsg where tpsg.sku = rp.sku ) as sku_export_num from rb_product as rp join rb_product_admin rpa on rp.sku = rpa.sku and rp.customer_id = rpa.customer_id and rpa.check_status = 1 and rp.delete_status = 0 WHERE rp.customer_id = 1 and rp.sku in ( '10303867' , '18843414' , '16768635' , '19532863' , '13998640' , '16542525' , '16518599' , '17700295' , '15927502' , '17506020' , '17425428' , '20850535' , '17338609' , '7974269' , '16215489' , '17255516' , '13194735' , '2536578' , '13667538' , '15999463' , '6251957' , '15807662' , '17284353' , '12603037' , '9924239' , '2241958' , '7543876' , '12091895' , '6573573' , '8489459' , '19673536' , '2488894' , '19481456' , '18051546' , '4528427' , '8081999' , '6752745' , '5770401' , '9980642' , '17374414' , '4871890' , '19379937' , '7554976' , '17941797' , '10340746' , '3501622' , '17822926' , '5746857' , '7066993' , '3972613' , '2431860' , '18744570' , '5065151' , '5946218' , '10989583' , '6567075' , '15587608' , '17313814' , '19196489' , '17742703' , '16171465' , '7340523' , '19150368' , '15968792' , '19493956' , '17098236' , '1730690' , '14999135' , '17482804' , '16556374' , '16867852' , '17071961' , '6971775' , '18997730' , '17293003' , '19392374' , '1857096' ,
历史记录  
  1. 2025-10-20 11:41:43, 由 陈莉珍 创建。
  2. 2025-10-20 11:45:47, 由 何建宝 指派给 陈莉珍。
    修改了 指派给,旧值为 "hejianbao",新值为 "chenlizhen"。
    产品库这边还没转型,暂时没有Java的功能,这个可以让架构师排查下
  3. 2025-10-23 19:15:12, 由 陈莉珍 解决,方案为 非BUG-纯属误判 。
    修改了 解决方案,旧值为 "",新值为 "feibug"。
    修改了 解决日期,旧值为 "",新值为 "2025-10-23 19:15:07"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "chenlizhen"。
  4. 2025-10-23 19:15:56, 由 陈莉珍 编辑。
    修改了 所属模块 ,旧值为 "0",新值为 "1868"。
    修改了 业务部门 ,旧值为 "0",新值为 "2"。
    修改了 开发责任人,旧值为 "",新值为 "chenlizhen"。
    修改了 测试责任人,旧值为 "",新值为 "chenlizhen"。
    修改了 解决时效 ,旧值为 "0",新值为 "79.56"。
    修改了 重现步骤 ,区别为:
    001-
    001+ 反馈人:吴荣发
    002- 反馈人:吴荣发
    002+ 严重,产品库sql执行时间上千s,影响数据库
    003-
    003+ select rp.id, rp.sku, rp.product_name, rp.product_name_cn, rp.product_state, rp.last_buy_price, rp.is_group, rp.length, rp.width, rp.height, rp.gross_weight, rp.pack_weight, rpa.check_time, (select count(*) from t_product_sku_gtin tpsg where tpsg.sku = rp.sku ) as sku_export_num from rb_product as rp join rb_product_admin rpa on rp.sku = rpa.sku and rp.customer_id = rpa.customer_id and rpa.check_status = 1 and rp.delete_status = 0 WHERE rp.customer_id = 1 and rp.sku in ( '10303867' , '18843414' , '16768635' , '19532863' , '13998640' , '16542525' , '16518599' , '17700295' , '15927502' , '17506020' , '17425428' , '20850535' , '17338609' , '7974269' , '16215489' , '17255516' , '13194735' , '2536578' , '13667538' , '15999463' , '6251957' , '15807662' , '17284353' , '12603037' , '9924239' , '2241958' , '7543876' , '12091895' , '6573573' , '8489459' , '19673536' , '2488894' , '19481456' , '18051546' , '4528427' , '8081999' , '6752745' , '5770401' , '9980642' , '17374414' , '4871890' , '19379937' , '7554976' , '17941797' , '10340746' , '3501622' , '17822926' , '5746857' , '7066993' , '3972613' , '2431860' , '18744570' , '5065151' , '5946218' , '10989583' , '6567075' , '15587608' , '17313814' , '19196489' , '17742703' , '16171465' , '7340523' , '19150368' , '15968792' , '19493956' , '17098236' , '1730690' , '14999135' , '17482804' , '16556374' , '16867852' , '17071961' , '6971775' , '18997730' , '17293003' , '19392374' , '1857096' ,
    004-
    005- 严重,产品库sql执行时间上千s,影响数据库
    006-
    007- select rp.id, rp.sku, rp.product_name, rp.product_name_cn, rp.product_state, rp.last_buy_price, rp.is_group, rp.length, rp.width, rp.height, rp.gross_weight, rp.pack_weight, rpa.check_time, (select count(*) from t_product_sku_gtin tpsg where tpsg.sku = rp.sku ) as sku_export_num from rb_product as rp join rb_product_admin rpa on rp.sku = rpa.sku and rp.customer_id = rpa.customer_id and rpa.check_status = 1 and rp.delete_status = 0 WHERE rp.customer_id = 1 and rp.sku in ( '10303867' , '18843414' , '16768635' , '19532863' , '13998640' , '16542525' , '16518599' , '17700295' , '15927502' , '17506020' , '17425428' , '20850535' , '17338609' , '7974269' , '16215489' , '17255516' , '13194735' , '2536578' , '13667538' , '15999463' , '6251957' , '15807662' , '17284353' , '12603037' , '9924239' , '2241958' , '7543876' , '12091895' , '6573573' , '8489459' , '19673536' , '2488894' , '19481456' , '18051546' , '4528427' , '8081999' , '6752745' , '5770401' , '9980642' , '17374414' , '4871890' , '19379937' , '7554976' , '17941797' , '10340746' , '3501622' , '17822926' , '5746857' , '7066993' , '3972613' , '2431860' , '18744570' , '5065151' , '5946218' , '10989583' , '6567075' , '15587608' , '17313814' , '19196489' , '17742703' , '16171465' , '7340523' , '19150368' , '15968792' , '19493956' , '17098236' , '1730690' , '14999135' , '17482804' , '16556374' , '16867852' , '17071961' , '6971775' , '18997730' , '17293003' , '19392374' , '1857096' ,
    001- <p>
    001+ <p>反馈人:吴荣发</p>
    002- 反馈人:吴荣发
    002+ <p>严重,产品库sql执行时间上千s,影响数据库</p>
    003- </p>
    003+ select rp.id, rp.sku, rp.product_name, rp.product_name_cn, rp.product_state, rp.last_buy_price, rp.is_group, rp.length, rp.width, rp.height, rp.gross_weight, rp.pack_weight, rpa.check_time, (select count(*) from t_product_sku_gtin tpsg where tpsg.sku = rp.sku ) as sku_export_num from rb_product as rp join rb_product_admin rpa on rp.sku = rpa.sku and rp.customer_id = rpa.customer_id and rpa.check_status = 1 and rp.delete_status = 0 WHERE rp.customer_id = 1 and rp.sku in ( '10303867' , '18843414' , '16768635' , '19532863' , '13998640' , '16542525' , '16518599' , '17700295' , '15927502' , '17506020' , '17425428' , '20850535' , '17338609' , '7974269' , '16215489' , '17255516' , '13194735' , '2536578' , '13667538' , '15999463' , '6251957' , '15807662' , '17284353' , '12603037' , '9924239' , '2241958' , '7543876' , '12091895' , '6573573' , '8489459' , '19673536' , '2488894' , '19481456' , '18051546' , '4528427' , '8081999' , '6752745' , '5770401' , '9980642' , '17374414' , '4871890' , '19379937' , '7554976' , '17941797' , '10340746' , '3501622' , '17822926' , '5746857' , '7066993' , '3972613' , '2431860' , '18744570' , '5065151' , '5946218' , '10989583' , '6567075' , '15587608' , '17313814' , '19196489' , '17742703' , '16171465' , '7340523' , '19150368' , '15968792' , '19493956' , '17098236' , '1730690' , '14999135' , '17482804' , '16556374' , '16867852' , '17071961' , '6971775' , '18997730' , '17293003' , '19392374' , '1857096' ,
    004- <p>
    005- 严重,产品库sql执行时间上千s,影响数据库
    006- </p>
    007- select rp.id, rp.sku, rp.product_name, rp.product_name_cn, rp.product_state, rp.last_buy_price, rp.is_group, rp.length, rp.width, rp.height, rp.gross_weight, rp.pack_weight, rpa.check_time, (select count(*) from t_product_sku_gtin tpsg where tpsg.sku = rp.sku ) as sku_export_num from rb_product as rp join rb_product_admin rpa on rp.sku = rpa.sku and rp.customer_id = rpa.customer_id and rpa.check_status = 1 and rp.delete_status = 0 WHERE rp.customer_id = 1 and rp.sku in ( '10303867' , '18843414' , '16768635' , '19532863' , '13998640' , '16542525' , '16518599' , '17700295' , '15927502' , '17506020' , '17425428' , '20850535' , '17338609' , '7974269' , '16215489' , '17255516' , '13194735' , '2536578' , '13667538' , '15999463' , '6251957' , '15807662' , '17284353' , '12603037' , '9924239' , '2241958' , '7543876' , '12091895' , '6573573' , '8489459' , '19673536' , '2488894' , '19481456' , '18051546' , '4528427' , '8081999' , '6752745' , '5770401' , '9980642' , '17374414' , '4871890' , '19379937' , '7554976' , '17941797' , '10340746' , '3501622' , '17822926' , '5746857' , '7066993' , '3972613' , '2431860' , '18744570' , '5065151' , '5946218' , '10989583' , '6567075' , '15587608' , '17313814' , '19196489' , '17742703' , '16171465' , '7340523' , '19150368' , '15968792' , '19493956' , '17098236' , '1730690' , '14999135' , '17482804' , '16556374' , '16867852' , '17071961' , '6971775' , '18997730' , '17293003' , '19392374' , '1857096' ,
  5. 2025-10-23 19:15:59, 由 陈莉珍 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "chenlizhen",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "chenlizhen"。
    修改了 关闭日期,旧值为 "",新值为 "2025-10-23 19:15:59"。
  6. 2025-10-23 19:16:19, 由 陈莉珍 添加备注。
    已经存在重复bug
所属项目 技术中心-需求池
所属模块 多平台   Aliexpress
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门 总经办
影响功能
开发责任人 陈莉珍
测试责任人 陈莉珍
解决时效 79.56
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2025-10-23 19:16:19
截止日期 0000-00-00
上线时间 2025-10-23 19:15:07
上线时效 79.56
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 陈莉珍 于 2025-10-20 11:41:43
影响环境 生产环境-业务反馈
由谁解决 陈莉珍 于 2025-10-23 19:15:07
解决版本
解决方案 非BUG-纯属误判
由谁关闭 陈莉珍 于 2025-10-23 19:15:59
最后修改 陈莉珍 于 2025-10-23 19:16:19
相关Bug