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

Waits for Page Allocation

$
0
0

Hi Everybody,

I have a question. Let's assume that we have multiple threads trying to Insert data into the same partition of a table. The Insert statement will be similar to:

INSERT INTO DESTINATIONTABLE SELECT <ColumnList> FROM SOURCETABLE

The number of rows inserted by each thread will run into millions. So, there might be a situation when two or more threads request for new Page Allocations from the same HoBT at the same time. In this situation, the HoBT may become hot, and I am expecting to see waits for Page Allocations. In this case, what waittype should I expect? In other words, how do I identify that waits on Page Allocations?

I am using SQL Server 2008R2 Enterprise Edition.

Thanks in advance.

Suhas



Viewing all articles
Browse latest Browse all 15889

Trending Articles



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