Solution to online SQL Server Service Failure

Source: Internet
Author: User

Two days ago, I made a very serious mistake. When I was observing the SQL Server database time, due to the adjustment of the service, I accidentally restarted the SQL Server service. Maybe everyone felt this was okay, however, for an online DB that supports tens of millions of PVS a day, the problem is serious. The SQL Server service cannot be started after it is stopped. It is too speechless. Because the site traffic is too large, the SQL Server server is online and cannot be restarted, you can only stop IIS from the three sites accessing this dB, and then restart the DB server. Restart the DB server.

You should note that you can handle the problem that the online dB service cannot be started:

1. Stop all web IIS accessing this DB

2. Restart the DB Server

3. After the DB server is restarted, you cannot immediately switch the links of all sites to this dB. You must first switch back a site with a small access volume and then switch it one by one. The standard is to look at the memory of the DB server. Because the DB is very memory-consuming, the table structure, connection string, query optimizer, and user authentication information must be cached in the memory in the early stage, therefore, it is forbidden to direct large traffic to the newly restarted DB server.

4. Through this error, it is found that the Web site accessing the DB through the Intranet must be restored first, while the access from the Internet is a little slower.

Fortunately, the boss did not say anything. Be careful when operating online databases.

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.