Essay Undergraduate 1,554 words

Database Shadowing and Mirroring: How It Works

~8 min read
Abstract

This paper provides a comprehensive overview of database shadowing, also known as mirroring, as a strategy for protecting data against hardware failure and corruption. It explains how shadow copies of a database are maintained in parallel with a master copy, ensuring continuous availability and rapid recovery. The paper covers the step-by-step check-in and check-out process of a database shadowing system, examines key vendors including Mimer SQL and Imaging Solutions, and evaluates the major advantages and disadvantages of the approach. Topics such as disk space requirements, data clustering issues, RAID alternatives, and real-time data recovery are also discussed.

📝 How to Write This Type of Paper Writing guide — click to expand

What makes this paper effective

  • Provides a clear, structured definition of database shadowing before moving into technical detail, making the paper accessible to readers with varying levels of prior knowledge.
  • Balances discussion of advantages with an honest treatment of limitations, giving the paper analytical credibility rather than reading as promotional material.
  • Grounds abstract concepts in a real-world application (Mimer SQL) to illustrate how shadowing is implemented in practice.

Key academic technique demonstrated

The paper demonstrates the technique of definition-first exposition: it introduces and defines the central concept thoroughly before analyzing its components, applications, and trade-offs. This organizational strategy ensures that readers share a common understanding of the subject before encountering more complex technical claims.

Structure breakdown

The paper opens with a conceptual definition of database shadowing, then moves into the operational mechanics of how shadowing systems process data. It profiles key vendors, notably Mimer SQL, before transitioning into an extended evaluation of advantages and disadvantages. The conclusion situates shadowing within broader concerns about business continuity and disaster recovery. Each section builds logically on the previous one, moving from definition to mechanism to application to evaluation.

What Is Database Shadowing?

Database shadowing means that a database is able to work with two or more copies of itself at the same time. Among these copies, the original — referred to as the "master" — is the normal file from which data is retrieved. The other copies are called "shadows" or, at times, "mirrors." Whenever an alteration or change of any kind must be made to the master, the same changes must also be made to the shadows, so that each shadow is always up-to-date with the master copy. All changes must be made separately to each shadow so that there is no corruption of the master, and so that any physical corruption of the master is not inadvertently transferred to the shadows. (Resilience)

In the application Mimer SQL, shadowing is generally controlled at the databank level. In any databank where there is a minimum of transaction control, the database can be shadowed to as many copies as required at any given time. This means that important data can be well protected against corruption or disk crashes without having to rely on the traditional methods of maintaining backups. If a disk crash or failure occurs in the drive where the master data is stored, operations automatically continue using the shadows, without any interruption.

The key benefit of maintaining shadows is that work can continue uninterrupted. Without shadows, a disk failure would require a time-consuming process of restoring the master database from backup files stored on tapes or other media. With shadowing, the application is kept up and running at all times. The database manager can choose a convenient time, transform the shadows into master databanks, and create new shadows based on the updated data. Importantly, maintaining shadows has no impact on running time or response times. Background threads carry out the various changes made to the master databank and to the shadows without affecting the users of the application. (Resilience)

How Database Shadowing Works

A database shadowing system is able to perform both data check-in and check-out functions, and this is generally accomplished in several steps. First, the data stored in a database that must be edited is identified, so that copies or shadows can be made. Second, the relevant data is copied from the database to an active memory file, so that an active memory copy can be successfully isolated from the original data item. Third, a particular tag is associated with the active memory copy of the data item, or the state of that data item is changed.

The next step involves tagging, depending on the completed operation performed on the active memory copy of the data item. Finally, all changes made to the active memory copy are saved to the database data item by issuing a "Save" command. After this, the data item tag of the active memory copy controls the way in which the database items may be changed or transformed. (Database Shadowing System with data tags that select an operation of the save command)

Key Vendors: Mimer SQL and Others

There are several vendors of database shadowing systems, and Mimer is one of them. Mimer is a relational database management system developed by Sysdeco Mimer AB in Uppsala, Sweden. It is a high-speed database engine targeted at mission-critical production environments. Important features include scalable presentation and multi-processor support, along with availability on UNIX, Windows NT, Windows 95, Windows 98, and Open VMS platforms. Mimer is well suited to open environments in which interoperability is essential. Its key characteristics include high performance, ease of use, self-tuning capabilities, and built-in stability.

These features make Mimer one of the better choices for software products with an embedded DBMS intended for Internet, intranet, and extranet applications, where maximum database uptime and minimal database administration are real requirements. The program conforms 100% to general SQL standards and is also a native implementation of ODBC (Open Database Connectivity), the Microsoft interface. Mimer can be accessed by numerous development tools and is well suited to mission-critical multi-tier solutions. Its conformance to SQL standards makes it compatible with various transaction processing middleware products based on CORBA and OTM techniques. (Mimer 8, Product Overview)

Another company offering database shadowing systems is Imaging Solutions. Founded in 1994, the company states that its mission is to provide a complete suite of products and services needed to create an appropriate ECM (Enterprise Content Management) solution tailored to specific requirements in the area of database shadowing and mirroring. (Welcome, a Cautionary Tale)

2 Locked Sections · 500 words remaining
Sign up to read these 2 sections

Advantages of Database Shadowing · 340 words

"Key benefits including rapid recovery and availability"

Disadvantages and Limitations · 160 words

"Data corruption risks and clustering issues"

Conclusion

Some people opine that shadowing alone is not an adequate solution, and that if a regional disaster or outage were to occur, the entire production environment may be affected. The Remote Data Recovery Facility used by many companies ensures that relevant data is not only well protected but also insulated against further risk of loss through the process of shadowing. This approach is an excellent solution for read-only functions such as data warehousing and mining, batch reporting cycles, complex SQL queries, load balancing, and local online access at the shadow site. Information and data can be safeguarded using the system of shadows for database applications. (Data Recovery without data loss)

You’re 54% through this paper. Sign up to read the remaining 2 sections.

Sign Up Now — Instant Access Already a member? Log in
130,000+ paper examples AI writing assistant Citation generator Cancel anytime
Key Concepts in This Paper
Database Shadowing Shadow Files Mimer SQL Data Recovery Disk Failure Master Copy Background Threads RAID Solutions Data Mirroring Transaction Control
Cite This Paper
PaperDue. (2026). Database Shadowing and Mirroring: How It Works. PaperDue. https://www.paperdue.com/study-guide/database-shadowing-mirroring-explained-68972

Always verify citation format against your institution’s current style guide requirements.