With SQL Server's default configuration, the system responds slowly (or even hung) in the production environment.

Source: Internet
Author: User

Please pay attention to and correctly configure the SQL Server instance and database parameters, the generalized configuration is recommended as follows:

1, the initial size of the data and log files are set to 10G and 2G respectively, are set to the fixed 200M size growth , not limit the maximum value;

2, the sever instance sets the maximum degree of parallelism to 1 (maximum not more than 4), or the parallel cost threshold is 20;

Without changing the default configuration of SQL Server, in a production environment where the system responds slowly (or even hung), the wait events for thread interaction caused by log expansion and parallel computing are as follows:

With SQL Server's default configuration, the system responds slowly (or even hung) in the production environment.

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.