I'm using mssql 2008 andI have a big insert script iI need to run. Its about 55.,000 records and 160 columns. The script is already created and I cantcan't create it again.
The problem iI have is that this runs for about 4 hours or so, and during that time the system that useuses this database getgets really slow and timeout a lot.
I would not care if its slower my insertINSERT is slower but i can bather the normal users with it shouldn't impact other users.
I was thinking in doing some batch of letslet's say 500 rows and use the waitforWAITFOR
, but was wondering if there could be a better option for doing this.
Any suggestions are really appreciated.
Thanks!