小编Kah*_*ahn的帖子

SQL Server - READPAST, UPDLOCK update method?

We're in need of yet another massive update which as it is, would require downtime because of the risk of extensive locking problems. Basically, we'd like to update hundreds of millions of rows during business hours.

Now, reducing the updates to manageable < 5000 batch sizes helps, but I was wondering if it was feasible to create a template to only read and lock available rows, udpate them, and move on to the next batch? The idea is that this …

sql sql-server locking sql-server-2012

5
推荐指数
1
解决办法
4339
查看次数

标签 统计

locking ×1

sql ×1

sql-server ×1

sql-server-2012 ×1