1

我使用 70 次登录安排了大约 70 个并发查询来对 Azure DW (DWU 200) 进行压力测试,一段时间后开始出现此错误

[Execute SQL Task] 
Error: Executing the query "SELECT Distinct S.[Nurse ID],S.[Trust Code],S.[Loc..." failed with the following error: "110802;An internal DMS error occurred that caused this operation to fail. 
Details: 
Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Workers.DmsSqlNativeException, Message: NativeOdbcConnection.Open, error in OdbcConnectionCreate: SqlState: HY000, NativeError: 10928, 'Error calling: SQLExecDirect(hstmt, (SQLWCHAR *) L"SELECT @@SPID", SQL_NTS), SQL return code: -1 | 
SQL Error Info: SrvrMsgState: 1, SrvrSeverity: 20,  Error <1>: ErrorMsg: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Resource ID : 1. The request limit for the database is 1600 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance. | 
ConnectionString: Driver={pdwodbc};APP=TypeC01-DmsNativeReader:DB22\mpdwsvc (69820)-ODBC;Trusted_Connection=yes;AutoTranslate=no;Server=\\.\pipe\DB.22-f8e91ff83e68\sql\query, ConnectionPooling: 1 | Error calling: pConn->Create(connectionString, useConnectionPooling, packetSize, connectionLoginTimeout, environmentSettings, spid) | state: FFFF, number: 19183, active connections: 266', Connection String: Driver={pdwodbc};APP=TypeC01-DmsNativeReader:DB22\mpdwsvc (69820)-ODBC;Trusted_Connection=yes;AutoTranslate=no;Server=\\.\pipe\DB.22-f8e91ff83e68\sql\query".
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

但是我找不到相应的 1600 限制,我也不明白我怎么能达到它?任何帮助将不胜感激,谢谢。

4

1 回答 1

4

您是否阅读过Azure.com 上的并发文章?您正在对规模级别的 70 个并发查询进行压力测试,根据设计,这些查询将开始排队。我的怀疑是,您的排队请求队列在整个负载测试期间不断增加,直到您达到系统中的限制之一。我希望您达到的限制是打开的会话数。

如果您想确定是这种情况,那么您需要开立支持票。但是,如果您想在饱和负载测试中以 70 个并发查询运行,我还建议将 DWU 增加到更高的数字。

于 2016-05-27T16:26:41.133 回答