[Recommended] SQL Server actually grabs memory

Source: Internet
Author: User
Tags domain server

Principle: The dynamic memory allocation mechanism introduced by SQL Server 2000 is generally unable to recycle the memory well. If the computer is never shut down, the memory will be exhausted. You can choose to shut down once a week to avoid it, or use the following methods to suppress memory growth.

1. Start SQL enterprise manager on the server-Microsoft SQL Server-Enterprise Manager
2. Open the console tree on the right after startup: console root directory \ Microsoft SQL Server \ SQL Server group \ (local ).
3. Right-click the (local) node and select "properties" to view an SQL server attribute (configuration) form.
4. Select "Memory" to go to the memory configuration page. Limit the maximum memory value to a certain range. Generally, the ratio is as follows:
A) if it is only used for database servers, it is 80-90% of the total memory.
B) If you are also a Domain Server, generally 60-70%
C. If you have also served as a Web server, we recommend that you set the maximum value to 60%.
5. After setting, click OK and restart the SQL Server service to make it take effect.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.