海外服务1 调用是否太频繁,建议增大调用间隔时间。
重现步骤
附件
海外服务1 调用是否太频繁,建议增大调用间隔时间。
已将对应sql全量更新,改为只更新近一周,如下:

(@CustomerID int,@Status int,@MessageCode varchar(8000),@Msg nvarchar(4000),@UpdateTime datetime)update [RB_AmazonUploadProduct_V2] set [Status] = @Status , [MessageCode] = @MessageCode , [Msg] = @Msg , [UpdateTime] = @UpdateTime where QueueID in ( 39099913 ) And [CustomerID] = @CustomerID
建议改为:
update v2 set v2.[Status] = @Status , v2.[MessageCode] = @MessageCode , v2.[Msg] = @Msg , v2.[UpdateTime] = @UpdateTime
from [RB_AmazonUploadProduct_V2] v2 with(index(IX_RB_AmazonUploadProduct_V2_QueueID))
where v2.QueueID in ( 39099913 ) And v2.[CustomerID] = @CustomerID
| 由谁创建 | 吴高发 于 2022-04-21 17:18:45 |
|---|---|
| 影响环境 |
577 |
| 由谁解决 | 魏鹏军 于 2022-04-25 15:57:01 |
| 解决版本 | |
| 解决方案 | 性能问题 |
| 由谁关闭 | 吴高发 于 2023-02-16 14:43:28 |
| 最后修改 | 刘超 于 2023-11-17 09:53:23 |
| 相关Bug |
|---|
update a set a.status=4,a.msg='listing删除'
from RB_AmazonUploadProduct_V2 a (nolock)
left join RB_Amazon_Product_Base b (nolock)
on a.customerid=b.customerid and a.ordersourceid=b.ordersourceid
and a.ordersourcesku=b.ordersourcesku
where a.status in (0,1) and a.addtime >='最近一周'
and a.isparent=0
and b.ordersourcesku is null