sys.dm_fts_population_ranges (Transact-SQL)sys.dm_fts_population_ranges (Transact-SQL)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database

返回有关与当前正在进行的全文索引填充相关的特定范围的信息。Returns information about the specific ranges related to a full-text index population currently in progress.

列名称Column name 数据类型Data type 说明Description
memory_addressmemory_address varbinary(8)varbinary(8) 为与全文索引填充子范围相关的活动分配的内存缓冲区地址。Address of memory buffers allocated for activity related to this subrange of a full-text index population.
parent_memory_addressparent_memory_address varbinary(8)varbinary(8) 代表与全文索引相关的所有填充范围的父对象的内存缓冲区地址。Address of memory buffers representing the parent object of all ranges of population related to a full-text index.
is_retryis_retry bitbit 如果值为 1,则该子范围负责重试出现错误的行。If the value is 1, this subrange is responsible for retrying rows that encountered errors.
session_idsession_id smallintsmallint 当前正在处理该任务的会话的 ID。ID of the session that is currently processing this task.
processed_row_countprocessed_row_count intint 此范围内已经处理的行数。Number of rows that have been processed by this range. 保持前进进度,并且每隔 5 分钟进行一次计数,而不是在每个批次提交时进行计数。Forward progress is persisted and counted every 5 minutes, rather than with every batch commit.
error_counterror_count intint 此范围内已经出现错误的行数。Number of rows that have encountered errors by this range. 保持前进进度,并且每隔 5 分钟进行一次计数,而不是在每个批次提交时进行计数。Forward progress is persisted and counted every 5 minutes, rather than with every batch commit.

权限Permissions

在上 SQL ServerSQL Server ,需要 VIEW SERVER STATE 权限。On SQL ServerSQL Server, requires VIEW SERVER STATE permission.
在 SQL 数据库的基本、S0 和 S1 服务目标上,对于弹性池中的数据库, 服务器管理员 帐户或 Azure Active Directory 管理员 帐户是必需的。On SQL Database Basic, S0, and S1 service objectives, and for databases in elastic pools, the server admin account or the Azure Active Directory admin account is required. 对于所有其他 SQL 数据库服务目标, VIEW DATABASE STATE 数据库中需要该权限。On all other SQL Database service objectives, the VIEW DATABASE STATE permission is required in the database.

物理联接Physical Joins

此动态管理视图的重要联接Significant joins of this dynamic management view

关系基数Relationship Cardinalities

From 功能To 关系Relationship
dm_fts_population_ranges.parent_memory_addressdm_fts_population_ranges.parent_memory_address dm_fts_index_population.memory_addressdm_fts_index_population.memory_address 多对一Many-to-one

另请参阅See Also

全文搜索和语义搜索动态管理视图和函数 (Transact-sql)Full-Text Search and Semantic Search Dynamic Management Views and Functions (Transact-SQL)