Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE优化SQL Server 2000中, 2005年或2008年在大型的RAM系统的页面锁定在内存和敬畏
Microsoft SQL Server is a data-intensive and disk I/O (read and write) intensive database management systems. Microsoft SQL Server的是一个数据密集型和磁盘I / O (读写)密集的数据库管理系统。 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.对于SQL Server是运行于系统与大量或大尺寸的物理RAM记忆体,如系统与话又说回来, 8 GB的,甚至需要更多的GB的物理内存,它可以配置为使用地址窗口扩展(敬畏)空气污染指数提供获得物理内存在超过设定的范围就设定虚拟记忆体,并迫使所有传呼服务商采取的地方,在内存以便快速访问。
With带有 Address 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. (敬畏)的空气污染指数, Microsoft SQL Server的支持和获得非常大量的物理内存,达到64千兆字节或更多在Windows 2000 Server , Windows Server 2003和Windows服务器2008 。 The specific amount of memory SQL Server can use depends on hardware configuration and operating system support.具体的记忆体数量的SQL Server可以使用,取决于硬件配置和操作系统的支持。
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.之前,使敬畏,锁定的页面在内存中的许可,必须给予用户帐户运行SQL Server , AWE内存不能换出到网页上的档案。 Note that AWE is not required for 64-bit system, but Lock Pages in Memory privilege is recommended for 64-bit system though.请注意, AWE是不是需要64位系统,但锁的页面在内存中的特权是推荐64位系统,虽然。
Step 1:第1步: Enable PAE support on Windows Server启用PAE支持在Windows Server to allow large segment of physical memory to be used.让大段的物理内存会被使用。
Step 2:第2步: Assign to enable Lock Pages in Memory permission转让,使锁的页面在内存许可 to SQL Server account.到SQL Server的帐户。
Step 3: Enable AWE Option第3步: 使敬畏选项
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.请注意,在Windows 2000 ( Windows Server 2003的和2008年是动态分配的需求) ,如果值为最大服务器内存是没有指定, SQL Server的储备,几乎所有的可用记忆体在启动过程中,留下128兆字节( MB )或以下的物理内存为其他应用程式。 And, the awe enabled option is an advanced option.和,敬畏启用选项是一个先进的选项。 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.如果您正在使用sp_configure系统预存程序来变更设定,您可以变更敬畏才会启用时,显示高级选项设置为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:使敬畏和配置闵服务器内存1 GB的(使敬畏映射内存可以被释放,直到为1 GB )和最大服务器内存至6 GB ,则请使用以下命令:
sp_configure 'show advanced options', 1 sp_configure '显示高级选项' , 1
RECONFIGURE 重新
GO 离去
sp_configure 'awe enabled', 1 sp_configure '敬畏,使' , 1
RECONFIGURE 重新
GO 离去
Restart SQL Server with the following commands:重新启动SQL Server与以下命令:
net stop mssqlserver 净停止MSSQLSERVER
net start mssqlserver 净开始的MSSQLServer
Then, configure memory:然后,配置内存:
sp_configure 'min server memory', 1024 sp_configure '民服务器内存' , 1024
RECONFIGURE 重新
GO 离去
sp_configure 'max server memory', 6144 sp_configure '最大服务器内存' , 6144
RECONFIGURE 重新
GO 离去
Restart the SQL Server after all configuration to make the changes effective.重新启动SQL Server后,所有的配置,使有效的变化。 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卸载和删除多个数据库实例的Microsoft SQL Server 2005
- Error Has Occurred While Establishing A Connection To SQL Server 2005 Which Does Not Allow Local and Remote Connections发生错误的同时,建立连接到SQL Server 2005不容许本地和远程连接
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database启用日志记录慢查询(慢速查询日志)在MySQL数据库
- MySQL Database Performance Tuning Best Practices Video Tutorial MySQL数据库性能调整的最佳做法视频教程
- Increase Terminal Server Speed and Performance增加终端服务器的速度和性能
- Easily Test Drive and Evaluate Microsoft Products with Virtual Hard Disk (VHD)容易驾驶测试和评估的Microsoft产品与虚拟硬盘( vhd )
- Change Oracle Database User Password改变Oracle数据库的用户密码
- Microsoft Virtual Server 2005 R2 Download Available for Free微软Virtual Server 2005 R2的下载,供免费
- Download Free Windows Embedded Server Products with Product Key to Develop Dedicated Server免费下载的Windows Embedded的服务器产品与产品发展的关键专用服务器
- Force Kernel Drivers and System Code to Stay Loaded in Memory to Boost Speed with DisablePagingExecutive Tweak武力内核驱动程序和系统的代码保持加载到内存中,以提高速度与disablepagingexecutive调整

































June 7th, 2008 01:37 2008年6月7日1时37分
[...] RAM is definitely faster than disk I/O. [ … … ] RAM是绝对速度比磁盘的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 [...]页面锁定在内存选项的特权,必须启用配置的地址窗口扩展(敬畏) ,使32位软体应用程式存取更多的物理内存比它的虚拟[ … … ]
August 7th, 2008 11:10 2008年8月7日11时10分
can we get working crack/key for我们可以得到工作,打击/关键
Microsoft SQL Server 2008 Microsoft SQL Server的2008年
thanks谢谢
September 6th, 2008 03:19 2008年9月6日3时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.好文章,但我得到在这里找到西班牙语资源,并进入自动翻译的版本,以西班牙语,不错的功能,为您的博客,但机器的西班牙语是不可读。
again thanks, for the article.再次感谢,为的文章。