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 我的数字生活论坛 .



3 Responses to “Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE” 3回应“优化的SQL Server 2000 , 2005或2008年在大型的RAM系统的页面锁定在内存和敬畏”

  1. Enable Lock Pages in Memory to Prevent Database Paging to Disk » Tip and Trick使锁的页面在内存中,以防止数据库内容分页到磁盘»提示和伎俩
    June 7th, 2008 01:37 2008年6月7日1时37分
    1

    [...] 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位软体应用程式存取更多的物理内存比它的虚拟[ … … ]

  2. torrentleech
    August 7th, 2008 11:10 2008年8月7日11时10分
    2

    can we get working crack/key for我们可以得到工作,打击/关键
    Microsoft SQL Server 2008 Microsoft SQL Server的2008年
    thanks谢谢

  3. ppamo
    September 6th, 2008 03:19 2008年9月6日3时19分
    3

    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.再次感谢,为的文章。

Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

sql server awe SQL Server的敬畏 - - optimize sql server 2005 优化SQL Server 2005的 - - sql server memory SQL Server记忆体 - - sql 2005 awe 2005年的SQL敬畏 - - sql server 2005 awe SQL Server 2005的敬畏 - - sql server 2000 awe SQL Server 2000的敬畏 - - SQL server RAM SQL Server的内存 - - sql 2000 awe 2000年的SQL敬畏 - - sql awe 敬畏的SQL - - Optimize SQL 优化的SQL - - SQL Server 2000 memory SQL Server 2000的记忆 - - awe sql server 敬畏的SQL Server - - optimize sql 2005 优化的SQL 2005 - - all 全部 - - sql 2005 reconfigure 2005年的SQL重新 - - optimizing sql server 2005 优化SQL Server 2005的 - - optimizing sql 2005 优化的SQL 2005 - - sql server 2005 awe memory SQL Server 2005的AWE内存 - - sql server 2005 memory optimization SQL Server 2005的内存优化 - - sql 2005 not using all ram 2005年的SQL没有使用所有的RAM - - sql server memory optimization SQL Server内存优化 - - sql 2005 memory 2005年的SQL记忆 - - SQL 2005 memory optimization 2005年的SQL优化内存 - - how to turn on Address Windowing Extensions in sql 2005 如何打开地址窗口扩展在SQL 2005 - - awe memory sql 2005 AWE内存的SQL 2005 - - optimize sql memory 优化的SQL记忆 - - sql 2005 optimizing 2005年的SQL优化 - - optimize sql 2000 优化的SQL 2000 - - sql 2005 RAM 2005年的SQL的RAM - - enable awe sql server 2005 使敬畏的SQL Server 2005 - - SQL Server AWE memory SQL Server的AWE内存 - - optimize sql server 2000 优化SQL Server 2000的 - - optimize sql server 优化SQL Server的 - - sql server memory SQL Server记忆体 - - Cannot use Large Page Extensions: lock memory privilege was not granted. 不能使用大型页的扩展:锁定内存的特权,不是理所当然的。 - - awe sql 2005 敬畏的SQL 2005 - - awe sql 2003 敬畏的SQL 2003 - - awe in sql 2005 敬畏在SQL 2005 - - sql server turned on awe bigger page file SQL Server的打开了更大的敬畏页文件 - - how to set sql 2000 options 如何设定2000年的SQL选项 - - sql server 2005 32 bit memory optimization awe enable SQL Server 2005的32位元记忆体优化AWE启用 - - SQL AWE MEMORY 的SQL AWE内存 - - lock memory pages privilege windows vista home premium 64 bit 锁定记忆体页面的特权, Windows Vista家庭高级版64位 - - Optimize Windows 2003 Server running SQL 2005 Server 优化Windows 2003 Server的运行SQL Server 2005服务器 - - sql 2005 more than 4 gigabyte ram 2005年的SQL 4个以上的技嘉科技的RAM - - awe +sql +enable 敬畏的SQL + + ,使 - - awe enabled 博览馆启用 - - Free memory SQL 2005 可用记忆体的SQL 2005 - - MSSQL AWE mssql敬畏 - - windows 2008 AWE 在Windows 2008敬畏 - -