SQL Server 2008 R2 System Views Map
Upcoming SlideShare
Loading in...5
×
 

SQL Server 2008 R2 System Views Map

on

  • 478 views

 

Statistics

Views

Total Views
478
Views on SlideShare
478
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

SQL Server 2008 R2 System Views Map SQL Server 2008 R2 System Views Map Document Transcript

  • ScopeObject Type Relationship TypeServer scope objects have a shadedbackground column listDynamic Management View Dynamic Management Function ()Catalog View System AdministrationDatabase scope objects have a whitebackground column listReferential Integrity Dependency InheritanceBase Object Derived Object FunctionFunction Call0..many 0..1 1 1..manyAll inheritance relationships are 1 to 0..1 cardinalityNOTE: NOT ALL OBJECTS OR POSSIBLE RELATIONSHIPS ARE SHOWN ON THIS POSTER.Defines a constraint between objectssys.dm_db_missing_index_group_statsgroup_handlesys.dm_db_missing_index_detailsindex_handlesys.dm_db_missing_index_groupsindex_group_handleindex_handlesys.dm_db_missing_index_columns()@handlesys.extended_proceduressys.all_viewssys.all_objectssys.linked_loginsserver_idsys.serversserver_idsys.remote_loginsserver_idsys.dm_cir_loaded_assembliesappdomain_addressassembly_idsys.dm_cir_appdomainsappdomain_addresssys.assembliesassembly_idsys.dm_cir_tasksappdomain_addresssos_task_addresssys.assembly_referencesassembly_idreferenced_assembly_idsys.assembly_modulesassembly_idobject_idsys.assembly_filesassembly_idfile_idsys.soap_endpointssys.http_endpointssys.tcp_endpointssys.via_endpointssys.dm_db_mirroring_connectionconnection_idpeer_certificate_idsys.database_mirroring_endpointscertificate_idsys.dm_broker_forwarded_messagesconversation_idsys.transmission_queueconversation_handlesys.conversation_endpointsconversation_idconversation_handleconversation_group_idservice_idservice_contract_idsys.conversation_groupsconversation_group_idservice_idsys.servicesservice_queue_idservice_idsys.service_queuesobject_idsys.service_contractsservice_contract_idsys.remote_service_bindingsservice_contract_idsys.service_broker_endpointscertificate_idsys.service_contract_usagesservice_contract_idservice_idsys.dm_broker_activated_tasksqueue_idspidsys.dm_broker_queue_monitorsqueue_idsys.service_message_typesxml_collection_idmessage_type_idsys.certificatescertificate_idsidthumbprintsys.service_queue_usagesservice_idsys.crypt_propertiesmajor_idthumbprint sys.openkeyskey_idsys.symmetric_keyskey_guidprincipal_idsymmetric_key_idsys.key_encryptionsthumbprintsys.asymmetric_keysassymetric_key_idprincipal_idsidthumbprintsys.master_key_passwordscredential_idfamily_guidsys.credentialscredential_idsys.database_permissionsgrantee_principal_idgrantor_principal_idsys.database_principalsdefault_schema_nameprincipal_idsidsys.server_principalscredential_idprincipal_idsidsys.server_role_membersmember_principal_idrole_principal_idsys.server_permissionsgrantee_principal_idgrantor_principal_idsys.sql_loginsprincipal_idsys.endpoint_webmethodsendpoint_idsys.endpointsendpoint_idsys.partition_range_valuesfunction_idparameter_idsys.partition_parametersfunction_idparameter_idsystem_type_idsys.partition_functionsfunction_idsys.partition_schemesdata_space_idfunction_idsys.spatial_indexesobject_idindex_idsys.spatial_index_tessellationsobject_idindex_idsys.spatial_reference_systemssys.tablesfilestream_data_space_idlob_data_space_idsys.dm_db_index_operational_stats()index_idobject_idpartition_numbersys.dm_db_index_physical_stats()index_idobject_idpartition_numbersys.dm_db_partition_statsindex_idobject_idpartition_numbersys.partitionshobt_idindex_idobject_idpartition_idpartition_numbersys.xml_schema_namespacesxml_namespace_idxml_collection_idsys.key_constraintsunique_index_idsys.default_constraintsparent_column_idsys.assembly_typesassembly_idsys.typesrule_object_iddefault_object_idsystem_type_iduser_type_idschema_idsys.identity_columnssys.plan_guidesscope_object_idsys.synonymssys.computed_columnssys.proceduresobject_idsys.sql_modulesobject_idexecute_as_principal_idsys.foreign_keyskey_index_idobject_idreferenced_object_idsys.xml_indexesusing_xml_index_idindex_idsys.viewssys.objectsobject_idparent_object_idprincipal_idschema_idsys.check_constraintsparent_column_idsys.columnscolumn_iddefault_object_idobject_idobject_numberrule_object_idsystem_type_iduser_type_idxml_collection_idsys.indexesdata_space_idindex_idobject_idsys.sql_dependenciesreferenced_minor_idreferenced_major_idobject_idcolumn_idsys.dm_db_index_usage_statsobject_iddatabase_idindex_idsys.foreign_key_columnsconstraint_column_idconstraint_object_idparent_column_idparent_object_idreferenced_column_idreferenced_object_idsys.destination_data_spacesdata_space_idpartition_scheme_idsys.filegroupsdata_space_idsys.dm_db_session_space_usagesession_idsys.data_spacesdata_space_idsys.master_filesfile_iddatabase_iddata_space_idsys.dm_db_file_space_usagefile_iddatabase_idsys.allocation_unitsallocation_unit_idcontainer_iddata_space_idsys.database_filesdata_space_idfile_idsys.database_recovery_statusdatabase_idfamily_guidsys.dm_db_task_space_usagerequest_idsession_idsys.dm_io_virtual_file_stats()file_iddatabase_id sys.dm_io_cluster_shared_drivessys.dm_io_pending_io_requestssys.databasesdatabase_idowner_sidsource_database_idsys.dm_tran_lockslock_owner_addressresource_associated_entity_idrequest_owner_idrequest_owner_guidrequest_session_idsys.dm_tran_active_transactionstransaction_idtransaction_uowsys.dm_tran_session_transactionssession_idtransaction_idsys.dm_tran_database_transactionstransaction_idsys.dm_tran_transactions_snapshottransaction_sequence_numsys.dm_tran_active_snapshot_database_transactionstransaction_idtransaction_sequence_numsys.dm_tran_current_transactiontransaction_sequence_numsys.dm_os_memory_cache_hash_tablescache_addresssys.dm_os_memory_cache_counterscache_addresssys.dm_os_memory_cache_clock_handscache_addresssys.dm_os_memory_cache_entriescache_addressmemory_object_addresspool_idsys.dm_os_memory_clerksmemory_clerk_addresspage_allocator_addresssys.dm_os_memory_poolsmemory_pool_addresssys.dm_os_memory_objectsmemory_object_addresspage_allocator_addresssys.dm_os_schedulersscheduler_idsys.dm_os_taskshost_addressrequest_idscheduler_idsession_idtask_addressworker_addresssys.dm_os_waiting_tasksblocking_task_addressresource_addresswaiting_task_addresssys.dm_exec_connectionsconnection_idendpoint_idmost_recent_sql_handleparent_connection_idsession_idsys.dm_exec_sessionsendpoint_idgroup_idsession_idsys.dm_exec_cursors()session_idsql_handlesys.dm_exec_sql_text()@handleobjectid sys.dm_exec_query_plan()object_id@handlesys.dm_exec_query_statssql_handleplan_handlesys.dm_exec_requestsconnection_idgroup_idplan_handlerequest_idsession_idsql_handlesys.dm_exec_plan_attributes()@handlesys.dm_exec_cached_plansplan_handlepool_idsys.schemasschema_idprincipal_idsys.xml_schema_collectionsxml_collection_idschema_idsys.index_columnsobject_idcolumn_idindex_idsys.stats_columnsstats_idobject_idcolumn_idsys.server_trigger_eventssys.server_events sys.server_triggerssys.statsobject_idstats_idsys.parametersobject_idsystem_type_iduser_type_idxml_collection_idsys.triggersobject_idparent_idsys.eventsobject_idsys.trigger_eventsobject_idObjects, Types and Indexes Trace and EventingLinked ServersDatabase MirroringEndpointsService BrokerSecurityResource GovernorTransaction InformationServer-WideInformationExecutionEnvironmentDatabasesand StoragePartitioningSpatialCommonLanguageRuntimesys.dm_resource_governor_workload_groupsgroup_idsys.dm_resource_governor_resource_poolsgroup_idpool_idsys.database_role_membersmember_ principal_idrole_principal_idsys.service_contract_message_usagesmessage_type_idservice_contract_idsys.column_type_usagessys.column_xml_schema_collection_usagessys.extended_propertiessys.internal_tablessys.parameter_type_usagessys.parameter_xml_schema_collection_usagessys.type_assembly_usagessys.all_columnssys.all_parameterssys.all_sql_modulessys.server_assembly_modulessys.server_sql_modulessys.system_columnssys.system_objectssys.system_parameterssys.system_sql_modulessys.system_viewssys.fn_trace_geteventinfo()sys.fn_trace_getfilterinfo()sys.fn_trace_getinfo()sys.fn_trace_gettable()sys.server_event_notificationssys.trace_categoriessys.trace_columnssys.trace_event_bindingssys.trace_eventssys.trace_subclass_valuessys.tracessys.event_notificationssys.dm_clr_propertiessys.module_assembly_usagessys.database_mirroringsys.database_mirroring_witnessessys.login_tokensys.user_tokensys.securable_classessys.server_auditssys.server_audit_specificationssys.server_audit_specification_detailssys.server_file_auditssys.system_components_surface_area_configurationsys.dm_exec_background_job_queuesys.dm_exec_background_job_queue_statssys.dm_exec_cached_plan_dependent_objects()sys.dm_exec_procedure_statssys.dm_exec_query_optimizer_infosys.dm_exec_text_query_plan()sys.dm_exec_trigger_statssys.dm_exec_xml_handles()sys.configurationssys.messagessys.syslanguagessys.dm_os_buffer_descriptorssys.dm_os_child_instancessys.dm_os_cluster_nodessys.dm_os_hostssys.dm_os_latch_statssys.dm_os_loaded_modulessys.dm_os_memory_nodessys.dm_os_nodessys.dm_os_performance_counterssys.dm_os_process_memorysys.dm_os_ring_bufferssys.dm_os_stackssys.dm_os_sys_infosys.dm_os_sys_memorysys.dm_os_threadssys.dm_os_virtual_address_dumpsys.dm_os_wait_statssys.dm_os_worker_local_storagesys.dm_os_workerssys.message_type_xml_schema_collection_usagessys.routessys.dm_broker_connectionspeer_certificate_idconnection_idsys.dm_tran_current_snapshotsys.dm_tran_top_version_generatorssys.dm_tran_version_storesys.dm_os_memory_brokerspool_idindex_handleindex_handleindex_handleindex_group_handlegroup_handlescope_object_idsystem_type_idobject_idsys.plan_guides.scpe_type=1 andsys.objects.tyupe in (P, RF, V, TR, FN, IF, TF, R)sys.columns.is_computed=1sys.objects.type=‘R’system_type_id, user_type_iddefault_object_idrule_object_idsystem_type_iduser_type_idschema_idsys.indexes.type_desc=‘XML’sys.column.is_identity=1sys.objects.type=‘P’object_idobject_idreferenced_object_idreferenced_object_id,key_index_idusing_xml_index_idprimarysys.indexes.type_desc=‘XML’ ANDsys.indexes.secondary_type is NULLsecondarysys.xml_indexes.type_desc=‘XML’ ANDsys.indexes.secondary_type is not NULLindex_idobject_idobject_idobject_idobject_idparent_idobject_idxml_collection_idsystem_type_id, user_type_idobject_idsys.objects.type=‘V’sys.objects.type=‘D’sys.objects.type in (‘U’, ‘V’)object_idobject_id, stats_idsys.objects.type in (‘U’, ‘V’) ANDsys.triggers.parent_class=1object_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idobject_idschema_idobject_idobject_idparent_object_idsys.objects.type in (C, D, F, PK, R, TR, UQ)object_idobject_idobject_idobject_idobject_idsys.objects.type=‘R’sys.objects.type=‘D’column_idcolumn_idobject_idrule_object_iddefault_object_idxml_collection_idparent_column_idcolumn_idcolumn_idsystem_type_iduser_type_idsys.objects.type=‘C’sys.objects.type=‘D’parent_column_idassembly_idserver_id server_id server_id server_idappdomain_address appdomain_addressassembly_idassembly_id assembly_idappdomain_addressappdomain_addressxml_collection_idlob_data_space_idobject_id, index_id, partition_numbersys.crypt_properties.class=1sys.objects.type in (‘UQ’, ‘PK’) ANDsys.key_constraints.parent_object_id is not nullsys.indexes.is_unique=1unique_index_idindex_idindex_id, object_idobject_id, index_idobject_id, index_idobject_id, index_id,partition_numberobject_id,index_idsys.objects.type in (‘U’) ANDsys.indexes.type_desc <> ‘XML’sys.objects.type in (‘U’, ‘V’)column_id,object_idobject_id,column_idobject_id,column_idobject_id,column_idobject_id,column_idcolumn_id, object_idreferenced_minor_id,referenced_major_idobject_idobject_iddata_space_idobject_id, index_idobject_id, index_idsys.objects.typein(‘U’,‘V’,‘TF’)object_idobject_idobject_idcolumn_idobject_id, index_idcolumn_idobject_id, stats_idxml_collection_idxml_collection_idxml_collection_idxml_collection_idschema_idschema_idschema_idschema_idprincipal_idconstraint_object_id, constraint_column_idreferenced_object_id, referenced_column_idparent_object_id, parent_column_idsys.objects.type=‘U’sys.dm_tran_locks.request_type=‘OBJECT’ andsys.dm_tran_locks.database_id=db_id()session_idsession_id, request_idsql_handle session_idplan_handleplan_handle@handle@handle@handleplan_handleplan_handleplan_handleplan_handleplan_handleplan_handleplan_handleconnection_idsession_id,request_iddata_space_iddata_space_iddata_space_idsys.allocation_unit.type in (1, 3)sys.allocation_unit.type=2object_id,index_idpartition_numberobject_id,index_idpartition_scheme_idpartition_idhobt_idhobt_idobject_id, index_idpartition_numberobject_id, index_idpartition_numberobject_id, index_idpartition_numberreferenced assemblyreferenced assemblyassembly_idassembly_idassembly_idassembly_idassembly_idassembly_idreferenced_assembly_id,assembly_idassembly_idobject_idobject_idsos_task_addresssystem_type_idfunction_idfunction_id, parameter_idfunction_id, parameter_idfunction_idfunction_idfunction_iddata_space_iddatabase_iddata_space_iddata_space_iddata_space_iddata_space_iddata_space_iddatabase_id, file_iddatabase_id, file_iddatabase_id,file_idcontainer_idcontainer_iddata_space_idfile_idfile_idsession_id,request_idfile_iddata_space_idobject_id@handle@handle@handle @handle@handle@handle@handlesql_handleobject_idplan_handlesql_handlesession_idsession_idsession_idsession_idsession_idsession_idsession_idsession_idsession_idendpoint_idfile_idfile_idsession_iddatabase_id, file_iddatabase_idfamily_guidallocation_unit_idendpoint_idendpoint_idendpoint_idendpoint_idsys.endpoints.type=1master.sys.certificates onlyfile_idassembly_idcertificate_idpeer_certificate_idsys.dm_tran_locks.request_type in(‘HOBT’, ‘Page”, ‘RID’, ‘Key’) andsys.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_iddatabase_idowner_sidsource_database_idrequest_session_idresource_associated_entity_idconnection_idendpoint_idconnection_idsession_idmost_recent_sql_handleconnection_idparent_connection_idpage_allocator_addressmemory_object_addressmemory_pool_addressmemory_clerk_addresspage_allocator_addressmemory_object_addressmemory_clerk_addresscache_addressscheduler_idscheduler_idsession_id, request_idtask_addresstask_addresswaiting_task_addressblocking_task_addressresource_addresssession_idtransaction_idtransaction_idtransaction_idtransaction_idtransaction_idtransaction_id,transaction_uowrequest_owner_idrequest_owner_guidlock_owner_addresssys.dm_tran_locks.request_owner_type=‘TRANSACTION’resource_associated_entity_idresource_associated_entity_idtransaction_sequence_numtransaction_sequence_numtransaction_sequence_numtransaction_sequence_numprincipal_idprincipal_idprincipal_idprincipal_idprincipal_idprincipal_idsidsidgrantee_principal_id grantee_principal_idcredential_idcredential_idcredential_idcredential_idsys.server_principals.type=‘R’principal_idprincipal_idmember_principal_idrole_principal_idfamily_guidgrantee_principal_id,grantor_principal_idconnection_idpeer_certificate_idconversation_idconversation_idconversation_handleconversation_handleconversation_group_idconversation_group_idservice_idservice_idservice_idservice_id service_idservice_idservice_contract_idobject_idobject_idobject_idservice_contract_idservice_contract_idservice_contract_idservice_contract_idservice_contract_idservice_contract_idcertificate_idmessage_type_idqueue_idqueue_idqueue_idqueue_idspidservice_contract_idservice_idsys.crypt_properties.class=5service_queue_idsys.crypt_properties.crypt_type=SPVAmajor_idthumbprintthumbprintthumbprint thumbprintthumbprintcertificate_idcertificate_idcertificate_idxml_collection_idmessage_type_idthumbprintthumbprintsys.crypt_properties.crypt_type=CPVOmember_principal_idrole_principal_idkey_idsymmetric_key_idthumbprintthumbprintkey_guidprincipal_idcertificate_idsys.database_role_members=‘R’transaction_idtransaction_idtransaction_idcache_addresscache_addresscache_addresscache_addresscache_addresscache_addressFull Text Searchobject_id table_idunique_index_id data_space_idsys.fulltext_indexesdata_space_idobject_idunique_index_idsys.fulltext_index_fragmentstable_idindex_iddata_space_idobject_idSystem Viewsobject_idExtended Eventssys.dm_xe_session_targetsevent_session_addresstarget_nametarget_package_guidsys.dm_xe_packagesguidsys.dm_xe_session_eventsevent_session_addressevent_nameevent_package_guidsys.dm_xe_objectsnamepackage_guidsys.dm_xe_object_columnscolumn_idobject_nameobject_package_guidtype_nametype_package_guidsys.dm_xe_map_valuesnameobject_package_guidsys.dm_xe_session_object_columnsevent_session_addresscolumn_idobject_nameobject_package_guidsys.dm_xe_session_event_actionsaction_nameaction_package_guidevent_nameevent_package_guidsys.dm_xe_sessionsaddressguidpackage_guidname,package_guidtarget_name,target_package_guidname, package_guidname, package_guidevent_session_addressaddressevent_session_addressaddressaddressevent_session_addresstype_name,type_package_guidcolumn_id,object_name,object_package_guidname,object_package_guidcolumn_id, object_name, object_package_guidevent_name,event_package_guidevent_name, event_package_guidevent_name, event_package_guidm a g a z i n esys.objects.type in (‘TA’, ‘AF’, ‘PC’, ‘FS’, ‘FT’,)@handleservice_idsys.change_tracking_tablesobject_idsys.dm_filestream_file_io_handleshandle_idfilestream_transaction_idgroup_idgroup_idgroup_idgroup_idgroup_idpool_idpool_idpool_idpool_idgroup_idgroup_idsys.dm_exec_query_memory_grantsgroup_idpool_idsys.dm_exec_query_resource_semaphorespool_idpool_idgroup_idpool_idpool_idpool_idpool_idsys.change_tracking_databasesdatabase_iddatabase_iddatabase_idobject_idobject_idsys.dm_filestream_file_io_requestshandle_idfilestream_transaction_idtransaction_idsys.dm_audit_actionssys.dm_audit_class_type_mapsys.dm_server_audit_statushandle_idhandle_idconnection_idconnection_idobject_name, object_package_guidsys.database_audit_specificationssys.database_audit_specifications_detailsobject_idaction_name,action_package_guidname,package_guid© 2010 Microsoft Corporation. All rights reserved. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. 098-116364 Printed in USA