We are using SQL Server 2008 express. At the moment in the connection string we have the default pool size of 100. At peak times we are receiving time-out error when processing transactions into the DB.
The situation has improved since we have set the pool-size to 200. My question is what is the maximum pool-size you can have in express edition? This edition is run with a GB of RAM.
Also we have the full-blown version of SQL. Can we specify a larger pool-size with the full blown version and if we do increase the pool size, would we have to increase such things as RAM etc to see the benefit?
Thanks in advance,
Matt.
Adding Connections Connections are added to the pool as needed, up to the maximum pool size specified (100 is the default). Connections are released back into the pool when they are closed or disposed.
To set the maximum pool size: n is the number of connections allowed per pool, from 1 to 2,147,483,647 (the default).
Restart the SQL Server Instance, refresh it and again go to Properties > Connections and you will see 300 in "Maximum number of concurrent connections" scroll box.
Whenever you have such questions you should go to Maximum Capacity Specifications for SQL Server. Strictly speaking Connection pool size is a client setting but the engine needs to keep open a connection so you can hit server side limits. The Connections per client
values is Maximum value of configured connections
which implies is configurable through a Server Configuration Option and ideed it is, see user connections
:
The user connections option specifies the maximum number of simultaneous user connections that are allowed on an instance of SQL Server. The actual number of user connections allowed also depends on the version of SQL Server that you are using, and also the limits of your application or applications and hardware. SQL Server allows a maximum of 32,767 user connections. Because user connections is a dynamic (self-configuring) option, SQL Server adjusts the maximum number of user connections automatically as needed, up to the maximum value allowable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With