Skip to content

Commit bf5d718

Browse files
authored
Merge pull request #19534 from pmasl/patch-960
Update sys-indexes-transact-sql.md
2 parents 1d7e20c + d720850 commit bf5d718

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

docs/relational-databases/system-catalog-views/sys-indexes-transact-sql.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,18 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
4747
|**allow_page_locks**|**bit**|1 = Index allows page locks.<br /><br /> 0 = Index does not allow page locks.<br /><br /> Always 0 for clustered columnstore indexes.|
4848
|**has_filter**|**bit**|1 = Index has a filter and only contains rows that satisfy the filter definition.<br /><br /> 0 = Index does not have a filter.|
4949
|**filter_definition**|**nvarchar(max)**|Expression for the subset of rows included in the filtered index.<br /><br /> NULL for heap, non-filtered index, or insufficient permissions on the table.|
50-
|**auto_created**|**bit**|1 = Index was created by the automatic tuning.<br /><br />0 = Index was created by the user.
51-
|**optimize_for_sequential_key**|**bit**|1 = Index has last-page insert optimization enabled.<br><br>0 = Default value. Index has last-page insert optimization disabled.|
50+
|**compression_delay**|**int**|> 0 = Columnstore index compression delay specified in minutes.<br /><br /> NULL = Columnstore index rowgroup compression delay is managed automatically.|
51+
|**suppress_dup_key_messages**|**bit**|1 = Index is configured to suppress duplicate key messages during an index rebuild operation.<br /><br /> **0** = Index is not configured to suppress duplicate key messages during an index rebuild operation.<br /><br />**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql17-md](../../includes/sssql17-md.md)]), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], and [!INCLUDE[ssSDSMIfull](../../includes/sssdsmifull-md.md)]|
52+
|**auto_created**|**bit**|1 = Index was created by the automatic tuning.<br /><br />0 = Index was created by the user.<br /><br />**Applies to:** [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)]|
53+
|**optimize_for_sequential_key**|**bit**|1 = Index has last-page insert optimization enabled.<br><br>0 = Default value. Index has last-page insert optimization disabled.<br /><br />**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)]), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], and [!INCLUDE[ssSDSMIfull](../../includes/sssdsmifull-md.md)]|
5254

53-
> [!NOTE]
54-
> The **optimize_for_sequential_key** bit is only supported in versions SQL Server 2019 CTP 3.1 and higher.
55-
5655
## Permissions
5756
[!INCLUDE[ssCatViewPerm](../../includes/sscatviewperm-md.md)] For more information, see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
5857

5958
## Examples
6059
The following example returns all indexes for the table `Production.Product` in the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal-md.md)] database.
6160

62-
```
63-
61+
```sql
6462
SELECT i.name AS index_name
6563
,i.type_desc
6664
,is_unique
@@ -79,7 +77,6 @@ INNER JOIN sys.data_spaces AS ds ON i.data_space_id = ds.data_space_id
7977
WHERE is_hypothetical = 0 AND i.index_id <> 0
8078
AND i.object_id = OBJECT_ID('Production.Product');
8179
GO
82-
8380
```
8481

8582
## See Also

0 commit comments

Comments
 (0)