SQL Server 2016 には、履歴データを透過的にアーカイブできる新しい機能であるストレッチ データベースがあります。しかし、どのテーブルがこの機能に適しているか知りたいですか?
1 に答える
2
ドキュメントによると
Stretch Database の候補となるデータベースとテーブルはどのようなものですか?
Stretch Database は、通常は少数のテーブルに格納されている、大量の履歴データを持つトランザクション データベースを対象としています。これらのテーブルには、10 億行を超える行が含まれる場合があります。
SQL Server 2016 Community Technology Preview 2 (CTP2) では、Stretch データベースはテーブル全体を移行します。これは、履歴データを現在のデータとは別のテーブルに既に移動していることを前提としています。
SQL Server 2016 Upgrade Advisor の機能である Stretch Database Advisor を使用して、Stretch Database のデータベースとテーブルを識別します。詳細については、「Stretch Database Advisor を実行して Stretch Database のデータベースとテーブルを特定する」を参照してください。
現在の制限(将来変更される可能性があります):
テーブルのプロパティ
More than 1,023 columns More than 998 indexes Tables that contain FILESTREAM data FileTables Replicated tables Tables that are actively using Change Tracking or Change Data Capture Memory-optimized tables You can't enable Stretch for a table that has a column named [batchID--N] or an index named [idx--batchID--N] where N is the object ID of the table.データ型と列のプロパティ
timestamp sql_variant XML geometry geography hierarchyid CLR user-defined types (UDTs) Columns that are Always Encrypted列の種類
COLUMN_SET Computed columns制約
Check constraints Foreign key constraints that reference the table Default constraintsインデックス
XML indexes Full text indexes Spatial indexes Clustered columnstore indexes Indexed views that reference the table
于 2015-09-11T05:07:00.660 に答える