Đinh Văn Đức
New member
Point out the wrong statement.
A. Heap inserts are typically slower than using a clustered index
B. Use partitions and partition SWITCH command; i.e., load a work table that contains a single partition and SWITCH it into the main table after you build the indexes and put the constraints on
C. Use the NOLOCK or TABLOCK hints to remove locking overhead
D. Use a commit size of <5000 to avoid lock escalation when inserting; note that in SQL Server 2008 you can now enable/disable lock escalation at the object level, but use this wisely
A. Heap inserts are typically slower than using a clustered index
B. Use partitions and partition SWITCH command; i.e., load a work table that contains a single partition and SWITCH it into the main table after you build the indexes and put the constraints on
C. Use the NOLOCK or TABLOCK hints to remove locking overhead
D. Use a commit size of <5000 to avoid lock escalation when inserting; note that in SQL Server 2008 you can now enable/disable lock escalation at the object level, but use this wisely