Monitorar o espaço livre em disco no SQL Server é uma tarefa crucial para um DBA SQL Server seja júnior, pleno ou sênior. Eu vou deixar abaixo algumas formas que vão ajudar a vocês fazerem esse monitoramento.
Forma 1:
SELECT DISTINCT DB_NAME(dovs.database_id) NomeDoBanco, mf.physical_name LocalizacaoFisica, dovs.logical_volume_name AS NomeLogico, dovs.volume_mount_point AS Drive, CONVERT(int, dovs.available_bytes / 1048576.0) AS EspacoLivreEmMB FROM sys.master_files mf CROSS APPLY sys.dm_os_volume_stats(mf.database_id, mf.FILE_ID) dovs ORDER BY EspacoLivreEmMB ASC GO
Forma 2:
EXEC MASTER..xp_fixeddrives GO
Eu já tenho um checklist de monitoramento que deixei disponível para a comunidade SQL Server, que mostra todas essas informações e muito mais no seu e-mail.
Abraços!
Port video games have actually long been a popular type of entertainment, providing exhilarating gameplay…
When it pertains to online gambling, safety needs to be a top issue for every…
There are many reasons to play no-cost online casino games in the coming year. The…
On the internet casinos have acquired tremendous appeal in recent times, offering gamers with the…
Welcome to our useful post concerning the very best casino site game! Whether you're a…
The random number generator (or RNG) is the program that generates the outcome of every…