Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Auto lock escalation and bulk insert - still locking

$
0
0

Hi all,

I am having some trouble with using auto lock escalation on a partitioned table.

In a very simple example, I have a table partition on an INT key.

I load to it in bulk using SSIS with a DTC transaction wrapped around it.  I think try to insert into another partition just with a simple insert command.  The latter insert command gets blocked.  If I don't bulk load the data in SSIS with a transaction, it works fine.  Why can't the lock just escalate to the partition level and let me do inserts in another partition?

Any thoughts would be helpful!


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>