Dynamic Table Replication for Failover Refresh Continuity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing database systems face challenges in efficiently managing and replicating dynamic tables, particularly in disaster recovery and data sharing scenarios, leading to increased processing overhead and management complexity due to limitations in query configurations and the use of streams and tasks.
Innovation Solution
The implementation of dynamic table (DT) replication techniques that allow dynamic tables to be replicated for disaster recovery and data sharing, with secondary replicas configured to behave like regular tables, enabling automated refreshes and data sharing across deployments, while reducing processing overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If dynamic tables are replicated for disaster recovery and data sharing, then reliability and data accessibility are improved, but device complexity and processing overhead increase
Solution Approach 1:
The patent implements copying by creating a replica dynamic table that mirrors the structure and data of the original dynamic table. The replica is initialized by copying the schema definition and can be populated with data through replication mechanisms, enabling disaster recovery and data sharing without requiring manual recreation of the table structure.
Solution Approach 2:
The patent applies preliminary action by pre-configuring the replica dynamic table with the same schema and structure as the original table before a failure occurs. The replication setup is prepared in advance, including defining the replication relationship between primary and secondary tables, so that when a failure happens, the replica can be activated quickly without requiring complex real-time configuration.
2Adaptability or versatility
If dynamic tables are replicated for disaster recovery and data sharing, then data accessibility is improved, but processing overhead increases
Solution Approach 1:
The patent implements partial action by selectively replicating only the necessary components of the dynamic table - specifically the schema definition and data - rather than replicating the entire table structure, indexes, and associated metadata. This partial replication approach reduces the processing overhead while maintaining the essential data sharing capability.
Solution Approach 2:
The patent extracts the core functionality needed for data sharing by separating the essential data and schema from the complete table definition. The replica dynamic table contains only the necessary data and structure for sharing purposes, excluding redundant components, thereby reducing processing overhead while maintaining adaptability for data sharing scenarios.
3Productivity
If streams and tasks are used for query configuration, then query execution capability is improved, but device complexity increases
Solution Approach 1:
The patent merges the concepts of streams and tasks into a unified dynamic table replication mechanism. Instead of managing separate stream objects and task configurations for data replication, the system combines these functions into a single replicated dynamic table structure that handles both streaming data and task execution through a consistent interface, thereby reducing overall system complexity.
Solution Approach 2:
The patent applies universality by designing the replicated dynamic table to serve multiple functions simultaneously - it acts as a regular table for data storage, a stream for data flow, and a task target for processing operations. This multi-functional design eliminates the need for separate query configuration mechanisms, reducing device complexity while maintaining query execution efficiency.
Data Source
AI summary
Provided herein are systems and methods for dynamic table replication. A method includes configuring a first DT within a first failover group. The method further includes causing replication of the first DT from a primary deployment of a network-based database system to a second DT in a secondary deployment of the network-based database system. The method further includes configuring the second DT as a primary DT in the secondary deployment based on detecting a failover event in the primary deployment. The method further includes performing an automatic refresh of the primary DT in the secondary deployment based on a scheduling state of the first DT in the primary deployment prior to the failover event.


