SQL2012 이전버젼에서는 Lock page memory를 설정하기 몇가지 기능중 T845 플래그를 설정해야 한다. 하지만 SQL2012 버젼부터는 T845 플래그 설정 안 해줘도 되네요.
http://support.microsoft.com/kb/2659143/
http://blogs.msdn.com/b/sqlosteam/archive/2012/03/22/lock-pages-in-memory-not-deprecated-in-denali.aspx
You do not have to use Trace Flag 845 in SQL Server 2012. You can remove this trace flag from the startup parameters after you upgrade your instance to SQL 2012.
자.. SQL2012 Lock Page In Memory 기능을 설정해볼까여~~
1. SQL 시작계정에 윈도우 사용자 권한 할당
커맨드명령어 : gpedit.msc
컴퓨터 구성>Windows 설정>보안 설정>로컬 정책> 사용자 권한 할당
SQL 시작계정에 "메모리에 페이지 잠금" 할당!! 여기서는 sqlservice 계정으로 설정.
2. 설정 확인하기
sp_readerrorlog로 시작 메세지를 확인
"Using locked pages in the memory manager" 이렇게 메세지만 있다면 OK~~
Edition에 따라 설정방법 차이가 있네요~
Enterprise Edition,
Data Center EditionStandard Edition,
Business Intelligence EditionOther editions SQL 2012 (32-bit and 64-bit) • Assign LPIM user right to SQL Startup account • Assign LPIM user right to SQL Startup account No support for "locked pages" SQL Server 2005/2008/2008R2 (32-bit) • Assign LPIM user right to SQL Startup account
• Configure 'awe enabled' option to 1• Assign LPIM user right to SQL Startup account
• Configure 'awe enabled' option to 1No support for "locked pages" SQL Server 2005/2008/2008R2 (64-bit) • Assign LPIM user right to SQL Startup account • Assign LPIM user right to SQL Startup account
• Apply SQL Hotfix KBA 970070
• Enable trace flag 845No support for "locked pages
'SQL Server 2012' 카테고리의 다른 글
SQL2012 CU1 나왔네요. (0) | 2012.05.14 |
---|---|
가상계정 로컬 정책 추가 하기 (0) | 2012.05.07 |
SQL2012 시작 매개변수 지정 (0) | 2012.05.04 |
SQL 2012 New Feature - Throw (0) | 2012.04.26 |
진단 분석 저장프로시져 sp_server_diagnostics (0) | 2012.04.24 |