开发者

Sql Server batch insert takes 10s, problem?

开发者 https://www.devze.com 2023-01-08 18:29 出处:网络
开发者_开发知识库I have a large batch insert using SubSonic which takes about 10s (sometimes more), will this produce any problems if my website tries to open another connection to my sql server?

开发者_开发知识库I have a large batch insert using SubSonic which takes about 10s (sometimes more), will this produce any problems if my website tries to open another connection to my sql server?

This batch won't happend that often, but I guess it will happend at the same time as an other connection at some point.

And a related question: How many connections can sql server have at once?


SQL Server can handle simultaneous batches just fine. Of course, it's possible that your insert batch locks certain table rows. That will block other transactions from completing until the batch is finished.

The usual limit on SQL Server connections is the max pool size of the connection pool on the client.

0

精彩评论

暂无评论...
验证码 换一张
取 消