Ahmad Drshen 10/19/2017

“Switch” Huge Non Partitioned Tables in Seconds

Read Original

This technical article details a method for performing schema changes on extremely large SQL Server tables (e.g., 5.8B rows) using the ALTER TABLE...SWITCH TO command. It explains how this operation, often associated with partitioned tables, can be applied to non-partitioned tables to instantly move data to a new staging table with a modified schema (like identity increment), avoiding slow INSERT operations and heavy transaction log usage.

“Switch” Huge Non Partitioned Tables in Seconds

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser