Define SQL Server Index Storage Properties
Use the Options tab in the SQL Server Table Index Editor to specify physical storage properties at the index level for the selected index for a SQL Server physical model.
To define SQL Server index properties
- Right-click a table index in the Model Explorer and click Properties.
The SQL Server Table Index Editor opens.
- Select the table from the Table drop-down that contains the index that you want to define.
- Select the index in the Navigation Grid that you want to define.
Click New
on the toolbar to create a new index. Use the Enter filter text box to filter a very large list of indexes to quickly locate the one that you want to define.
- Work with the following options:
- Table
Displays the table to which the selected table index belongs.
Previous
Positions the editor on the previous table index in the Navigation Grid.
Next
Positions the editor on the next table index in the Navigation Grid.
Sort
Sorts the table indexes by alphabetic, reverse alphabetic, or index order. You select the method you want using the drop-down menu that opens after you click the Sort button.
New
Creates a new table index that becomes the current object in the editor.
Delete
Deletes the selected table index.
Help
Accesses online help for the editor.
Lets you enter text to filter a large list of table index objects so you can quickly locate the one that you want.
- Show FK Indexes
Specifies to display FK (foreign key) indexes in the Navigation Grid.
- Physical Name
Displays the physical name of the table index.
- Type
Displays the table index type.
- Is Unique
Specifies to allow only unique values in the table index. Clear this check box to allow non-unique values.
This option is unavailable when a primary or foreign key index is selected.
- Physical Only
Specifies whether to have the index appear in the physical model only. If you want the index to appear in the logical model as a key group, clear the check box.
This option is unavailable when a primary or foreign key index is selected.
- Generate
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
- Click the Options tab and work with the following options:
- Fill Factor
Lets you enter the percentage to use to indicate how full SQL Server should make each index page during index creation.
- Pad Index
Lets you specify the space to leave open on each node in the intermediate levels of the index.
If you use the PAD_INDEX option, make sure you enter a percentage in the FILLFACTOR field. PAD_INDEX uses the percentage specified in the FILLFACTOR field.
- Sort In Temp DB
Specifies whether to store sort results in tempdb. The default is OFF.
- No Recompute
Lets you specify that outdated index statistics are not automatically recomputed.
- Drop Existing
Lets you specify that a named, preexisting clustered or nonclustered index should be dropped and rebuilt.
- Allow Row Locks
Specifies whether row locks are allowed.
- Allow Page Locks
Specifies whether page locks are allowed.
- Maximum Degree of Parallelism
Specifies the number of processors to use in parallel plan execution.
- Ignore Duplicate Keys
Specifies to include the ignore duplicate key clause in the create index clause when it generates the schema.
- Statistics Incremental
Specifies whether the statistics created are per partition statistics. The default is False.
- Online
Specifies whether underlying tables and associated indexes are available for queries and data modification during the index operation. The default is False. REBUILD can be performed as an ONLINE operation.
- Max Wait Duration
Specifies the wait time (an integer value specified in minutes) that the SWITCH or online index rebuild lock (that must be acquired) will wait when executing the DDL command. Enabled only if the Online option is set to True. Available SQL Server 2016 onward.
- Abort After Wait
Specifies the action to be executed if the operation is blocked for the Max Wait Duration time. Enabled only if the Online option is set to True. Available SQL Server 2016 onward.
- Filegroup
Lets you select a filegroup in which the table that contains the selected index should be stored. Click the
button to open the SQL Server File Group Editor to create or modify filegroups.
- Filestream Partition Scheme
Specifies the partition scheme to be used to store filestream data for a partitioned index. Select a partition scheme from the drop-down list or click New
to create one.
- Filestream Filegroup
Specifies the filegroup to hold the partitions specified by the partition functions that use the selected partition scheme.
- Click Close.
Index storage properties are defined and the SQL Server Table Index Editor closes.
Copyright © 2023 Quest Software, Inc. |