sql server 2012 system views map · 2018. 1. 15. · sys.sql_logins principal_id...

1
Column Store PHYSICAL sys.dm_db_missing_index_group_stats group_handle sys.dm_db_missing_index_details index_handle sys.dm_db_missing_index_groups index_group_handle index_handle sys.dm_db_missing_index_columns() @handle sys.extended_procedures sys.all_views sys.all_objects sys.linked_logins server_id sys.servers server_id sys.remote_logins server__id sys.dm_cir_loaded_assemblies appdomain_address assembly_id sys.dm_cir_appdomains appdomain_address sys.assemblies assembly_id sys.dm_cir_tasks appdomain_address sos_task_address sys.assembly_references assembly_id referenced_assembly_id sys.assembly_modules assembly_id object_id sys.dm_broker_forwarded_messages conversation__id sys.transmission_queue conversation_handle sys.conversation_endpoints conversation_id conversation_handle conversation_group_id service_id service_contract_id sys.conversation_groups conversation_group_id service_id sys.services service_queue_id service_id sys.service_queues object_id sys.service_contracts service_contract_id sys.remote_service_bindings service_contract_id certificate_id sys.service_broker_endpoints sys.service_contract_usages service_contract_id service_id sys.dm_broker_activated_tasks queue_id spid sys.dm_broker_queue_monitors queue_id sys.service_message_types xml_collection_id message_type_id sid certificate_id thumbprint sys.service_queue_usages service_id sys.crypt_properties sys.certificates major_id thumbprint sys.openkeys key_id sys.symmetric_keys key_guid principal_id symmetric_key_id sys.key_encryptions thumbprint sys.asymmetric_keys assymetric_key_id principal_id sid thumbprint sys.master_key_passwords credential_id family_guid sys.credentials credential_id sys.database_permissions grantee_principal_id grantor_principal_id sys.database_principals default_schema_name principal_id sid sys.server_principals credential_id principal_id sid sys.server_role_members member_principal_id role_principal_id sys.server_permissions grantee_principal_id grantor_principal_id sys.sql_logins principal_id sys.endpoint_webmethods endpoint_id sys.endpoints endpoint_id sys.partition_range_values function_id parameter_id sys.partition_parameters function_id parameter_id system_type_id sys.partition_functions function_id sys.partition_schemes data_space_id function_id sys.spatial_indexes object_id index_id sys.spatial_index_tessellations object_id index_id sys.spatial_reference_systems sys.tables lob_data_space_id filestream_data_space_id sys.dm_db_index_operational_stats() index_id object_id partition_number sys.dm_db_index_physical_stats() index_id object_id partition_number sys.partitions sys.master_files sys.dm_db_file_space_usage hobt_id index_id object_id partition_id partition_number sys.xml_schema_namespaces xml_namespace_id xml_collection_id sys.key_constraints unique_index_id sys.default_constraints parent_column_id sys.assembly_types assembly_id sys.types rule_object_id default_object_id system_type_id user_type_id schema_id sys.identity_columns sys.plan_guides scope_object_id sys.synonyms sys.computed_columns sys.procedures object_id sys.sql_modules object_id execute_as_principal_id sys.foreign_keys key_index_id object_id referenced_object_id sys.xml_indexes using_xml_index_id index_id sys.views sys.objects object_id parent_object_id principal_id schema_id sys.check_constraints parent_column_id sys.columns column_id default_object_id object_id object_number rule_object_id system_type_id user_type_id xml_collection_id sys.indexes data_space_id index_id object_id sys.sql_dependencies referenced_minor_id referenced_major_id object_id column_id sys.dm_db_index_usage_stats object_id database_id index_id sys.foreign_key_columns constraint_column_id constraint_object_id parent_column_id parent_object_id referenced_column_id referenced_object_id sys.destination_data_spaces data_space_id partition_scheme_id data_space_id sys.dm_db_session_space_usage session_id sys.data_spaces sys.filegroups data_space_id database_id file_id file_id file_id file_id data_space_id database_id sys.allocation_units allocation_unit_id container_id data_space_id data_space_id sys.database_recovery_status database_id family_guid sys.dm_db_task_space_usage sys.dm_io_virtual_file_stats() sys.dm_filestream_file_io_requests sys.dm_filestream_file_io_handles sys.database_files request_id session_id database_id sys.dm_io_cluster_shared_drives sys.dm_io_pending_io_requests sys.dm_tran_locks lock_owner_address resource_associated_entity_id request_owner_id request_owner_guid request_session_id sys.dm_tran_active_transactions transaction_id transaction_uow sys.dm_tran_session_transactions session_id transaction_id sys.dm_tran_database_transactions transaction_id sys.dm_tran_transactions_snapshot transaction_sequence_num sys.dm_tran_active_snapshot_database_transactions transaction_id transaction_sequence_num sys.dm_tran_current_transaction transaction_sequence_num sys.dm_os_memory_cache_hash_tables sys.configurations cache_address sys.dm_os_memory_cache_counters cache_address sys.dm_os_memory_cache_clock_hands cache_address sys.dm_os_memory_cache_entries cache_address memory_object_address pool_id sys.dm_os_memory_clerks memory_clerk_address page_allocator_address sys.dm_os_memory_pools memory_pool_address sys.dm_os_memory_objects memory_object_address page_allocator_address sys.dm_os_schedulers scheduler_id sys.dm_os_tasks host_address request_id scheduler_id session_id task_address worker_address sys.dm_os_waiting_tasks blocking_task_address resource_address waiting_task_address sys.dm_exec_connections connection_id endpoint_id most_recent_sql_handle parent_connection_id session_id sys.dm_exec_sessions endpoint_id group_id session_id sys.dm_exec_cursors() session_id sql_handle sys.dm_exec_sql_text() @handle objectid sys.dm_exec_query_plan() object_id @handle sys.dm_exec_query_stats sql_handle plan_handle sys.dm_exec_requests connection_id group_id plan_handle request_id session_id sql_handle sys.dm_exec_plan_attributes() @handle sys.dm_exec_cached_plans plan_handle pool_id sys.schemas schema_id principal_id sys.xml_schema_collections xml_collection_id schema_id sys.index_columns object_id column_id index_id sys.stats_columns stats_id object_id column_id sys.server_trigger_events sys.server_events sys.server_triggers sys.stats object_id stats_id sys.triggers object_id parent_id sys.events object_id sys.trigger_events object_id sys.dm_resource_governor_resource_pools group_id pool_id sys.database_role_members member_ principal_id role_principal_id sys.service_contract_message_usages message_type_id service_contract_id sys.column_type_usages sys.column_xml_schema_collection_usages sys.extended_properties sys.internal_tables sys.parameter_type_usages sys.parameter_xml_schema_collection_usages sys.type_assembly_usages sys.all_columns sys.all_parameters sys.all_sql_modules sys.server_assembly_modules sys.server_sql_modules sys.system_columns sys.system_objects sys.system_parameters sys.system_sql_modules sys.system_views sys.fn_trace_geteventinfo() sys.fn_trace_getinfo() sys.fn_trace_getfilterinfo() sys.server_event_notifications sys.event_notifications sys.fn_trace_gettable() sys.trace_categories sys.trace_columns sys.trace_event_bindings sys.trace_events sys.trace_subclass_values sys.traces sys.login_token sys.user_token sys.securable_classes sys.server_audits sys.server_audit_specifications sys.server_audit_specifications_details sys.server_file_audits sys.database_audit_specifications sys.database_audit_specifications_details sys.system_components_surface_area_configuration sys.dm_exec_background_job_queue sys.dm_exec_background_job_queue_stats sys.dm_exec_cached_plan_dependent_objects() sys.dm_exec_procedure_stats sys.dm_exec_query_optimizer_info sys.dm_exec_text_query_plan() sys.dm_exec_trigger_stats sys.dm_exec_xml_handles() sys.messages sys.syslanguages sys.dm_os_buffer_descriptors sys.dm_os_child_instances sys.dm_os_cluster_nodes sys.dm_os_hosts sys.dm_os_latch_stats sys.dm_os_loaded_modules sys.dm_os_memory_nodes sys.dm_server_memory_dumps sys.dm_os_nodes sys.dm_os_performance_counters sys.dm_os_process_memory sys.dm_os_ring_buffers sys.dm_os_cluster_properties sys.dm_os_stacks sys.dm_os_server_diagnostics_log_configurations sys.dm_os_sys_info sys.dm_os_sys_memory sys.dm_server_registry sys.dm_server_services sys.dm_os_threads sys.dm_os_virtual_address_dump sys.dm_os_volume_stats sys.dm_os_wait_stats sys.dm_os_worker_local_storage sys.dm_os_workers sys.message_type_xml_schema_collection_usages sys.routes sys.dm_tran_current_snapshot sys.dm_tran_top_version_generators sys.dm_tran_version_store sys.dm_os_memory_brokers pool_id index_handle index_handle index_handle index_group_handle group_handle scope_object_id system_type_id object_id sys.plan_guides.scpe_type=1 and sys.objects.type in (P, RF, V, TR, FN, IF, TF, R) sys.columns.is_computed=1 sys.objects.type=‘R’ system_type_id, user_type_id default_object_id rule_object_id system_type_id user_type_id schema_id sys.indexes.type_desc=‘XML’ sys.column.is_identity=1 sys.objects.type=‘P’ object_id object_id referenced_object_id referenced_object_id, key_index_id using_xml_index_id primary sys.indexes.type_desc=‘XML’ AND sys.indexes.secondary_type is NULL secondary sys.xml_indexes.type_desc=‘XML’ AND sys.indexes.secondary_type is not NULL index_id object_id object_id object_id object_id parent_id object_id xml_collection_id system_type_id, user_type_id object_id sys.objects.type=‘V’ sys.objects.type=‘D’ ) V ,’ U ( n i e p y t . s t c e j b o . s y s object_id object_id, stats_id D N A ) V ,’ U ( n i e p y t . s t c e j b o . s y s sys.triggers.parent_class=1 object_id object_id object_id object_id object_id object_id object_id object_id object_id object_id object_id object_id object_id schema_id object_id object_id parent_object_id sys.objects.type in (C, D, F, PK, R, TR, UQ) object_id object_id object_id object_id object_id sys.objects.type=‘R’ sys.objects.type=‘D’ column_id column_id object_id rule_object_id default_object_id xml_collection_id parent_column_id column_id column_id system_type_id user_type_id sys.objects.type=‘C’ sys.objects.type=‘D’ parent_column_id assembly_id server_id server_id server_id server_id appdomain_address appdomain_address assembly_id assembly_id assembly_id appdomain_address appdomain_address xml_collection_id lob_data_space_id object_id, index_id, partition_number sys.crypt_properties.class=1 D N A ) K P ,’ Q U ( n i e p y t . s t c e j b o . s y s sys.key_constraints.parent_object_id is not null sys.indexes.is_unique=1 sys.indexes.type=6 unique_index_id index_id index_id, object_id object_id object_id, index_id object_id, index_id object_id, index_id, partition_number object_id, index_id sys.objects.type in (‘U’) AND sys.indexes.type_desc <> ‘XML’ ) V ,’ U ( n i e p y t . s t c e j b o . s y s column_id, object_id object_id, column_id object_id, column_id object_id, column_id object_id, column_id column_id, object_id referenced_minor_id, referenced_major_id object_id object_id data_space_id object_id, index_id object_id, index_id ) F T ,’ V ,’ U ( n i e p y t . s t c e j b o . s y s object_id object_id object_id column_id object_id, index_id column_id object_id, stats_id xml_collection_id xml_collection_id xml_collection_id xml_collection_id schema_id schema_id schema_id schema_id principal_id constraint_object_id, constraint_column_id referenced_object_id, referenced_column_id parent_object_id, parent_column_id sys.objects.type=‘U’ sys.dm_tran_locks.request_type=‘OBJECT’ and sys.dm_tran_locks.database_id=db_id() session_id session_id, request_id sql_handle session_id plan_handle plan_handle @handle @handle @handle plan_handle plan_handle plan_handle plan_handle plan_handle plan_handle plan_handle connection_id session_id, request_id data_space_id data_space_id data_space_id sys.allocation_unit.type in (1, 3) sys.allocation_unit.type=2 object_id, index_id partition_number object_id, index_id partition_scheme_id partition_id hobt_id hobt_id object_id, index_id partition_number object_id, index_id partition_number referenced assembly referenced assembly assembly_id assembly_id assembly_id assembly_id assembly_id assembly_id referenced_assembly_id, assembly_id assembly_id object_id object_id file_id sos_task_address system_type_id function_id function_id, parameter_id function_id, parameter_id function_id function_id object_id hobt_id hobt_id function_id data_space_id database_id data_space_id data_space_id data_space_id data_space_id data_space_id container_id container_id data_space_id session_id, request_id data_space_id object_id @handle @handle @handle @handle @handle @handle @handle sql_handle object_id plan_handle sql_handle session_id session_id session_id session_id session_id session_id session_id session_id session_id endpoint_id session_id database_id family_guid allocation_unit_id endpoint_id endpoint_id endpoint_id endpoint_id sys.endpoints.type=1 assembly_id group_id group_id group_id group_id group_id group_id group_id database_id database_id group_database_id listener_id sys.dm_tran_locks.request_type in d n a ) y e K ,’ D I R , e g a P ,’ T B O H ( sys.dm_tran_locks.database_id=db_id() sys.dm_tran_locks.request_type=‘ALLOCATION UNIT’ and sys.dm_tran_locks.database_id=db_id() database_id database_id owner_sid source_database_id request_session_id resource_associated_entity_id connection_id endpoint_id connection_id session_id most_recent_sql_handle connection_id parent_connection_id page_allocator_address memory_object_ address memory_pool_address memory_clerk_address page_allocator_address memory_object_ address memory_clerk_address cache_address scheduler_id scheduler_id session_id, request_id task_address task_address waiting_task_address blocking_task_address resource_address session_id transaction_id transaction_id transaction_id transaction_id transaction_id transaction_id, transaction_uow request_owner_id request_owner_guid lock_owner_address sys.dm_tran_locks.request_owner_type=‘TRANSACTION’ resource_associated_entity_id resource_associated_entity_id transaction_sequence_num transaction_sequence_num transaction_sequence_num transaction_sequence_num principal_id principal_id principal_id principal_id principal_id principal_id sid sid grantee_principal_id grantee_principal_id credential_id credential_id credential_id credential_id sys.server_principals.type=‘R’ principal_id principal_id member_principal_id role_principal_id family_guid grantee_principal_id, grantor_principal_id connection_id conversation_id conversation_id conversation_handle conversation_handle conversation_group_id conversation_group_id service_id service_id service_id service_id service_id service_id service_contract_id object_id object_id object_id service_contract_id service_contract_id service_contract_id service_contract_id service_contract_id service_contract_id message_type_id queue_id queue_id queue_id queue_id spid service_contract_id service_id sys.crypt_properties.class=5 service_queue_id sys.crypt_properties.crypt_type=SPVA major_id thumbprint thumbprint thumbprint thumbprint thumbprint xml_collection_id message_type_id thumbprint thumbprint sys.crypt_properties.crypt_type=CPVO member_principal_id role_principal_id key_id symmetric_key_id thumbprint thumbprint key_guid principal_id sys.database_role_members=‘R’ transaction_id transaction_id transaction_id cache_address cache_address cache_address cache_address cache_address cache_address object_id table_id unique_index_id data_space_id sys.fulltext_indexes data_space_id object_id unique_index_id sys.fulltext_index_fragments table_id index_id data_space_id object_id object_id sys.dm_xe_session_targets event_session_address target_name target_package_guid sys.dm_xe_packages guid sys.dm_xe_session_events event_session_address event_name event_package_guid sys.dm_xe_objects name package_guid sys.dm_xe_object_columns column_id object_name object_package_guid type_name type_package_guid sys.dm_xe_map_values name object_package_guid sys.dm_xe_session_object_columns event_session_address column_id object_name object_package_guid sys.dm_xe_session_event_actions action_name action_package_guid event_name event_package_guid sys.dm_xe_sessions address guid package_guid name, package_guid target_name, target_package_guid name, package_guid name, package_guid event_session_address address event_session_address address address event_session_address type_name, type_package_guid column_id, object_name, object_package_guid name, object_package_guid column_id, object_name, object_package_guid event_name, event_package_guid event_name, event_package_guid event_name, event_package_guid ) ,’ T F ,’ S F ,’ C P ,’ F A , A T ( n i e p y t . s t c e j b o . s y s @handle service_id handle_id filestream_transaction_id group_id group_id group_id group_id group_id pool_id pool_id pool_id pool_id pool_id pool_id pool_id group_id group_id sys.dm_exec_query_memory_grants group_id pool_id sys.dm_exec_query_resource_semaphores pool_id pool_id group_id pool_id pool_id pool_id pool_id sys.change_tracking_databases database_id database_id database_id database_id database_id database_id database_id object_id object_id object_id handle_id transaction_id sys.dm_audit_actions sys.dm_audit_class_type_map sys.dm_server_audit_status handle_id handle_id filestream_transaction_id object_name, object_package_guid object_id action_name, action_package_guid name, package_guid Trace and Eventing Linked Servers Common Language Runtime Service Broker Security Endpoints Partitioning Spatial Databases and Storage Execution Environment Full Text Search Extended Events Server-Wide Information Transaction Information Resource Governor Objects, Types and Indexes System Views object_id sys.change_tracking_tables database_id sys.dm_filestream_non_transacted_handles database_id sys.database_filestream_options database_id owner_sid source_database_id sys.databases object_id sys.filetables object_id, index_id partition_number index_id object_id partition_number sys.dm_db_partition_stats sys.fulltext_semantic_languages hobt_id segment_id segment_id segment_id segment_id hobt_id sys.column_store_segments sys.column_store_dictionaries hobt_id segment_id hobt_id segment_id Availability Groups AlwaysOn Availability Replicas sys.availability_group_listener_ip_addresses sys.dm_hadr_availability_group_states sys.availability_databases_cluster sys.availability_groups sys.availability_groups_cluster group_id sys.dm_hadr_availability_replica_cluster_nodes sys.dm_hadr_availability_replica_cluster_states sys.dm_hadr_availability_replica_states group_database_id group_id replica_id group_id sys.availability_replicas Availability Databases LOGICAL Database Replicas sys.availability_group_listeners sys.soap_endpoints sys.http_endpoints sys.tcp_endpoints sys.via_endpoints sys.dm_clr_properties sys.dm_broker_connections peer_certificate_id connection_id sys.module_assembly_usages sys.assembly_files assembly_id file_id NOTE: NOT ALL OBJECTS OR POSSIBLE RELATIONSHIPS ARE SHOWN ON THIS POSTER. Object Type Dynamic Management View Dynamic Management Function () System Administration Catalog View Scope Server scope objects have a shaded background column list Database scope objects have a white background column list Relationship Type Referential Integrity 0..many 0..1 Dependency 1 1..many Defines a constraint between objects Inheritance Base Object Derived Object All inheritance relationships are 1 to 0..1 cardinality Function Function Call © 2013 Microsoft Corporation. All rights reserved. sys.parameters object_id system_type_id user_type_id xml_collection_id sys.dm_resource_governor_workload_groups group_id sys.dm_resource_governor_resource_pools_affinity group_id listener_id listener_id sys.dm_hadr_database_replica_cluster_states sys.dm_hadr_database_replica_states group_id replica_id group_database_id database_id

Upload: others

Post on 16-Feb-2021

7 views

Category:

Documents


0 download

TRANSCRIPT

  • ColumnStore

    PHYSICAL

    sys.dm_db_missing_index_group_stats

    group_handle

    sys.dm_db_missing_index_details

    index_handle

    sys.dm_db_missing_index_groups

    index_group_handle index_handle

    sys.dm_db_missing_index_columns()

    @handle

    sys.extended_procedures

    sys.all_views

    sys.all_objects

    sys.linked_logins

    server_id

    sys.servers

    server_id

    sys.remote_logins

    server__id

    sys.dm_cir_loaded_assemblies

    appdomain_address assembly_id

    sys.dm_cir_appdomains

    appdomain_address

    sys.assemblies

    assembly_id

    sys.dm_cir_tasks

    appdomain_address sos_task_address

    sys.assembly_references

    assembly_id referenced_assembly_id

    sys.assembly_modules

    assembly_id object_id

    sys.dm_broker_forwarded_messages

    conversation__idsys.transmission_queue

    conversation_handle

    sys.conversation_endpoints

    conversation_id conversation_handle conversation_group_id service_id service_contract_id

    sys.conversation_groups

    conversation_group_id service_id

    sys.services

    service_queue_id service_id

    sys.service_queues

    object_id

    sys.service_contracts

    service_contract_id

    sys.remote_service_bindings

    service_contract_id

    certificate_id

    sys.service_broker_endpoints

    sys.service_contract_usages

    service_contract_id service_id

    sys.dm_broker_activated_tasks

    queue_id spid

    sys.dm_broker_queue_monitors

    queue_id

    sys.service_message_types

    xml_collection_id message_type_id

    sid certificate_id

    thumbprint

    sys.service_queue_usages

    service_id

    sys.crypt_properties

    sys.certificates

    major_id thumbprint sys.openkeys

    key_id

    sys.symmetric_keys

    key_guid principal_id symmetric_key_id

    sys.key_encryptions

    thumbprint

    sys.asymmetric_keys

    assymetric_key_id principal_id sid thumbprint

    sys.master_key_passwords

    credential_id family_guid

    sys.credentials

    credential_idsys.database_permissions

    grantee_principal_id grantor_principal_id

    sys.database_principals

    default_schema_name principal_id sid

    sys.server_principals

    credential_id principal_id sid

    sys.server_role_members

    member_principal_id role_principal_id

    sys.server_permissions

    grantee_principal_id grantor_principal_id

    sys.sql_logins

    principal_id

    sys.endpoint_webmethods

    endpoint_idsys.endpoints

    endpoint_id

    sys.partition_range_values

    function_idparameter_id

    sys.partition_parameters

    function_id parameter_id system_type_id sys.partition_functions

    function_id

    sys.partition_schemes

    data_space_id function_id

    sys.spatial_indexes

    object_idindex_id

    sys.spatial_index_tessellations

    object_idindex_id

    sys.spatial_reference_systems

    sys.tables

    lob_data_space_id filestream_data_space_id

    sys.dm_db_index_operational_stats()

    index_id object_id partition_number

    sys.dm_db_index_physical_stats()

    index_id object_id partition_number

    sys.partitions

    sys.master_files

    sys.dm_db_file_space_usage

    hobt_id index_id object_id partition_id partition_number

    sys.xml_schema_namespaces

    xml_namespace_id xml_collection_id

    sys.key_constraints

    unique_index_id

    sys.default_constraints

    parent_column_id

    sys.assembly_types

    assembly_id

    sys.types

    rule_object_id default_object_id system_type_id user_type_id schema_id

    sys.identity_columns

    sys.plan_guides

    scope_object_id

    sys.synonyms

    sys.computed_columns

    sys.procedures

    object_id

    sys.sql_modules

    object_id execute_as_principal_id

    sys.foreign_keys

    key_index_id object_id referenced_object_id

    sys.xml_indexes

    using_xml_index_id index_id

    sys.views

    sys.objects

    object_id

    parent_object_id

    principal_id

    schema_id

    sys.check_constraints

    parent_column_id

    sys.columns

    column_id default_object_id object_id object_number rule_object_id system_type_id user_type_id xml_collection_id

    sys.indexes

    data_space_id index_id object_id

    sys.sql_dependencies

    referenced_minor_id

    referenced_major_id

    object_id

    column_id

    sys.dm_db_index_usage_stats

    object_id database_id index_id

    sys.foreign_key_columns

    constraint_column_id constraint_object_id parent_column_id parent_object_id referenced_column_id referenced_object_id

    sys.destination_data_spaces

    data_space_id partition_scheme_id

    data_space_id

    sys.dm_db_session_space_usage

    session_idsys.data_spaces

    sys.filegroups

    data_space_id

    database_id file_id

    file_id

    file_id

    file_id

    data_space_id

    database_id

    sys.allocation_units

    allocation_unit_id container_id data_space_id

    data_space_id

    sys.database_recovery_status

    database_id family_guid

    sys.dm_db_task_space_usage

    sys.dm_io_virtual_file_stats()

    sys.dm_filestream_file_io_requests

    sys.dm_filestream_file_io_handles

    sys.database_files

    request_id session_id

    database_id sys.dm_io_cluster_shared_drives

    sys.dm_io_pending_io_requests

    sys.dm_tran_locks

    lock_owner_address resource_associated_entity_id request_owner_id request_owner_guid request_session_id

    sys.dm_tran_active_transactions

    transaction_id transaction_uow

    sys.dm_tran_session_transactions

    session_id transaction_id

    sys.dm_tran_database_transactions

    transaction_id

    sys.dm_tran_transactions_snapshot

    transaction_sequence_num

    sys.dm_tran_active_snapshot_database_transactions

    transaction_id transaction_sequence_num

    sys.dm_tran_current_transaction

    transaction_sequence_num

    sys.dm_os_memory_cache_hash_tables

    sys.configurations

    cache_address

    sys.dm_os_memory_cache_counters

    cache_address

    sys.dm_os_memory_cache_clock_hands

    cache_address

    sys.dm_os_memory_cache_entries

    cache_address memory_object_address pool_id

    sys.dm_os_memory_clerks

    memory_clerk_address page_allocator_address

    sys.dm_os_memory_pools

    memory_pool_address

    sys.dm_os_memory_objects

    memory_object_address page_allocator_address

    sys.dm_os_schedulers

    scheduler_id

    sys.dm_os_tasks

    host_address request_id scheduler_id session_id task_address worker_address

    sys.dm_os_waiting_tasks

    blocking_task_address resource_address waiting_task_address

    sys.dm_exec_connections

    connection_id endpoint_id most_recent_sql_handle parent_connection_id session_id

    sys.dm_exec_sessions

    endpoint_id group_id session_id

    sys.dm_exec_cursors()

    session_id sql_handle

    sys.dm_exec_sql_text()

    @handle objectid sys.dm_exec_query_plan()

    object_id @handle

    sys.dm_exec_query_stats

    sql_handle plan_handle

    sys.dm_exec_requests

    connection_id group_id plan_handle request_id session_id sql_handle

    sys.dm_exec_plan_attributes()

    @handle

    sys.dm_exec_cached_plans

    plan_handle pool_id

    sys.schemas

    schema_id principal_id

    sys.xml_schema_collections

    xml_collection_id schema_id

    sys.index_columns

    object_id column_id index_id

    sys.stats_columns

    stats_id object_id column_id

    sys.server_trigger_events

    sys.server_events sys.server_triggers

    sys.stats

    object_id stats_id

    sys.triggers

    object_id parent_id

    sys.events

    object_id

    sys.trigger_events

    object_id

    sys.dm_resource_governor_resource_pools

    group_id pool_id

    sys.database_role_members

    member_ principal_id role_principal_id

    sys.service_contract_message_usages

    message_type_id service_contract_id

    sys.column_type_usages

    sys.column_xml_schema_collection_usages

    sys.extended_properties

    sys.internal_tables

    sys.parameter_type_usages

    sys.parameter_xml_schema_collection_usages

    sys.type_assembly_usages

    sys.all_columns

    sys.all_parameters

    sys.all_sql_modules

    sys.server_assembly_modules

    sys.server_sql_modules

    sys.system_columns

    sys.system_objects

    sys.system_parameters

    sys.system_sql_modules

    sys.system_views

    sys.fn_trace_geteventinfo()

    sys.fn_trace_getinfo()

    sys.fn_trace_getfilterinfo()

    sys.server_event_notifications

    sys.event_notifications

    sys.fn_trace_gettable()

    sys.trace_categories

    sys.trace_columns

    sys.trace_event_bindings

    sys.trace_events

    sys.trace_subclass_values

    sys.traces

    sys.login_token

    sys.user_token

    sys.securable_classes

    sys.server_audits

    sys.server_audit_specifications

    sys.server_audit_specifications_details

    sys.server_file_audits

    sys.database_audit_specifications

    sys.database_audit_specifications_details

    sys.system_components_surface_area_configuration

    sys.dm_exec_background_job_queue

    sys.dm_exec_background_job_queue_stats

    sys.dm_exec_cached_plan_dependent_objects()

    sys.dm_exec_procedure_stats

    sys.dm_exec_query_optimizer_info

    sys.dm_exec_text_query_plan()

    sys.dm_exec_trigger_stats

    sys.dm_exec_xml_handles()

    sys.messages

    sys.syslanguages

    sys.dm_os_buffer_descriptors

    sys.dm_os_child_instances

    sys.dm_os_cluster_nodes

    sys.dm_os_hosts

    sys.dm_os_latch_stats

    sys.dm_os_loaded_modules

    sys.dm_os_memory_nodes

    sys.dm_server_memory_dumps

    sys.dm_os_nodes

    sys.dm_os_performance_counters

    sys.dm_os_process_memory

    sys.dm_os_ring_buffers

    sys.dm_os_cluster_properties

    sys.dm_os_stacks

    sys.dm_os_server_diagnostics_log_configurations

    sys.dm_os_sys_info

    sys.dm_os_sys_memory

    sys.dm_server_registry

    sys.dm_server_services

    sys.dm_os_threads

    sys.dm_os_virtual_address_dump

    sys.dm_os_volume_stats

    sys.dm_os_wait_stats

    sys.dm_os_worker_local_storage

    sys.dm_os_workers

    sys.message_type_xml_schema_collection_usages

    sys.routes

    sys.dm_tran_current_snapshot

    sys.dm_tran_top_version_generators

    sys.dm_tran_version_store

    sys.dm_os_memory_brokers

    pool_id

    index_handle

    index_handle

    index_handle

    index_group_handle

    group_handle

    scope_object_id

    system_type_id

    object_id

    sys.plan_guides.scpe_type=1 and sys.objects.type in (P, RF, V, TR, FN, IF, TF, R)

    sys.columns.is_computed=1

    sys.objects.type=‘R’

    system_type_id, user_type_id

    default_object_id

    rule_object_id

    system_type_id

    user_type_id

    schema_id

    sys.indexes.type_desc=‘XML’

    sys.column.is_identity=1

    sys.objects.type=‘P’

    object_id

    object_id

    refe

    renc

    ed_o

    bjec

    t_id

    refe

    renc

    ed_o

    bjec

    t_id

    , key

    _inde

    x_id

    using_xml_index_id

    primarysys.indexes.type_desc=‘XML’ ANDsys.indexes.secondary_type is NULL

    secondarysys.xml_indexes.type_desc=‘XML’ ANDsys.indexes.secondary_type is not NULL

    index_id

    object_id

    object_id

    object_id

    object_id

    parent_id

    object_id

    xml_collection_idsystem_type_id, user_type_id

    object_idsys.objects.type=‘V’

    sys.objects.type=‘D’

    )’V‘ ,’U‘( ni epyt.stcejbo.sys

    object_id

    object_id, stats_id

    DNA )’V‘ ,’U‘( ni epyt.stcejbo.syssys.triggers.parent_class=1

    object_id

    object_id

    obje

    ct_id

    obje

    ct_id

    obje

    ct_id

    obje

    ct_id

    obje

    ct_id

    obje

    ct_id

    object_id

    object_idobject_idobject_id

    object_idschema_id

    object_id

    object_idparent_object_id

    sys.objects.type in (C, D, F, PK, R, TR, UQ)object_id

    object_id

    object_id

    object_id

    object_id

    sys.objects.type=‘R’

    sys.objects.type=‘D’

    column_idcolumn_id

    object_id

    rule_object_id

    default_object_id

    xml_collection_id

    parent_column_id

    column_id

    column_id

    system_type_id

    user_type_id

    sys.objects.type=‘C’

    sys.objects.type=‘D’

    parent_column_id

    assembly_id

    server_id server_id server_id server_id

    appdomain_address appdomain_address

    assembly_id

    assembly_id assembly_id

    appdomain_address

    appdomain_address

    xml_collection_id

    lob_data_space_id

    object_id, index_id, partition_number

    sys.crypt_properties.class=1

    DNA )’KP‘ ,’QU‘( ni epyt.stcejbo.syssys.key_constraints.parent_object_id is not null

    sys.indexes.is_unique=1

    sys.indexes.type=6

    unique_index_idindex_id

    index_id, object_id

    object_id

    object_id, index_id

    object_id, index_id

    object_id, index_id, partition_number

    obje

    ct_id

    , ind

    ex_id

    sys.objects.type in (‘U’) ANDsys.indexes.type_desc ‘XML’

    )’V‘ ,’U‘( ni epyt.stcejbo.sys

    colu

    mn_

    id, o

    bjec

    t_id

    obje

    ct_id

    , col

    umn_

    id

    obje

    ct_id

    , col

    umn_

    id

    obje

    ct_id

    , col

    umn_

    id

    obje

    ct_id

    , col

    umn_

    id

    column_id, object_id

    referenced_minor_id, referenced_major_id

    object_idobject_id

    data_space_id

    object_id, index_id

    object_id, index_id

    )’FT‘ ,’V‘ ,’

    U‘( ni epyt.stcejbo.sys

    object_id

    obje

    ct_id

    obje

    ct_id

    column_id

    object_id, index_id

    column_id

    object_id, stats_id

    xml_collection_id

    xml_collection_id

    xml_collection_id

    xml_collection_id

    schema_id

    schema_idschema_id

    schema_id

    principal_id

    constraint_object_id, constraint_column_id

    referenced_object_id, referenced_column_id

    parent_object_id, parent_column_id

    sys.objects.type=‘U’

    sys.dm_tran_locks.request_type=‘OBJECT’ andsys.dm_tran_locks.database_id=db_id()

    session_id

    session_id, request_id

    sql_handle session_id

    plan_handle

    plan_handle

    @handle

    @handle

    @handle

    plan_handle

    plan_handle

    plan_handle

    plan_handle

    plan

    _han

    dle

    plan

    _han

    dle

    plan

    _han

    dle

    conn

    ectio

    n_id

    sess

    ion_

    id, r

    eque

    st_id

    data_space_iddata_space_id

    data_space_id

    sys.allocation_unit.type in (1, 3)

    sys.allocation_unit.type=2

    obje

    ct_id

    , ind

    ex_id

    part

    ition

    _num

    ber

    obje

    ct_id

    , ind

    ex_id

    partition_scheme_id

    partition_id

    hobt_id

    hobt_id

    object_id, index_idpartition_number

    object_id, index_id

    partition_number

    referenced assembly

    referenced assembly

    assembly_id

    assembly_id

    assembly_id

    asse

    mbl

    y_id

    asse

    mbl

    y_id

    asse

    mbl

    y_id

    referenced_assembly_id, assembly_id

    assembly_id

    object_id

    object_id

    file_id

    sos_task_address

    system_type_id

    function_idfunction_id, parameter_id

    function_id, parameter_id

    function_id

    function_id

    obje

    ct_id

    hobt_id

    hobt_id

    function_id

    data_space_id

    database_id

    data_space_id

    data_space_id

    data_space_id

    data_space_id

    data_space_id

    cont

    aine

    r_id

    cont

    aine

    r_id

    data_space_id

    sess

    ion_

    id, r

    eque

    st_id

    data_space_id

    object_id

    @handle@handle

    @handle @handle

    @handle@handle

    @handle

    sql_handle

    object_id

    plan_handle

    sql_handle

    session_id

    session_id

    session_idsession_id

    session_id

    session_idsession_id

    sess

    ion_

    id

    sess

    ion_

    id

    endp

    oint

    _id

    session_id

    database_id

    family_guid

    allocation_unit_id

    endpoint_id

    endpoint_id endpoint_id

    endpoint_idsys.endpoints.type=1

    assembly_id

    group_id

    group_id

    group_id

    group_id

    group_idgroup_id

    group_id

    database_id

    database_id

    group_database_id

    listener_id

    sys.dm_tran_locks.request_type indna )’yeK‘ ,’DIR‘ ,”egaP‘ ,’TBOH‘(

    sys.dm_tran_locks.database_id=db_id()

    sys.dm_tran_locks.request_type=‘ALLOCATION UNIT’and sys.dm_tran_locks.database_id=db_id()

    database_id

    database_id

    owner_sid

    sour

    ce_d

    atab

    ase_

    id

    requ

    est_

    sess

    ion_

    id

    reso

    urce

    _ass

    ocia

    ted_

    entit

    y_id

    connection_id

    endpoint_id

    connection_id

    session_id

    most_recent_sql_handle

    connection_id

    parent_connection_id

    page_allocator_address

    memory_object_ address

    memory_pool_address

    memory_clerk_addresspage

    _allo

    cato

    r_ad

    dres

    s

    memory_object_ address

    memory_clerk_addresscache_address

    scheduler_id

    scheduler_id

    session_id, request_id

    task_address

    task_address

    waiting_task_address

    blocking_task_address

    resource_address

    session_id

    transaction_id

    transaction_id

    transaction_id

    transaction_id

    transaction_id

    transaction_id,transaction_uow

    request_owner_idrequest_owner_guid

    lock_owner_address

    sys.dm_tran_locks.request_owner_type=‘TRANSACTION’

    resource_associated_entity_id

    resource_associated_entity_id

    transaction_sequence_num

    transaction_sequence_num

    transaction_sequence_num

    transaction_sequence_num

    principal_id

    principal_id

    principal_id

    principal_idprincipal_id

    principal_id

    sidsid

    grantee_principal_id grantee_principal_idcredential_id

    credential_id

    credential_idcredential_id

    sys.server_principals.type=‘R’

    principal_id

    principal_id

    member_principal_idrole_principal_id

    family_guid

    grantee_principal_id,grantor_principal_id

    connection_id

    conversation_id

    conversation_id

    conversation_handle

    conversation_handle

    conversation_group_id

    conversation_group_idservice_id

    service_id

    service_id

    service_id service_id

    service_id

    service_contract_id

    object_id

    object_id

    object_id

    service_contract_id

    service_contract_id

    service_contract_id

    service_contract_id

    service_contract_id

    service_contract_id

    message_type_id

    queue_id

    queue_id

    queue_id

    queue_id

    spid

    service_contract_id

    service_id

    sys.crypt_properties.class=5

    service_queue_id

    sys.crypt_properties.crypt_type=SPVA

    major_id

    thumbprint

    thumbprint

    thumbprint thumbprint

    thumbprint

    xml_collection_idmessage_type_id

    thum

    bprin

    t

    thum

    bprin

    t

    sys.crypt_properties.crypt_type=CPVO

    member_principal_id

    role_principal_id

    key_id

    symmetric_key_id

    thumbprint

    thumbprint

    key_guid

    principal_id

    sys.database_role_members=‘R’

    transaction_id

    transaction_id

    transaction_id

    cache_addresscache_address

    cache_address

    cache_address

    cache_address

    cache_address

    object_id

    table_id

    unique_index_id data_space_id

    sys.fulltext_indexes

    data_space_id object_id unique_index_id

    sys.fulltext_index_fragments

    table_id

    index_id

    data_space_id

    obje

    ct_id

    obje

    ct_id

    sys.dm_xe_session_targets

    event_session_address target_name target_package_guid

    sys.dm_xe_packages

    guid

    sys.dm_xe_session_events

    event_session_address event_name event_package_guid

    sys.dm_xe_objects

    name package_guid

    sys.dm_xe_object_columns

    column_id object_name object_package_guid type_name type_package_guid

    sys.dm_xe_map_values

    name object_package_guid

    sys.dm_xe_session_object_columns

    event_session_address column_id object_name object_package_guid

    sys.dm_xe_session_event_actions

    action_name action_package_guid event_name event_package_guid

    sys.dm_xe_sessions

    address

    guid

    package_guidname,package_guid

    target_name,target_package_guid

    name, package_guidname, package_guid

    event_session_address

    address

    event_session_address

    addressaddress

    event_session_address

    type

    _nam

    e, ty

    pe_p

    acka

    ge_g

    uid

    colu

    mn_

    id, o

    bjec

    t_na

    me,

    ob

    ject

    _pac

    kage

    _gui

    d

    nam

    e, o

    bjec

    t_pa

    ckag

    e_gu

    id

    column_id, object_name, object_package_guid

    event_name,event_package_guid

    event_name, event_package_guid

    event_name, event_package_guid

    ),’TF‘ ,’SF‘ ,’CP‘ ,’FA‘ ,’AT‘( ni epyt.stcejbo.sys

    @handle

    service_id

    handle_id filestream_transaction_id

    group_id

    group_id

    group_id

    group_id

    group_id

    pool_id

    pool_id

    pool_id

    pool_id

    pool_id

    pool_id

    pool_id

    group_id

    group_id

    sys.dm_exec_query_memory_grants

    group_id pool_id

    sys.dm_exec_query_resource_semaphores

    pool_id

    pool_id

    group_id

    pool_id

    pool_id

    pool_id

    pool_id

    sys.change_tracking_databases

    database_id

    database_id

    database_id

    database_id

    database_id

    database_id

    database_id

    object_id

    object_id

    object_id

    handle_id

    transaction_id

    sys.dm_audit_actions

    sys.dm_audit_class_type_map

    sys.dm_server_audit_status

    handle_id

    handle_id

    filestream_transaction_id

    object_name, object_package_guid

    object_id

    action_name,action_package_guid

    nam

    e, p

    acka

    ge_g

    uid

    Trace and Eventing

    Linked Servers

    CommonLanguageRuntime

    Service Broker

    Security

    Endpoints

    Partitioning

    Spatial

    Databasesand Storage

    ExecutionEnvironment

    Full Text Search

    Extended EventsServer-WideInformation

    Transaction Information

    Resource Governor

    Objects, Types and Indexes

    System Views

    object_id

    sys.change_tracking_tables

    database_id

    sys.dm_filestream_non_transacted_handles

    database_id

    sys.database_filestream_options

    database_id owner_sid source_database_id

    sys.databases

    object_id

    sys.filetables

    object_id, index_id

    partition_number

    index_idobject_idpartition_number

    sys.dm_db_partition_stats

    sys.fulltext_semantic_languages

    hobt_id

    segment_idsegment_id

    segment_id

    segment_id

    hobt_id

    sys.column_store_segments

    sys.column_store_dictionaries

    hobt_idsegment_id

    hobt_idsegment_id

    Availability Groups

    AlwaysOn

    Availability Replicas

    sys.availability_group_listener_ip_addresses

    sys.dm_hadr_availability_group_states

    sys.availability_databases_cluster

    sys.availability_groupssys.availability_groups_cluster

    group_id

    sys.dm_hadr_availability_replica_cluster_nodessys.dm_hadr_availability_replica_cluster_states

    sys.dm_hadr_availability_replica_states

    group_database_idgroup_id

    replica_idgroup_id

    sys.availability_replicas

    Availability Databases

    LOGICAL

    Database Replicas

    sys.availability_group_listeners

    sys.soap_endpoints

    sys.http_endpoints

    sys.tcp_endpoints

    sys.via_endpoints

    sys.dm_clr_properties

    sys.dm_broker_connections

    peer_certificate_idconnection_id

    sys.module_assembly_usages

    sys.assembly_files

    assembly_idfile_id

    NOTE: NOT ALL OBJECTS OR POSSIBLE RELATIONSHIPS ARE SHOWN ON THIS POSTER.

    Object TypeDynamic Management View

    Dynamic Management Function ()

    System Administration

    Catalog View

    Scope

    Server scope objects have a shadedbackground column list

    Database scope objects have a whitebackground column list

    Relationship Type

    Referential Integrity

    0..many 0..1

    Dependency

    1 1..many

    Defines a constraint between objects

    Inheritance

    Base Object Derived Object

    All inheritance relationships are 1 to 0..1 cardinality

    Function

    Function Call

    © 2013 Microsoft Corporation. All rights reserved.

    sys.parameters

    object_id system_type_id user_type_id xml_collection_id

    sys.dm_resource_governor_workload_groups

    group_id

    sys.dm_resource_governor_resource_pools_affinity

    group_id listener_id listener_id

    sys.dm_hadr_database_replica_cluster_statessys.dm_hadr_database_replica_states

    group_idreplica_idgroup_database_iddatabase_id