Diskless Standby Database Replication via Shared De-duplication Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Scalable solutions for read-intensive database systems face challenges in maintaining performance and storage efficiency as data grows, particularly in multi-node systems where each standby replica requires independent storage expansion, leading to communication overhead and storage scalability issues.

Innovation Solution

Implementing a multi-node system with shared de-duplication storage and diskless standby database systems, where a single copy of physical database files is stored and updated, and asynchronous notifications ensure data consistency across diskless standbys, allowing for efficient handling of read-only queries without direct coordination among standbys.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If each standby replica maintains independent storage, then data consistency and reliability are improved, but storage scalability and system complexity worsen

Engineering Contradiction:
Improvedata consistencyVSAvoidstorage scalability
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Multiple standby replicas share a common storage system through de-duplication, merging their storage resources into a single pool. This allows N standby replicas to access the same physical storage without requiring N separate storage systems, thereby improving scalability while maintaining data consistency through the de-duplication mechanism

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent uses de-duplication technology to create logical copies of data blocks across multiple standby replicas while storing only one physical copy. This allows each standby to have its own data view for consistency while sharing physical storage resources, resolving the contradiction between reliability and scalability

Inventive Principle:
Principle #26Copying

2Productivity

If multiple standby replicas are deployed, then read performance is improved, but communication overhead and storage needs increase

Engineering Contradiction:
Improveread performanceVSAvoidstorage needs
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

Multiple standby replicas share a common storage system, merging their storage requirements into a single pool. This eliminates redundant storage across replicas and reduces overall storage needs while allowing multiple standbys to concurrently handle read operations, thereby improving read performance without proportionally increasing storage requirements

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If standby replicas coordinate directly, then data consistency is maintained, but communication overhead increases

Engineering Contradiction:
Improvedata consistencyVSAvoidcommunication overhead
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The common storage system acts as an intermediary between multiple standby replicas, providing a centralized mechanism for maintaining data consistency. Instead of direct peer-to-peer coordination which generates communication overhead, each standby interacts with the shared storage through de-duplication metadata, reducing communication requirements while maintaining consistency

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9146934B2Reduced disk space standby
Publication Date: 2015.09.29 ORACLE INT CORP
  • US9146934B2 patent drawing
  • US9146934B2 patent drawing
  • US9146934B2 patent drawing

AI summary

A method and system for replicating database data is provided. One or more standby database replicas can be used for servicing read-only queries, and the amount of storage required is scalable in the size of the primary database storage. One technique is described for combining physical database replication to multiple physical databases residing within a common storage system that performs de-duplication. Having multiple physical databases allows for many read-only queries to be processed, and the de-duplicating storage system provides scalability in the size of the primary database storage. Another technique uses one or more diskless standby database systems that share a read-only copy of physical standby database files. Notification messages provide consistency between each diskless system's in-memory cache and the state of the shared database files. Use of a transaction sequence number ensures that each database system only accesses versions of data blocks that are consistent with a transaction checkpoint.