Dynamic Table Replication for Failover Refresh Continuity

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvedisaster recovery capabilityVSAvoidreplication management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

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.

Inventive Principle:
Principle #26Copying

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.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If dynamic tables are replicated for disaster recovery and data sharing, then data accessibility is improved, but processing overhead increases

Engineering Contradiction:
Improvedata sharing capabilityVSAvoidprocessing overhead
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

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.

Inventive Principle:
Principle #16Partial or excessive action

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.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If streams and tasks are used for query configuration, then query execution capability is improved, but device complexity increases

Engineering Contradiction:
Improvequery execution efficiencyVSAvoidquery configuration complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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.

Inventive Principle:
Principle #5Merging (Combining)

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.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250342174A1Replication of dynamic tables
Publication Date: 2025.11.06 SNOWFLAKE INC
  • US20250342174A1 patent drawing
  • US20250342174A1 patent drawing
  • US20250342174A1 patent drawing

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.