Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE Tối ưu hóa SQL Server 2000, 2005 hay 2008 tại lớn RAM hệ thống bằng cách Khóa trang trong bộ nhớ và AWE
Microsoft SQL Server is a data-intensive and disk I/O (read and write) intensive database management systems. Microsoft SQL Server là một dữ liệu chuyên sâu và tôi đĩa / O (đọc và viết) các hệ thống quản lý cơ sở dữ liệu chuyên sâu. For SQL Server which is running on a system with large amount or big size of physical RAM memory, such as system with 4GB, 8GB or even more gigabytes of physical memory, it can be configured to use the Address Windowing Extensions (AWE) API to provide access to physical memory in excess of the limits set on configured virtual memory, and force all paging to take place in memory for faster access. Đối với SQL Server là chạy trên một hệ thống với số lượng lớn hoặc kích thước lớn của bộ nhớ RAM vật lý, chẳng hạn như hệ thống với 4GB, 8GB hoặc thậm chí nhiều gigabyte bộ nhớ vật lý, nó có thể được cấu hình để sử dụng Địa chỉ Windowing Extensions (AWE) API để cung cấp quyền truy cập vào bộ nhớ vật lý vượt quá các giới hạn thiết lập vào bộ nhớ ảo được cấu hình, và lực lượng tất cả các phân trang để diễn ra trong bộ nhớ để truy cập nhanh hơn.
With Với Address Windowing Extensions Địa chỉ Windowing Extensions (AWE) API, Microsoft SQL Server can support and access very large amounts of physical memory, upwards of 64 gigabytes or more on Windows 2000 Server, Windows Server 2003 and Windows Server 2008. (AWE) API, Microsoft SQL Server có thể hỗ trợ và truy cập Số tiền rất lớn của bộ nhớ vật lý, trở lên của 64 gigabyte hoặc nhiều hơn trên Windows 2000 Server, Windows Server 2003 và Windows Server 2008. The specific amount of memory SQL Server can use depends on hardware configuration and operating system support. Số tiền cụ thể của bộ nhớ SQL Server có thể sử dụng phụ thuộc vào cấu hình phần cứng và hỗ trợ hệ điều hành.
Before enabling AWE, Lock Pages in Memory permission must be granted to the user account that run SQL Server, as AWE memory cannot be swapped out to the page files. Trước khi cho phép AWE, Khóa trang trong bộ nhớ cho phép phải được cấp cho tài khoản người dùng chạy SQL Server, như AWE bộ nhớ có thể không được đổi chỗ ra các tập tin trang. Note that AWE is not required for 64-bit system, but Lock Pages in Memory privilege is recommended for 64-bit system though. Lưu ý rằng AWE là không cần thiết cho hệ thống 64-bit, nhưng Lock trang trong bộ nhớ đặc quyền được khuyến khích cho 64-bit, mặc dù hệ thống.
Step 1: Bước 1: Enable PAE support on Windows Server Kích hoạt PAE hỗ trợ trên Windows Server to allow large segment of physical memory to be used. để cho phép phân đoạn lớn của bộ nhớ vật lý sẽ được sử dụng.
Step 2: Bước 2: Assign to enable Lock Pages in Memory permission Chỉ định để cho phép Lock trang trong bộ nhớ cho phép to SQL Server account. vào tài khoản của SQL Server.
Step 3: Enable AWE Option Bước 3: Kích hoạt Tùy chọn AWE
Note that in Windows 2000 (Windows Server 2003 and 2008 are dynamic allocation on demand), if a value for max server memory is not specified, SQL Server reserves almost all available memory during startup, leaving 128 megabytes (MB) or less physical memory for other applications. Lưu ý rằng trong Windows 2000 (Windows Server 2003 và 2008 là động phân bổ theo yêu cầu), nếu một giá trị cho bộ nhớ máy chủ tối đa không được chỉ định, SQL Server dự trữ hầu như tất cả bộ nhớ có sẵn trong quá trình khởi động, để lại 128 megabyte (MB) hoặc bộ nhớ vật lý cho các ứng dụng khác. And, the awe enabled option is an advanced option. Và, các awe bật tùy chọn là một tùy chọn nâng cao. If you are using the sp_configure system stored procedure to change the setting, you can change awe enabled only when show advanced options is set to 1. Nếu bạn đang sử dụng hệ thống lưu trữ sp_configure thủ tục để thay đổi các thiết lập, bạn có thể thay đổi awe kích hoạt chỉ khi hiển thị các tùy chọn nâng cao được thiết lập là 1.
To enable AWE and configure the min server memory to 1 GB (so that AWE mapped memory can be released up until 1 GB) and the max server memory to 6 GB, use the following commands: Để kích hoạt AWE và cấu hình bộ nhớ máy chủ phút đến 1 GB (để cho AWE ánh xạ bộ nhớ có thể được phát hành cho đến khi lên 1 GB) và máy chủ bộ nhớ tối đa đến 6 GB, sử dụng các lệnh sau đây:
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'awe enabled', 1
RECONFIGURE
GO
Restart SQL Server with the following commands: Khởi động lại SQL Server với các lệnh sau đây:
net stop mssqlserver
net start mssqlserver
Then, configure memory: Sau đó, cấu hình bộ nhớ:
sp_configure 'min server memory', 1024
RECONFIGURE
GO
sp_configure 'max server memory', 6144
RECONFIGURE
GO
Restart the SQL Server after all configuration to make the changes effective. Khởi động lại SQL Server sau khi cấu hình tất cả để thực hiện những thay đổi có hiệu quả. To disable AWE, simply set the awe enabled to 0 and execute the RECONFIGURE statement again. Để AWE vô hiệu hóa, bạn chỉ cần đặt awe Javascript để 0 và thực hiện một lần nữa tuyên bố RECONFIGURE.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- How to Remotely Enable Remote Desktop (Terminal Services or RDP) via Registry in Windows 2000/XP/2000/Vista/2008 Làm thế nào để từ xa Kích hoạt tính năng Remote Desktop (Terminal Services hoặc RDP) thông qua Registry trong Windows 2000/XP/2000/Vista/2008
- How to Set Compatibility Level for SQL Server 2008 or 2005 Database Làm thế nào để Set Compatibility Level cho SQL Server 2008 hay 2005 Cơ sở dữ liệu
- Microsoft DreamSpack Offers Free Download and License of Visual Studio 2008, Server 2003, SQL Server 2005 and More Microsoft DreamSpack Offers Miễn phí Tải về và Giấy phép của Visual Studio 2008, Server 2003, SQL Server 2005 và thêm
- Hack to Install Windows 7, Vista or Server 2008 On Computer or Virtual Machine with Less Than 512 MB RAM Memory Hack để cài đặt Windows 7, Vista hoặc Server 2008 trên máy tính hoặc máy ảo với Dưới 512 MB Bộ nhớ RAM
- Optimize Memory and Free Up RAM with RAMRush Bộ nhớ và tối ưu hóa miễn phí lên RAM với RAMRush
- Lower, Reduce and Optimize Windows RAM Memory Usage with CleanMem Thấp hơn, Giảm và bộ nhớ RAM Cách sử dụng Tối ưu hóa Windows với CleanMem
- Uninstall and Remove Multiple Database Instances of Microsoft SQL Server 2005 Gỡ bỏ và Hủy bỏ Multiple Instances Cơ sở dữ liệu của Microsoft SQL Server 2005
- Microsoft Virtual Server 2005 R2 SP1 (Enterprise Edition) Direct Download Links Microsoft Virtual Server 2005 R2 SP1 (Enterprise Edition) Direct Download Links
- Stay Updated with Web Pages Changes via Web Pages Monitor Vẫn cập nhật với trang web Thay đổi thông qua trang web Monitor
- Microsoft Virtual Server 2005 R2 Download Available for Free Microsoft Virtual Server 2005 R2 Tải sẵn cho Free










































