Ms SQL Server Log File slimming

Source: Internet
Author: User
Tags asp net
Ms SQL Server Log File slimming

Organizations use asp net forums free forum SQL Server 2000
2 years later, the log file is fully loaded with 7 multi-GB hard disks (an oracle test server is also installed on the same server)

If you want to delete LDF offline and then attach it again, the result does not contain LDF and cannot be appended. Find the compression method on the Internet:
1. Set the backup mode of the current database to simple: Right-click the database and select the option tab.
2. Right-click the current database to view the shrinking database in all tasks. Generally, the default settings in the database do not need to be adjusted. Click OK directly.
3. After shrinking the database, we recommend that you set your database attributes to the standard mode. The operation method is the same as the first one, because logs are often an important basis for restoring the database in case of exceptions.

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.