diff --git a/docs/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql.md b/docs/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql.md index d10474314fe..edc421e05d1 100644 --- a/docs/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql.md +++ b/docs/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql.md @@ -110,7 +110,7 @@ sys.dm_db_index_physical_stats ( |compressed_page_count|**bigint**|The number of compressed pages.

For heaps, newly allocated pages are not PAGE compressed. A heap is PAGE compressed under two special conditions: when data is bulk imported or when a heap is rebuilt. Typical DML operations that cause page allocations will not be PAGE compressed. Rebuild a heap when the compressed_page_count value grows larger than the threshold you want.

For tables that have a clustered index, the compressed_page_count value indicates the effectiveness of PAGE compression.| |hobt_id|bigint|**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] through [current version](http://go.microsoft.com/fwlink/p/?LinkId=299658)), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)].

For columnstore indexes only, this is the ID for a rowset that tracks internal columnstore data for a partition. The rowsets are stored as data heaps or binary trees. They have the same index ID as the parent columnstore index. For more information, see [sys.internal_partitions (Transact-SQL)](../../relational-databases/system-catalog-views/sys-internal-partitions-transact-sql.md).

NULL if| |column_store_delete_buffer_state|tinyint|**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] through [current version](http://go.microsoft.com/fwlink/p/?LinkId=299658)), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)].

0 = NOT_APPLICABLE

1 = OPEN

2 = DRAINING

3 = FLUSHING

4 = RETIRING

5 = READY| -|column_store_delete_buff_state_desc||**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] through [current version](http://go.microsoft.com/fwlink/p/?LinkId=299658)), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)].

NOT_APPLICABLE –the parent index is not a columnstore index.

OPEN – deleters and scanners use this.

DRAINING – deleters are draining out but scanners still use it.

FLUSHING – buffer is closed and rows in the buffer are being written to the delete bitmap.

RETIRING – rows in the closed delete buffer have been written to the delete bitmap, but the buffer has not been truncated because scanners are still using it. New scanners don’t need to use the retiring buffer because the open buffer is enough.

READY – This delete buffer is ready for use.| +|column_store_delete_buff_state_desc||**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] through [current version](http://go.microsoft.com/fwlink/p/?LinkId=299658)), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)].

NOT VALID –the parent index is not a columnstore index.

OPEN – deleters and scanners use this.

DRAINING – deleters are draining out but scanners still use it.

FLUSHING – buffer is closed and rows in the buffer are being written to the delete bitmap.

RETIRING – rows in the closed delete buffer have been written to the delete bitmap, but the buffer has not been truncated because scanners are still using it. New scanners don’t need to use the retiring buffer because the open buffer is enough.

READY – This delete buffer is ready for use.| ## Remarks The sys.dm_db_index_physical_stats dynamic management function replaces the DBCC SHOWCONTIG statement.