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

Insert Suspended

$
0
0

Hi

While inserting records into a table I found that it was taking too much time, I open Activity monitor window and try to look where it was stuck!! There is no any other session was running except my one. But I got surprised while looking the Process tab! My insertion was suspended and TempDB select is running. After few second insert was running and again got suspended. It was repeating this process after every few seconds. I am not DBA but interested to know why INSERT was suspended and what this TempDb Select is doing?

CREATETABLE JoinTest2

(idintidentity(1000,1), namevarchar(40),salmoney)

Insertinto jointest1(name, sal) values('myname1',100)

go 10000

Advance thanks for reply.


Regards Vikas Pathak


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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