SQL Server 2005 High availability log Shipping

Source: Internet
Author: User
Tags log sql backup

SQL Server 2005, compared to SQL Server 2000来, says that there is a considerable improvement in performance and functionality, even the "revolution" to describe the upgrade. SQL Server 2005 makes SQL Server the top tier of enterprise databases. For data high availability, SQL Server 2005 provides users with data mirroring, replication, failover clustering, and log shipping capabilities. This article gives readers a brief introduction to SQL Server 2005 log shipping capabilities.

Introduction of log Shipping

Log shipping typically consists of a primary server, a secondary server, and a monitoring server (see Figure 1). The primary server is typically the server where the production database is stored, and the secondary server is used to store a copy of the production database on the primary server, and the monitoring server is optional for all detail servers used to log shipping. Log shipping is the transaction log of the primary server's production database replicated to the secondary server and restored at the secondary server to achieve consistency between the primary server production database and the secondary server database replica data.

Figure 1

Log shipping requires the primary server production database log recovery mode to be full or bulk-logged, and switching the database to the simple recovery model causes log shipping to stop working. The secondary server is the server that is used to save the most recent backup of the primary database. A secondary server can contain backup copies of databases from multiple different primary servers. For example, a department might have five servers, and each server would run a critical database system. In this case, you can use only one secondary server without having to use five separate secondary servers. Backups on five primary systems can be loaded into the backup system, reducing the amount of resources required and saving money. The monitoring server should be independent of the primary and secondary servers to avoid loss of critical information and interruption of monitoring due to loss of primary or secondary servers. A single monitoring server can monitor multiple log shipping configurations. In this case, all log shipping configurations that use the monitor server will share an alert job.



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.