任务描述

1.原sql


SQL 执行次数 平均I_O 总I_O 逻辑写 逻辑读 CPU平均耗时 总CPU耗时_秒 优化建议
select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557') 2689 391 1053040 0 1053040 1 3096 排查请求量为什么大,捕获9次统计
2.Erp系统对应位置

3.代码最后提交记录

需求描述

1.原sql

SQL 执行次数 平均I_O 总I_O 逻辑写 逻辑读 CPU平均耗时 总CPU耗时_秒 优化建议
select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557') 2689 391 1053040 0 1053040 1 3096 排查请求量为什么大,捕获9次统计
2.Erp系统对应位置

3.代码最后提交记录

验收标准
暂无
历史记录  
  1. 2023-12-26 15:09:20, 由 林鸿贵 创建。
  2. 2023-12-26 15:09:43, 由 林鸿贵 指派给 林鸿贵。
    修改了 指派给,旧值为 "xuruifeng",新值为 "linhonggui"。
  3. 2023-12-26 15:10:00, 由 林鸿贵 编辑。
    修改了 开发组 ,旧值为 "",新值为 "1"。
    修改了 预计开始,旧值为 "0000-00-00",新值为 "2023-12-26"。
    修改了 截止日期,旧值为 "0000-00-00",新值为 "2023-12-26"。
    修改了 任务名称,区别为:
    001- RB_WareHouse_Inventory_SalesOrder_Log优化
    001+ RB_WareHouse_Inventory_SalesOrder_Log优化 ---测试执行
    001- RB_WareHouse_Inventory_SalesOrder_Log优化
    001+ RB_WareHouse_Inventory_SalesOrder_Log优化 ---测试执行
    修改了 任务描述,区别为:
    002-
    002+
    003- SQL
    003+ SQL
    004- 执行次数
    004+ 执行次数
    005- 平均I_O
    005+ 平均I_O
    006- 总I_O
    006+ 总I_O
    007- 逻辑写
    007+ 逻辑写
    008- 逻辑读
    008+ 逻辑读
    009- CPU平均耗时
    009+ CPU平均耗时
    010- 总CPU耗时_秒
    010+ 总CPU耗时_秒
    011- 优化建议
    011+ 优化建议
    012- select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557')
    012+ select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557')
    013- 2689
    013+ 2689
    014- 391
    014+ 391
    015- 1053040
    015+ 1053040
    016- 0
    016+ 0
    017- 1053040
    017+ 1053040
    018- 1
    018+ 1
    019- 3096
    019+ 3096
    020- 排查请求量为什么大,捕获9次统计
    020+ 排查请求量为什么大,捕获9次统计
    021-
    021+
    023- <img src="/zentao/file-read-316168.png" alt="" />
    023+
    025- <img src="/zentao/file-read-316169.png" alt="" />
    025+
    002- <p>
    002+ <p><br /></p>
    003- </p><table cellspacing="0" cellpadding="0" border="0" class="ke-zeroborder ke-select-col"><tbody><tr><td class="s-3" style="font-weight:bold;color:#000000;font-size:10pt;font-family:Arial;vertical-align:bottom;">SQL</td>
    003+ <table cellspacing="0" cellpadding="0" border="0" class="ke-zeroborder ke-select-col"><tbody><tr><td class="s-3" style="font-weight:bold;color:#000000;font-size:10pt;font-family:Arial;vertical-align:bottom;">SQL</td>
    004- <td class="s-3" style="font-weight:bold;color:#000000;font-size:10pt;font-family:Arial;vertical-align:bottom;">执行次数</td>
    004+ <td class="s-3" style="font-weight:bold;color:#000000;font-size:10pt;font-family:Arial;vertical-align:bottom;">执行次数</td>
    005- <td class="s-81" style="font-weight:bold;">平均I_O</td>
    005+ <td class="s-81" style="font-weight:bold;">平均I_O</td>
    006- <td class="s-81" style="font-weight:bold;">总I_O</td>
    006+ <td class="s-81" style="font-weight:bold;">总I_O</td>
    007- <td class="s-81" style="font-weight:bold;">逻辑写</td>
    007+ <td class="s-81" style="font-weight:bold;">逻辑写</td>
    008- <td class="s-81" style="font-weight:bold;">逻辑读</td>
    008+ <td class="s-81" style="font-weight:bold;">逻辑读</td>
    009- <td class="s-81" style="font-weight:bold;">CPU平均耗时</td>
    009+ <td class="s-81" style="font-weight:bold;">CPU平均耗时</td>
    010- <td class="s-81" style="font-weight:bold;">总CPU耗时_秒</td>
    010+ <td class="s-81" style="font-weight:bold;">总CPU耗时_秒</td>
    011- <td class="s-85" style="font-weight:bold;background-color:#92D04F;">优化建议</td>
    011+ <td class="s-85" style="font-weight:bold;background-color:#92D04F;">优化建议</td>
    012- </tr><tr><td class="s-79" style="color:#000000;font-size:10pt;font-family:Arial;background-color:#F2C150;vertical-align:bottom;">select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557')</td>
    012+ </tr><tr><td class="s-79" style="color:#000000;font-size:10pt;font-family:Arial;background-color:#F2C150;vertical-align:bottom;">select Id,OrderCode,CustomerId,BasePackageID,Quantity,SKU,WareHouseId,ShipFee,TariffFee,BuyPrice,TaxRefundFee from RB_WareHouse_Inventory_SalesOrder_Log with(nolock) where CustomerID in (1) and OrderCode in('202309021756151335399','202308201647150306926','202308170138150044934','202307130606147324755','202307130606147324754','202307121226147225554','202307121146147221810','202306080907144838879','202306080846144838223','202306080706144834214','202306080625144832252','202306080545144829901','202306060347144681829','202306060306144678981','202306060306144678972','202306060047144669032','202306060026144667610','202306051926144651060','202306032105144520021','202306030826144496024','202306030727144494024','202306030629144491542','202306030507144487359','202306020147144409104','202306020106144406186','202306020106144406180','202306012346144401369','202306012146144394385','202306011926144387632','202305301125144234348','202305301106144233570','202305301025144232130','202305290806144159108','202305290727144157619','202305290705144156951','202305260846143992134','202305260647143987612','202305260026143966018','202305251325143937297','202305230748143793755','202305230726143793041','202305230726143793040','202305180146143465907','202305172306143456960','202305171227143433340','202305150246143269171','202305150025143260363','202305141045143233198','202303231359139321925','202303201111139121557')</td>
    013- <td class="s-79" style="color:#000000;font-size:10pt;font-family:Arial;background-color:#F2C150;vertical-align:bottom;">2689</td>
    013+ <td class="s-79" style="color:#000000;font-size:10pt;font-family:Arial;background-color:#F2C150;vertical-align:bottom;">2689</td>
    014- <td class="s-77" style="background-color:#F2C150;">391</td>
    014+ <td class="s-77" style="background-color:#F2C150;">391</td>
    015- <td class="s-77" style="background-color:#F2C150;">1053040</td>
    015+ <td class="s-77" style="background-color:#F2C150;">1053040</td>
    016- <td class="s-77" style="background-color:#F2C150;">0</td>
    016+ <td class="s-77" style="background-color:#F2C150;">0</td>
    017- <td class="s-77" style="background-color:#F2C150;">1053040</td>
    017+ <td class="s-77" style="background-color:#F2C150;">1053040</td>
    018- <td class="s-77" style="background-color:#F2C150;">1</td>
    018+ <td class="s-77" style="background-color:#F2C150;">1</td>
    019- <td class="s-77" style="background-color:#F2C150;">3096</td>
    019+ <td class="s-77" style="background-color:#F2C150;">3096</td>
    020- <td class="s-77" style="background-color:#F2C150;">排查请求量为什么大,捕获9次统计</td>
    020+ <td class="s-77" style="background-color:#F2C150;">排查请求量为什么大,捕获9次统计</td>
    021- </tr></tbody></table>
    021+ </tr></tbody></table>
    023- <p><img src="/zentao/file-read-316168.png" alt="" /></p>
    023+ <p><img src="{316168.png}" alt="" /></p>
    025- <p><img src="/zentao/file-read-316169.png" alt="" /></p>
    025+ <p><img src="{316169.png}" alt="" /></p>
  4. 2023-12-26 16:29:45, 由 荀帅 启动。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2023-12-26 16:29:43"。
    修改了 任务状态,旧值为 "wait",新值为 "doing"。
  5. 2023-12-26 16:29:54, 由 荀帅 完成。
    修改了 总计消耗,旧值为 "0",新值为 "6"。
    修改了 实际完成,旧值为 "",新值为 "2023-12-26 16:29:52"。
    修改了 任务状态,旧值为 "doing",新值为 "done"。
    修改了 预计剩余,旧值为 "6",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "xunshuai"。
  6. 2023-12-26 17:06:54, 由 林鸿贵 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "linhonggui",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "linhonggui"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-12-26 17:06:54"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 12月运维事项(2023年)
所属模块 技术中心-需求池  系统运维   性能优化
相关需求 RB_WareHouse_Inventory_SalesOrder_Log优化
指派给 Closed 于 2023-12-26 17:06:54
任务类型 测试
任务标签 初始
开发组 百货开发组
任务状态 已关闭
进度 100%
优先级 P3
关键词
抄送给
由谁创建 林鸿贵 于 2023-12-26 15:09:20
由谁完成 荀帅 于 2023-12-26 16:29:52
由谁取消 暂无
由谁关闭 林鸿贵 于 2023-12-26 17:06:54
关闭原因 已完成
最后编辑 林鸿贵 于 2023-12-26 17:06:54
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 6工时
总计消耗 6工时
预计剩余 0工时
预计开始 2023-12-26
实际开始 2023-12-26
截止日期 2023-12-26