Migrate log files in publishing and replication mode in SQLServer Series

Source: Internet
Author: User
I. cause of the problem as database files increase, the storage disk space becomes increasingly insufficient. At the same time, to improve the database performance, Database Log File migration is particularly important, that is, the primary and log files of the database are stored on different disks. 2. Try to migrate the migration log file. First, consider the Detach and Attach methods to enable

I. cause of the problem as database files increase, the storage disk space becomes increasingly insufficient. At the same time, to improve the database performance, Database Log File migration is particularly important, that is, the primary and log files of the database are stored on different disks. 2. Try to migrate the migration log file. First, consider the Detach and Attach methods to enable

I. Cause

With the increasing number of database files, the website space and storage disk space become increasingly insufficient. In Hong Kong virtual hosts, Database Log File migration is particularly important to improve database performance, that is, the primary and log files of the database are stored on different disks.

Ii. Try migration

Log files are migrated to Hong Kong servers for rent. The first thought is the Detach and Attach methods. You can use either of the following methods:

1. Script

SP_DETACH_DB,

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.