Why is SQL Server 2008 blocking SELECT's on long transaction INSERT's?

后端 未结 4 1513
花落未央
花落未央 2021-02-02 14:26

We are trying to have a transactional table that only takes new records inserted on a regular basis.

This simple table requires us to continuously add new records to it

4条回答
  •  萌比男神i
    2021-02-02 14:32

    I also ran into this issue. After investigation, it seemed to be that it was not the data that was locked per se, but the clustered index that was being modified as a result of the insert. Since the clustered index resides on the data pages, the associated data rows are locked as well.

提交回复
热议问题