Skip to content

Commit a000257

Browse files
author
Steve Stein
authored
Merge pull request #958 from baleng/patch-8
Update sys-dm-db-index-physical-stats-transact-sql.md
2 parents 9cb70ba + 124e37e commit a000257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ sys.dm_db_index_physical_stats (
110110
|compressed_page_count|**bigint**|The number of compressed pages.<br /><br /> 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.<br /><br /> For tables that have a clustered index, the compressed_page_count value indicates the effectiveness of PAGE compression.|
111111
|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)].<br /><br /> 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 &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-internal-partitions-transact-sql.md).<br /><br /> NULL if|
112112
|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)].<br /><br /> 0 = NOT_APPLICABLE<br /><br /> 1 = OPEN<br /><br /> 2 = DRAINING<br /><br /> 3 = FLUSHING<br /><br /> 4 = RETIRING<br /><br /> 5 = READY|
113-
|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)].<br /><br /> NOT_APPLICABLE –the parent index is not a columnstore index.<br /><br /> OPEN – deleters and scanners use this.<br /><br /> DRAINING – deleters are draining out but scanners still use it.<br /><br /> FLUSHING – buffer is closed and rows in the buffer are being written to the delete bitmap.<br /><br /> 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.<br /><br /> READY – This delete buffer is ready for use.|
113+
|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)].<br /><br /> NOT VALID –the parent index is not a columnstore index.<br /><br /> OPEN – deleters and scanners use this.<br /><br /> DRAINING – deleters are draining out but scanners still use it.<br /><br /> FLUSHING – buffer is closed and rows in the buffer are being written to the delete bitmap.<br /><br /> 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.<br /><br /> READY – This delete buffer is ready for use.|
114114

115115
## Remarks
116116
The sys.dm_db_index_physical_stats dynamic management function replaces the DBCC SHOWCONTIG statement.

0 commit comments

Comments
 (0)