sys.dm_fts_memory_pools (Transact-SQL)
Applies to: SQL Server (all supported versions)
Azure SQL Database
Returns information about the shared memory pools available to the Full-Text Gatherer component for a full-text crawl or a full-text crawl range.
Column name | Data type | Description |
---|---|---|
pool_id | int | ID of the allocated memory pool. 0 = Small buffers 1 = Large buffers |
buffer_size | int | Size of each allocated buffer in the memory pool. |
min_buffer_limit | int | Minimum number of buffers allowed in the memory pool. |
max_buffer_limit | int | Maximum number of buffers allowed in the memory pool. |
buffer_count | int | Current number of shared memory buffers in the memory pool. |
Permissions
On SQL Server, requires VIEW SERVER STATE
permission.
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. On all other SQL Database service objectives, the VIEW DATABASE STATE
permission is required in the database.
Physical Joins
Relationship Cardinalities
From | To | Relationship |
---|---|---|
dm_fts_memory_buffers.pool_id | dm_fts_memory_pools.pool_id | Many-to-one |
Examples
The following example returns the total shared memory owned by the Microsoft Full-Text Gatherer component of the SQL Server process:
SELECT SUM(buffer_size * buffer_count) AS "total memory"
FROM sys.dm_fts_memory_pools;
See Also
Full-Text Search and Semantic Search Dynamic Management Views and Functions (Transact-SQL)