Define Options for a SQL Server Table Index
Use the SQL Server Table Index Editor to define advanced options for table indexes in a SQL Server physical model.
To define options for a table index in SQL Server
- 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.
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 options.
- 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.
Note: 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.
Options are defined for the table index and the SQL Server Table Index Editor closes.
Copyright © 2020 erwin, Inc.
All rights reserved.
|
|