최고의 답변자
MS SQL 풀백업 시간이 오래걸리는 이유

질문
답변
모든 응답
-
안녕하십니까,@ StartTac 님
MSDN 커뮤니티 포럼에 질문 주셔서 감사합니다.
디스크 공간이 백업에 충분한지 확인하시길 바랍니다. 다른 디스크에 백업을 시도하여 테스트하고 문제를 추적 및 분석하실 있습니다.
만약 성능 모니터를 사용할 수 있다면, 이것 또한 좋은 선택입니다.
1. --1.Judging the system bottleneck from the waiting state 2. 3. select s.session_id,s.status,s.login_time,s.host_name,s.program_name, 4. s.host_process_id,s.client_version,s.client_interface_name,s.login_name,s.last_request_start_time,s.last_request_end_time, 5. c.connect_time,c.net_transport,c.net_packet_size,c.client_net_address,r.request_id,r.start_time,r.status,r.command,r.database_id,r.user_id,r.blocking_session_id, 6. r.wait_type,r.wait_time,r.last_wait_type,r.wait_resource,r.open_transaction_count,r.transaction_id,r.percent_complete,r.cpu_time,r.reads,r.writes,r.granted_query_memory 7. from sys.dm_exec_requests r 8. right outer join sys.dm_exec_sessions s 9. on r.session_id = s.session_id 10. right outer join sys.dm_exec_connections c 11. on s.session_id =c.session_id 12. where s.is_user_process=1 13. 14. --2.from the result you can check whether there is block or io performance 15. 16. --3.run below command to enable trace flag, so that we can get more clues about the backup performance in your error log 17. DBCC TRACEON(3004, 3051, 3212,3014, 3605, 1816, -1) 18. 19. --4.after test is done, please turn them off this way: 20. DBCC TRACEOFF(3004, 3051, 3212,3014, 3605, 1816, -1)
자세한 내용은 아래 문서를 참조하시길 바랍니다.
Options to Improve SQL Server Backup Performance (mssqltips.com)
답변이 도움이 되였으면 합니다, 문제 해결이 되지 않아서 정확한 답변을 원하는 경우에는 문제의 정보를 더 자세하게 답변으로 제공해 주시기 바랍니다.
감사합니다.MSDN Community Support Elin
※ 다른 커뮤니티 멤버에게 도움이 될 수 있게 문제를 해결 한 답변을 '답변으로 표시'를 클릭하시고 그렇지 않은 경우 '답변으로 표시 취소'를 클릭하시기 바랍니다. MSDN 서포트에 대한 의견이나 불만이 있을 경우 MSDNFSF@microsoft.com 으로 연락하시기 바랍니다.
- 편집됨 Elin-msftModerator 2022년 11월 10일 목요일 오전 7:01 Edit