DistributionPolicy Enumeration


Represents the distribution Policy enum used on indexes to override DefaultDistributionPolicy.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum DistributionPolicy

Member nameDescription

Distribution by HASH: Columns that are explicitly specified by using the syntax serve as the keys for a hash function, and this determines which rows go into which segment.


NONE: if you specify this option explicitly then there is only one segment which is the entire index.


REPLICATE: the index will have only ONE segment, and it will be fully replicated on all bricks.


If the table doesn’t have a clustered index, the table property will show value SegmentedHeap.


UNDEFINED: One of the reasons is that the DB has been just attached.

Return to top