Skip to content Skip to sidebar Skip to footer

Bulk Inserts Of Heavily Indexed Child Items (sql Server 2008)

I'm trying to create a data import mechanism for a database that requires high availability to readers while serving irregular bulk loads of new data as they are scheduled. The new

Solution 1:

Notice, that partitioning on a column requires the column to be part of the clustered index key, not part of the primary key. The two are independent.

Still, partitioning imposes lots of constraints on what you operations you can perform on your table. For example, switching only works if all indexes are aligned and no foreign keys reference the table being modified.

If you can make use of partitioning under all of those restrictions this is probably the best approach. Partitioned views give you a more flexibility but have similar restrictions: All indexes are obviously aligned and incoming FKs are impossible.

Partitioning data is not easy. It is not a click-through-wizard-and-be-done solution. The set of tradeoffs is very complex.

Post a Comment for "Bulk Inserts Of Heavily Indexed Child Items (sql Server 2008)"