2008年12月6日 星期六

啟動AWE並設定最大最小記憶體

USE master
GO
-- 顯示進階選項
sp_configure 'show advanced options', 1
RECONFIGURE
GO
-- 啟動AWE
sp_configure 'awe enabled', 1
RECONFIGURE
GO
-- 重新啟動 SQL Server 之後,下列訊息會寫入 SQL Server 錯誤記錄:「已啟用 Address Windowing Extensions」

-- 設定最小記憶體
sp_configure 'min server memory', 1024
RECONFIGURE
GO

-- 設定最大記憶體,以下是設定為6G
sp_configure 'max server memory', 6144
RECONFIGURE
GO

[參考文件]
MSDN Library - SQL Server 2008 - 針對 SQL Server 啟用 AWE 記憶體

沒有留言:

SQL Server Database Mirroring 資料庫鏡像

SQL Server Database Mirroring 資料庫鏡像