What is maximum allowable value of “Max Pool Size” in sql connection string

后端 未结 3 1737
广开言路
广开言路 2021-01-11 09:30

What is the maximum allowable value of \"Max Pool Size\" in a connection string?

Suppose this is my connection string in app.config



        
相关标签:
3条回答
  • 2021-01-11 10:01

    You may check with DBA connection limit set in database server

    0 讨论(0)
  • 2021-01-11 10:02

    As far as I know - 32767 This is the limit of Sql Server, not .NET

    0 讨论(0)
  • 2021-01-11 10:11

    There is no documented limit on Max Pool Size. There is however an exact documented limit on maximum number of concurrent connections to a single SQL Server (32767 per instance, see http://msdn.microsoft.com/en-us/library/ms143432(v=SQL.90).aspx).

    A single ADO.NET pool can only go to a single instance, so maximum effective limit is therefore 32767.

    0 讨论(0)
提交回复
热议问题