| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 | 
                            Tags
                            
                        
                          
                          - SQL Server 2008
 - windbg
 - 안철수
 - Session space
 - MSCS on VMWare
 - ftp7.5 장애조치 클러스터
 - failover cluster
 - windows media service
 - Nested VM
 - 인문고전
 - Local TempDB
 - windows debugging tool
 - Windows Server 2008
 - paged pool
 - cluster node as Domain controller
 - windows update
 - Windows Server 2016
 - iSCSI target
 - Windows Server 2016 Hyper-v Cluster
 - FTP7.5
 - Hyper-V
 - Xperf
 - 터키여행
 - LiveKD
 - 프로세스 CPU 사용량
 - nonpaged pool
 - dsquery
 - 클러스터
 - 작업관리자
 - SQL Server 2012R2 FCI
 
                            Archives
                            
                        
                          
                          - Today
 
- Total
 
류짱:Beyond MySelf
TempDB의 로그 파일 위치를 변경 하는 방법 본문
TempDB의 로그 파일 위치를 변경 하는 방법 
SQL server managemetnt studio를 실행 한 후 아래와 같이 쿼리를 입력 한 후 현재 TempDB의 로그 파일의 위치를 확인 합니다.
use tempdb 
go 
sp_helpfile
go
 
Alter database 명령어를 이용해 변경 하고자 하는 위치를 입력 한 후 쿼리를 실행합니다.실행 후 메시지를 확인 합니다. " 시스템 카탈로그에서 파일 templog가 수정 되었습니다."
alter database tempdb
modify file
(name=templog, filename='c:\templog.ldf');
go 
명령프롬프트를 이용해서 mssql server를 재 시작합니다. 
Net stop mssqlserver
net start mssqlserver 
 
Sql server가 재 시작 된 후 다시 sql server management studio를 시작하여 아래의 query를 입력 한 후 Log 파일의 위치를 확인 합니다.
use tempdb
go
sp_helpfile
go
 
[참고 사이트]
시스템 데이터베이스 이동
http://msdn.microsoft.com/ko-kr/library/ms345408.aspx