Your SlideShare is downloading. ×
SQL Saturday 127
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

SQL Saturday 127

1,410
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,410
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. SQL Server 2012Novas DMV’s e DMF’s no SQL Server 2012
  • 2. About me  Marcos Freccia  Microsoft Certified Trainer – MCT  Microsoft Certified IT Professional – DBA & DEV  http://marcosfreccia.wordpress.com  @SqlFreccia  marcosfreccia@hotmail.com  KeepIT Informática  Grupo MCITP SC – www.mcitpsc.com.br (Pass Chapter)2 |
  • 3. Agenda  O que são DMV’s e DMF’s  Grupos de DMV’s  Novas DMV’s  dm_db_log_space_usage  sequences  filetables  dm_server_memory_dumps*  dm_os_windows_info*  dm_os_server_diagnostics_log_configurations  database_filestream_options  dm_tcp_listener_states  dm_server_registry  dm_server_services  dm_db_uncontained_entities3 |
  • 4. Agenda  Novas DMF’s  dm_exec_describe_first_result_set  dm_exec_describe_first_result_set_for_object  dm_os_volume_stats*  dm_db_database_page_allocations  Extended Stored Procedures  sp_server_diagnostics  sp_migrate_user_to_contained  sp_describe_undeclared_parameters4 |
  • 5. O que são DMV’s e DMF’s?  DMV = Dynamic  DMF = Dynamic Management View Management Function5 |
  • 6. O que são DMV’s e DMF’s?  Dynamic Não são tabelas reais management objects Não são  Inseridos no SQL armazenadas em Server 2005 disco  Residem no schema sys.  Substituindo as pseudotables  Separadas por grupos6 |
  • 7. Grupos de DMV’s  dm_exec: Informação  dm_io: Guarda os direta ou indireta detalhes sobre relatada a execução de atividade de I/O seja código e conexões sobre a rede ou disco. associadas.  dm_db: Informações  dm_os: Informações sobre os objetos da de baixo nível como base de dados como memória, locks, schedu índices. ling  dm_tran: Detalhes sobre as transações correntes.7 |
  • 8. System Objects  Pertecem ao schema Não estavam no sys escopo da apresentação8 |
  • 9. DEMO
  • 10. Patrocinadores