優選SQL服務器2000年, 2005年或者2008年在大RAM系統通過鎖頁在記憶和敬畏
微軟SQL服務器是一個數據密集和盤輸入/輸出(讀和寫)密集的數據庫管理系統。 對於在一個系統以巨額或物理隨機存取存儲器的大大小,例如系統與4GB, 8GB甚至更多十億字節運行物理內存的SQL服務器,它在記憶可以配置使用地址開窗術引伸(敬畏) API提供存取對於物理內存超出定的極限在配置的虛擬內存,并且強迫所有調頁發生為快速訪問。
與 地址開窗術引伸 (敬畏) API,微軟SQL服務器可能支持和訪問非常很多物理內存,向上64十億字節或更多在視窗2000服務器、窗口服務器2003年和窗口服務器2008年。 具體相當數量記憶SQL服務器可能使用取決於硬件構造和操作系統的支持。
在使能敬畏之前,鎖跑SQL服務器的頁在記憶允許必須授予用戶帳號,因為敬畏記憶不可能被交換對頁式文件。 注意敬畏沒有為64位系統需要,但是鎖頁在記憶特權為64位系統雖則被推薦。
第1步: 使能PAE支持在窗口服務器 允許物理內存的大段使用。
第2步: 分配使能鎖頁在記憶允許 到SQL服務器帳戶。
第3步: 使能敬畏選擇
注意在視窗2000 (窗口服務器2003年和2008是動態分配在要求時),如果價值為最大服務器記憶沒有指定,在起動期間, SQL服務器預留幾乎所有可利用的記憶,留出128兆字節(MB)或較不物理內存為其他應用。 并且,敬畏使能選擇是一個先進的選擇。 如果您使用sp_configure系統存儲過程改變設置,您能改變使能的敬畏,只有當展示先進的選擇被設置到1時。
要使能敬畏和配置極小的服務器記憶到1 GB (以便敬畏被映射的記憶可以被發布直到1 GB)和最大服務器記憶到6 GB,使用以下命令:
sp_configure 『展示推進了選擇』, 1
重新構造
去
sp_configure 『使能的敬畏』, 1
重新構造
去
再開始SQL服務器以以下命令:
淨中止mssqlserver
淨起動mssqlserver
然後,配置記憶:
sp_configure 『極小的服務器記憶』, 1024年
重新構造
去
sp_configure 『最大服務器記憶』, 6144
重新構造
去
Restart the SQL Server after all configuration to make the changes effective. To disable AWE, simply set the awe enabled to 0 and execute the RECONFIGURE statement again.
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005
- Error Has Occurred While Establishing A Connection To SQL Server 2005 Which Does Not Allow Local and Remote Connections
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database
- MySQL Database Performance Tuning Best Practices Video Tutorial
- Increase Terminal Server Speed and Performance
- Easily Test Drive and Evaluate Microsoft Products with Virtual Hard Disk (VHD)
- Change Oracle Database User Password
- Download Free Windows Embedded Server Products with Product Key to Develop Dedicated Server
- Microsoft Virtual Server 2005 R2 Download Available for Free
- Force Kernel Drivers and System Code to Stay Loaded in Memory to Boost Speed with DisablePagingExecutive Tweak
























June 7th, 2008 01:37
[...] RAM is definitely faster than disk I/O. Lock Pages in Memory option privilege must be enabled to configure Address Windowing Extensions (AWE) which allow a 32-bit software application to access more physical memory than it has virtual [...]
August 7th, 2008 11:10
can we get working crack/key for
Microsoft SQL Server 2008
thanks