Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15.06.2007, 21:38   #4
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

You may want to look at optimizing your Operating System and SQL.

1st Prevent SQL from paging to the cache file. You didn't include your SQL version but if you're using 2k5 enterprise there's a nice TechNet article here: http://support.microsoft.com/kb/918483

Excerpt:
How to lock pages in memory for an instance of SQL Server 64-bit
In SQL Server 64-bit, you can improve performance by locking memory that is allocated for the buffer pool in physical memory. To enable this capability in SQL Server 64-bit, you must grant the SQL Server startup account the Lock pages in memory permission. When you enable this option, you must restart the computer. To do this, follow these steps:
1. Click Start, click Run, type gpedit.msc, and then click OK. The Group Policy window appears.
2. In the left pane, expand Computer Configuration, and then expand Windows Settings.
3. Expand Security Settings, and then expand Local Policies.
4. Click User Rights Assignment. The policies appear in the right pane.
5. In the right pane, double-click Lock pages in memory.
6. In the Local Security Policy Setting dialog box, click Add User or Group.
7. In the Select Users or Groups dialog box, add the account that has permissions to run Sqlservr.exe, and then click OK.
8. Close the Group Policy window, and then restart the SQL Server service.

After you restart the SQL Server service, all memory that is allocated for the buffer pool will be ineligible for paging by Windows. The buffer pool retains the ability to respond to memory resource notification events and dynamically grow or reduce in response to these events. Allocations that are locked in memory will no longer be visible in any one of the following locations:

• The Private Bytes and Working Set counters in Performance Monitor
• The Mem Usage column on the Processes tab in Windows Task Manager

You may also want to make sure that critical operating system files are held in memory as well. Use google to find one of a dozens of excellent articles.

Another performance option, move your swap file to a different drive.
khelben is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:41.