_대문 | 방명록 | 최근글 | 홈피소개 | 주인놈
FrontPage › SSIS조회변환CacheSizing

Contents

[-]
1 산정공식
2 Example
3 참고자료
4 적용 버전


1 산정공식 #

  • Full cache
    • Examlple: select ProductKey, ProductName from Products
    • Full cache = (TotalRowSize + 20 + (4 * ColumnCount)) * RowCount
  • Partial cache
    • Example: select * from Products
    • Partial cache = (TotalRowSize + 36 + (4 * ColumnCount)) * RowCount

2 Example #

select ProductKey, ProductName 
from [Products]
  • ProductKey int, 4Byte
  • ProductName nvarchar(25), 52Byte(25*2+2)
  • Row Count = 1000000
  • Cache Size
    • Cache Size Of Partial Cache Mode = 약 95MB = ((4 + 52) + 36 + (4 * 2)) * 1000000 / 1024 / 1024
    • Cache Size Of Full Cache Mode = 약 80MB = ((4 + 52) + 20 + (4 * 2)) * 1000000 / 1024 / 1024

쩝.. 잘 안맞는다..

4 적용 버전 #

  • SQL Server 2008

댓글 남기기..
이름: : 오른쪽의 새로고침을 클릭해 주세요. 새로고침
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

남에게 친절하고 관대해지기 전에 먼저 자신에게 친절하고 관대해져야 한다.