목록예상완료시간 (1)
SQL Server 백업/복원 예상 완료시간 확인하기
대용량 데이터베이스를 백업 및 복원할 때, 아래 쿼리를 실행하면 예상 완료시간을 확인할 수 있습니다. SELECT session_id, start_time, status, command, percent_complete, estimated_completion_time, estimated_completion_time /60/1000 as estimate_completion_minutes, --(select convert(varchar(5),getdate(),8)), DATEADD(n,(estimated_completion_time /60/1000),GETDATE()) as estimated_completion_time FROM sys.dm_exec_requests where command = 'BACKUP ..
SQL Server/SQL Server 운영
2021. 1. 14. 15:56