Home All Groups Group Topic Archive Search About

avoiding table lock whe updating million of records at a time

Author
15 Sep 2006 8:02 AM
SQL Ken
if we must have to update millions of records at a time, what is the
possible ways to avoid table lock.

Thanks

Ken

Author
15 Sep 2006 9:28 AM
Immy
You will have to take into account
1. Table lock - is this a highly transactional table? If so, your update
should be out of processing hours.
2. Transaction Log - Performing updates and such high numbers of data will
cause your log to increase in szie and potentially cause the log to fill up.

I suggest you do the updates in smaller batches like hundreds of thousands
rather than a big one off update.
Immy


Show quote
"SQL Ken" <SQL***@gmail.com> wrote in message
news:1158307338.824800.289390@k70g2000cwa.googlegroups.com...
> if we must have to update millions of records at a time, what is the
> possible ways to avoid table lock.
>
> Thanks
>
> Ken
>

AddThis Social Bookmark Button