重现步骤
SELECT
    `id`,
    `customer_id`,
    `source_id`,
    `msku`,
    `listing_price`,
    `discount_price`,
    `discount_start`,
    `discount_end`,
    `company_price`,
    `company_price_type`,
    `company_price_rule`,
    `estimate_fee`,
    `recommend_quote_price`,
    `recommend_quote_price_shipping`,
    `lowest_quote_price`,
    `lowest_quote_price_shipping`,
    `create_by`,
    `create_time`,
    `update_by`,
    `update_time`,
    `is_deleted`,
    `merchant_shipping_group`,
    `landed_price`,
    `shipping_price`,
    `points`,
    `points_price`,
    `regular_price`,
    `listing_price_update_time`
FROM
    t_amazon_listing_amount_13
WHERE
    (
    customer_id = 1

    AND update_time >= date_add( REPLACE ( '2024-06-30 23:45:00', '%', ' ' ), INTERVAL - 8 HOUR ));


优化建议:

SELECT
    `id`,
    `customer_id`,
    `source_id`,
    `msku`,
    `listing_price`,
    `discount_price`,
    `discount_start`,
    `discount_end`,
    `company_price`,
    `company_price_type`,
    `company_price_rule`,
    `estimate_fee`,
    `recommend_quote_price`,
    `recommend_quote_price_shipping`,
    `lowest_quote_price`,
    `lowest_quote_price_shipping`,
    `create_by`,
    `create_time`,
    `update_by`,
    `update_time`,
    `is_deleted`,
    `merchant_shipping_group`,
    `landed_price`,
    `shipping_price`,
    `points`,
    `points_price`,
    `regular_price`,
    `listing_price_update_time`
FROM
    t_amazon_listing_amount_13
WHERE
    (
     update_time >= date_add( REPLACE ( '2024-06-30 23:45:00', '%', ' ' ), INTERVAL - 8 HOUR )) limit 1000;


分页,去掉customer_id = 1

历史记录  
  1. 2024-07-03 10:27:37, 由 吴高发 创建。
  2. 2024-07-03 10:28:21, 由 李乐同 指派给 胡凯。
    修改了 指派给,旧值为 "liletong",新值为 "hukai"。
  3. 2024-07-03 11:24:39, 由 李乐同 指派给 王极平。
    修改了 指派给,旧值为 "hukai",新值为 "wangjiping"。
  4. 2024-07-03 11:33:50, 由 王极平 指派给 宋宁。
    修改了 指派给,旧值为 "wangjiping",新值为 "songning"。

    是dataX的SQL

  5. 2024-07-03 13:48:42, 由 宋宁 指派给 王锦。
    修改了 指派给,旧值为 "songning",新值为 "wangjin"。
  6. 2024-07-03 13:53:00, 由 王锦 解决,方案为 服务器原因 。
    修改了 解决方案,旧值为 "",新值为 "server"。
    修改了 解决日期,旧值为 "",新值为 "2024-07-03 13:52:34"。
    修改了 指派给 ,旧值为 "wangjin",新值为 "wugaofa"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "wangjin"。
    已调整
  7. 2024-07-04 09:09:14, 由 吴高发 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "wugaofa",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "wugaofa"。
    修改了 关闭日期,旧值为 "",新值为 "2024-07-04 09:09:14"。
所属项目 技术中心-需求池
所属模块 系统运维   性能优化
所属计划
所属迭代
Bug类型 性能问题
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门
影响功能
开发责任人 王锦
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2024-07-04 09:09:14
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 吴高发 于 2024-07-03 10:27:36
影响环境 577

由谁解决 王锦 于 2024-07-03 13:52:34
解决版本
解决方案 服务器原因
由谁关闭 吴高发 于 2024-07-04 09:09:14
最后修改 吴高发 于 2024-07-04 09:09:14
相关Bug