카테고리 없음

checkpoint

보미아빠 2011. 6. 2. 22:51


* i/o throttle 제어
  - 3MB 로 제한하고 싶다면 -k3 이라고 기술한다.
    http://support.microsoft.com/kb/929240/en-us

* Traceflag 3505 를 이용한 수동 검사점 제어
  http://support.microsoft.com/kb/815436
  이외 Traceflag 가 몇개 더 있지만 별로~

* sp_configure
  - max async IO 조정
  - recovery interval 조정

단, 저 옵션들은 checkpoint 를 이해하고 쓰셔야 합니다. 아니면 sql server 내렸다 올리면 복구한다고 한세월 보냅니다. 주의 하세요~

 

 


use db1
go

if object_id('tblx') is not null
drop table tblx
go

create table tblx
(idx int
,a char(6000)
)
go

insert into tblx values (1,1)
go 10000

checkpoint

 


위 카운터를 이용해 더 상세히 모니터링 가능.

 

 

indirect checkpoint

https://www.mssqltips.com/sqlservertip/2652/indirect-checkpoints-in-sql-server-2012/