SQL Server
SQL 2000 sp4에서 AWE 확장해도 메모리 할당이 잘 안되는 경우
AWS-in
2015. 7. 16. 15:47
SQL 2000 32bit에서는 OS 메모리 한계로 인하여 AWE를 확장해야 더 많은 메모리를 사용할 수 있다. 그리고 LPIM도 설정을 해줘야 한다.
1. AWE 확장 및 Max Server Memory 설정하기
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'awe enabled', 1
RECONFIGURE
GO
sp_configure 'max server memory', 6144
RECONFIGURE
GO
2. Enable the Lock Pages in Memory Option
2000에서는 안해도 되는줄 알았는데 해줘야 하는 것 같다. 그냥 무조건 하자
[참고문서]
http://www.sqlcoffee.com/tuning05.htm
그러나 SP4 를 설치하여 AWE를 확장을 했는데도 메모리를 전부 할당이 안되는 Bug가 있다.
아래 KB 에서 확인 하면 된다.
FIX: Not all memory is available when AWE is enabled on a computer that is running a 32-bit version of SQL Server 2000 SP4
https://support.microsoft.com/en-us/kb/899761
To obtain this hotfix, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyId=7C407047-3F1F-48B8-9E4C-DC32875E1961