Previous Topic: Define a Partition for a SQL Server Table IndexNext Topic: Define SQL Server Partition Functions


Define a Partition for a SQL Server View Index

Use the SQL Server View Index Editor to define a partition for a view index in either a SQL Server 2005 or 2008 physical model. You need a column to partition the index on, a scheme to determine where the partition resides, and a partition function to define the boundary of the partition.

To define a partition for a SQL Server view index

  1. Right-click a view index in the Model Explorer and click Properties.

    The SQL Server View Index Editor opens.

  2. Select the view from the View drop-down that contains the index for which you want to define a partition.
  3. Select the index in the Navigation Grid for which you want to define a partition.

    Note: Use the Enter filter text box to filter a very large list of indexes to quickly locate the one for which you want to define a partition.

  4. Click the Partitions tab and work with the following options:
    Partition Column

    Specifies the column upon which to partition the view index. Select the check box to specify the column.

    Scheme

    Specifies the scheme that defines the partition boundaries and the filegroups in which the partition resides. The Scheme '<index_name>' Filegroups field displays the scheme's partition boundary and the list of filegroups to store the partitions.

  5. Click Close.

    The partition is defined and the SQL Server View Index Editor closes.