SQL Server views the cache and reasonably sets the maximum memory

Source: Internet
Author: User
SQL Server servers run for a while to find that memory is growing exponentially to 98%. Workaround: Restart the host computer to restart the SQL Server service setting maximum memory the first two methods are less suitable for the online environment and the indicator does not recommend setting the maximum memory if there are SQL Server servers constantly eating memory In addition to adding physical memory, it is recommended to run a command to see how much memory the current database consumes, select Counter_name, LTrim (cntr_value*1.0/1024/1024) + ' G ' as MEMORYGB from Master.sys.dm_os_performance_counters where counter_name like '%target%server%memory% ' or counter_name like '%total% memory% ' Wkiom1wajxvy5nrkaagtkhki43e531.jpg then based on the return value to determine whether the current system memory is not a problem with SQL Server if the cache is very large recommended to set the maximum cache 8G memory My environment is to SQL Server 7G Reserved 1G for System wkiol1waka6xxsoxaaj8m2kcboo942.jpg In addition, Windows servers can sometimes occur when the system process takes up a lot of memory, both of which may have occurred because the system did not activate the patch after the general restart caused by the Back to normal (the online environment restart, almost a small heart to jump out) so let's activate it ...

SQL Server views the cache and reasonably sets the maximum memory

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.