Log shipping

Log shipping is the process of automating the backup of a database and transaction log files on a primary (production) database server, and then restoring them onto a standby server. This technique is supported by Microsoft SQL Server,[1] 4D Server,[2] MySQL[3] and PostgreSQL.[4][5] Similar to replication, the primary purpose of log shipping is to increase database availability by maintaining a backup server that can replace production server quickly.

Although the actual failover mechanism in log shipping is manual, this implementation is often chosen due to its low cost in human and server resources, and ease of implementation. As comparison, SQL server clusters enable automatic failover, but at the expense of much higher storage costs. Compared to database replication, log shipping does not provide as much in terms of reporting capabilities, but also backs up system tables along with data tables, and locks standby server from users' modifications.[6] A replicated server can be modified (e.g. views) and therefore is not suitable for failover purposes.

References

  1. How to Perform SQL Server Log Shipping, "What is Log Shipping". Retrieved on 2008-12-16.
  2. "Setting Up a Logical Mirror". 4D Server v14 Documentation.
  3. "MySQL :: MySQL 5.7 Reference Manual :: 17.1 Configuring Replication". mysql.com.
  4. "Warm Standby Servers for High Availability". PostgreSQL 8.2.19 Documentation.
  5. "Hot Standby". PostgreSQL Wiki. Retrieved 2011-01-25.
  6. Ibison, Paul. "Log Shipping vs Replication". SQLServerCentral.com. Retrieved 2009-08-07.

External links


This article is issued from Wikipedia - version of the 11/8/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.