September 6th, 2008 03:19 6 Tháng Chín 2008 03:19
nice article, but I get in here finding spanish resources, and get into the automatically translated version to spanish, nice the functionality for your blog, but the machine's spanish is unreadable. Bài đẹp, nhưng tôi nhận được ở đây việc tìm kiếm nguồn tài nguyên tây ban nha, và nhận được vào trong phiên bản tự động dịch sang tây ban nha, đẹp chức năng cho blog của bạn, nhưng của máy tây ban nha là không đọc được.
again thanks, for the article. một lần nữa cảm ơn, cho bài viết.
August 7th, 2008 11:10 Ngày 07 tháng 8 năm 2008 11:10
can we get working crack/key for có thể làm việc, chúng tôi nhận được crack / key cho
Microsoft SQL Server 2008 Microsoft SQL Server 2008
thanks cảm ơn
June 7th, 2008 01:37 Ngày 07 tháng 6 năm 2008 01:37
[...] RAM is definitely faster than disk I/O. [...] RAM chắc chắn là nhanh hơn tôi đĩa / 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 [...] Khóa trang trong đặc quyền lựa chọn bộ nhớ phải được kích hoạt để cấu hình Địa chỉ Windowing Extensions (AWE) cho phép là 32-bit, phần mềm ứng dụng để truy cập vào bộ nhớ vật lý nhiều hơn nó đã ảo [...]