重现步骤

[步骤]

[00:02:05]  -------------------------------------------------------------
CODE:N0002058
Error:11_-2_0_-2146232060
SQL:SELECT t1.OrderCode,t2.SellerSKU,t1.OrderSourceID,t2.ASIN
                FROM RB_Lower_Profit_Order(NOLOCK) t1 JOIN RB_OrderList(NOLOCK) t2 ON t1.OrderCode=t2.OrderCode
                WHERE t1.CustomerID=1  AND t1.IsLowerProfit=1 AND t1.IncludeFeeType=1 AND t1.OrderSourceType=1 AND t1.HolidayTagId=''
                AND t1.AddTime>='2026-06-04' 
PARAMS:
MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 
TRACE:   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   在 System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
   在 System.Data.SqlClient.SqlDataReader.Read()
   在 System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
   在 System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
   在 System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
   在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)   在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
   在 RB.DAL.RB_Lower_Profit_Order.GetLowerProfitOrderListInfo(Int32 customerID, DateTime startDate, Nullable`1 orderSourceIDInput)
   在 Biz.Amazon.LowerProfit.LowerProfitOrderService.SynceHolidayTag(Nullable`1 orderSourceIDInput)
   在 ChinaDownLoadImage.Task.Finance.Task_Lower_Profit_Check_Sync.Execute()
   在 RB.Utility.SystemTask.<doTask>b__43_0()
   在 System.Threading.Tasks.Task.Execute()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

返回了 十万条记录 索引已优化

[结果]


[期望]

延长超时时长 并且 分页 分批次读取


历史记录  
  1. 2026-06-11 14:53:56, 由 袁慧斌 创建。
  2. 2026-06-12 10:39:53, 由 李乐同 指派给 张明磊。
    修改了 指派给,旧值为 "liletong",新值为 "zhangminglei"。
  3. 2026-06-12 18:19:09, 由 肖雄 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决日期,旧值为 "",新值为 "2026-06-12 18:18:58"。
    修改了 指派给 ,旧值为 "zhangminglei",新值为 "yuanhuibin"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "xiaoxiong"。

    已处理:

  4. 2026-06-18 17:00:07, 由 袁慧斌 编辑。
    修改了 测试责任人,旧值为 "",新值为 "admin"。
    修改了 解决时效 ,旧值为 "0",新值为 "27.42"。
    修改了 截止日期 ,旧值为 "0000-00-00",新值为 "2026-06-18"。
  5. 2026-06-18 17:00:09, 由 袁慧斌 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yuanhuibin",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yuanhuibin"。
    修改了 关闭日期,旧值为 "",新值为 "2026-06-18 17:00:09"。
所属项目 技术中心-需求池
所属模块 财务   客户订单
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P2
Bug状态 已关闭
业务部门 技术研发中心
影响功能
开发责任人 肖雄
测试责任人 admin
解决时效 27.42
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2026-06-18 17:00:09
截止日期 2026-06-18
上线时间 2026-06-16 18:10:00
上线时效 75.27
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2026-06-11 14:53:55
影响环境 生产环境-线上测试
由谁解决 肖雄 于 2026-06-12 18:18:58
解决版本
解决方案 性能问题
由谁关闭 袁慧斌 于 2026-06-18 17:00:09
最后修改 袁慧斌 于 2026-06-18 17:00:09
相关Bug