Уреди

Делите путем


System views supported in Synapse SQL

Links to the documentation for T-SQL statements supported in Synapse SQL.

Note

Synapse serverless SQL pool supports SQL Server catalog views only.

Dedicated SQL pool and serverless SQL pool catalog views

Dedicated SQL pool dynamic management views (DMVs)

SQL Server DMVs applicable to dedicated SQL pool

The following DMVs are applicable to dedicated SQL pool, but must be executed by connecting to the master database.

SQL Server catalog views

SQL Server DMVs available in dedicated SQL pool

SQL pool exposes many of the SQL Server dynamic management views (DMVs). These views, when queried in dedicated SQL pool, are reporting the state of SQL Databases running on the distributions.

SQL pool and Analytics Platform System's Parallel Data Warehouse (PDW) use the same system views. Each DMV has a column called pdw_node_id, which is the identifier for the Compute node.

Note

To use these views, insert 'pdw_nodes_' into the name, as shown in the following table:

DMV name in dedicated SQL pool SQL Server Transact-SQL article
sys.dm_pdw_nodes_db_column_store_row_group_physical_stats sys.dm_db_column_store_row_group_physical_stats
sys.dm_pdw_nodes_db_column_store_row_group_operational_stats sys.dm_db_column_store_row_group_operational_stats
sys.dm_pdw_nodes_db_file_space_usage sys.dm_db_file_space_usage
sys.dm_pdw_nodes_db_index_usage_stats sys.dm_db_index_usage_stats
sys.dm_pdw_nodes_db_partition_stats sys.dm_db_partition_stats
sys.dm_pdw_nodes_db_session_space_usage sys.dm_db_session_space_usage
sys.dm_pdw_nodes_db_task_space_usage sys.dm_db_task_space_usage
sys.dm_pdw_nodes_exec_background_job_queue sys.dm_exec_background_job_queue
sys.dm_pdw_nodes_exec_background_job_queue_stats sys.dm_exec_background_job_queue_stats
sys.dm_pdw_nodes_exec_cached_plans sys.dm_exec_cached_plans
sys.dm_pdw_nodes_exec_connections sys.dm_exec_connections
sys.dm_pdw_nodes_exec_procedure_stats sys.dm_exec_procedure_stats
sys.dm_pdw_nodes_exec_query_memory_grants sys.dm_exec_query_memory_grants
sys.dm_pdw_nodes_exec_query_optimizer_info sys.dm_exec_query_optimizer_info
sys.dm_pdw_nodes_exec_query_resource_semaphores sys.dm_exec_query_resource_semaphores
sys.dm_pdw_nodes_exec_query_stats sys.dm_exec_query_stats
sys.dm_pdw_nodes_exec_requests sys.dm_exec_requests
sys.dm_pdw_nodes_exec_sessions sys.dm_exec_sessions
sys.dm_pdw_nodes_io_pending_io_requests sys.dm_io_pending_io_requests
sys.dm_pdw_nodes_io_virtual_file_stats sys.dm_io_virtual_file_stats
sys.dm_pdw_nodes_os_buffer_descriptors sys.dm_os_buffer_descriptors
sys.dm_pdw_nodes_os_child_instances sys.dm_os_child_instances
sys.dm_pdw_nodes_os_cluster_nodes sys.dm_os_cluster_nodes
sys.dm_pdw_nodes_os_dispatcher_pools sys.dm_os_dispatcher_pools
sys.dm_pdw_nodes_os_dispatchers Transact-SQL Documentation is not available.
sys.dm_pdw_nodes_os_hosts sys.dm_os_hosts
sys.dm_pdw_nodes_os_latch_stats sys.dm_os_latch_stats
sys.dm_pdw_nodes_os_memory_brokers sys.dm_os_memory_brokers
sys.dm_pdw_nodes_os_memory_cache_clock_hands sys.dm_os_memory_cache_clock_hands
sys.dm_pdw_nodes_os_memory_cache_counters sys.dm_os_memory_cache_counters
sys.dm_pdw_nodes_os_memory_cache_entries sys.dm_os_memory_cache_entries
sys.dm_pdw_nodes_os_memory_cache_hash_tables sys.dm_os_memory_cache_hash_tables
sys.dm_pdw_nodes_os_memory_clerks sys.dm_os_memory_clerks
sys.dm_pdw_nodes_os_memory_node_access_stats Transact-SQL Documentation is not available.
sys.dm_pdw_nodes_os_memory_nodes sys.dm_os_memory_nodes
sys.dm_pdw_nodes_os_memory_objects sys.dm_os_memory_objects
sys.dm_pdw_nodes_os_memory_pools sys.dm_os_memory_pools
sys.dm_pdw_nodes_os_nodes sys.dm_os_nodes
sys.dm_pdw_nodes_os_performance_counters sys.dm_os_performance_counters
sys.dm_pdw_nodes_os_process_memory sys.dm_os_process_memory
sys.dm_pdw_nodes_os_schedulers sys.dm_os_schedulers
sys.dm_pdw_nodes_os_spinlock_stats Transact-SQL Documentation is not available.
sys.dm_pdw_nodes_os_sys_info sys.dm_os_sys_info
sys.dm_pdw_nodes_os_sys_memory sys.dm_os_memory_nodes
sys.dm_pdw_nodes_os_tasks sys.dm_os_tasks
sys.dm_pdw_nodes_os_threads sys.dm_os_threads
sys.dm_pdw_nodes_os_virtual_address_dump sys.dm_os_virtual_address_dump
sys.dm_pdw_nodes_os_wait_stats sys.dm_os_wait_stats
sys.dm_pdw_nodes_os_waiting_tasks sys.dm_os_waiting_tasks
sys.dm_pdw_nodes_os_workers sys.dm_os_workers
sys.dm_pdw_nodes_tran_active_snapshot_database_transactions sys.dm_tran_active_snapshot_database_transactions
sys.dm_pdw_nodes_tran_active_transactions sys.dm_tran_active_transactions
sys.dm_pdw_nodes_tran_commit_table sys.dm_tran_commit_table
sys.dm_pdw_nodes_tran_current_snapshot sys.dm_tran_current_snapshot
sys.dm_pdw_nodes_tran_current_transaction sys.dm_tran_current_transaction
sys.dm_pdw_nodes_tran_database_transactions sys.dm_tran_database_transactions
sys.dm_pdw_nodes_tran_locks sys.dm_tran_locks
sys.dm_pdw_nodes_tran_session_transactions sys.dm_tran_session_transactions
sys.dm_pdw_nodes_tran_top_version_generators sys.dm_tran_top_version_generators

SQL Server 2016 PolyBase DMVs available in dedicated SQL pool

The following DMVs are applicable to dedicated SQL pool, but must be executed by connecting to the master database.

SQL Server INFORMATION_SCHEMA views

Next steps

For more reference information, see T-SQL statements in Synapse SQL, and T-SQL language elements in Synapse SQL.