sys.dm_db_xtp_index_stats (Transact-SQL)

包含上次重新啟動資料庫之後收集的統計資料。

如需詳細資訊,請參閱<In-Memory OLTP (記憶體中最佳化)>和<使用記憶體最佳化資料表索引的方針>。

資料行名稱

資料類型

描述

object_id

bigint

這個索引所屬物件的識別碼。

index_id

bigint

索引的識別碼。 index_id 只在物件內才是唯一的。

scans_started

bigint

已執行之記憶體中 OLTP 索引掃描的數目。 每個選取、插入、更新或刪除都需要索引掃描。

scans_retries

bigint

必須重試的索引掃描數目。

rows_returned

bigint

建立資料表或啟動 SQL Server 之後傳回的資料列累計數目。

rows_touched

bigint

建立資料表或啟動 SQL Server 之後存取的資料列累計數目。

rows_expiring

bigint

僅供內部使用。

rows_expired

bigint

僅供內部使用。

rows_expired_removed

bigint

僅供內部使用。

phantom_scans_started

bigint

僅供內部使用。

phatom_scans_retries

bigint

僅供內部使用。

phantom_rows_touched

bigint

僅供內部使用。

phantom_expiring_rows_encountered

bigint

僅供內部使用。

phantom_expired_rows_encountered

bigint

僅供內部使用。

phantom_expired_removed_rows_encountered

bigint

僅供內部使用。

object_address

varbinary(8)

僅供內部使用。

權限

需要目前資料庫的 VIEW DATABASE STATE 權限。

請參閱

概念

記憶體最佳化的資料表動態管理檢視 (Transact-SQL)