Zero-Copy Cloning of Dynamic Tables Without Full Reinitialization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing database technologies face challenges in efficiently configuring and managing dynamic tables (DTs) due to time-consuming and costly reinitialization processes during cloning, especially when the table history is not up to date, limiting the usability and efficiency of incremental refreshes.
Innovation Solution
The implementation of zero-copy cloning techniques for DTs, which utilize the available history from clone sources to perform incremental refreshes, avoiding full reinitialization and reducing the computational overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If full reinitialization is performed during DT cloning, then data consistency is ensured, but time consumption and computational cost increase significantly
Solution Approach 1:
The system performs preliminary actions by capturing and storing table history information (metadata, schema, data snapshots) before cloning occurs. This pre-prepared history enables the cloned DT to resume incremental refresh operations without requiring full reinitialization, thus reducing time consumption while maintaining data consistency through the use of pre-validated history data
Solution Approach 2:
The invention creates a copy of the table history from the source DT and applies it to the cloned DT. This copying mechanism allows the cloned table to inherit historical state information, enabling incremental refresh operations to continue efficiently without repeating the entire reinitialization process, thereby resolving the contradiction between speed and consistency
2Reliability
If full reinitialization is performed during DT cloning, then data completeness is ensured, but computational overhead and cost increase
Solution Approach 1:
The system extracts only the necessary history information (metadata, schema, relevant data snapshots) from the source DT rather than copying entire datasets. This selective extraction reduces computational overhead and resource consumption during cloning while ensuring data completeness by capturing all essential elements needed for incremental refresh operations
Solution Approach 2:
The invention applies partial action by performing only the necessary reinitialization steps for the cloned DT based on its specific needs and the available history, rather than executing a complete reinitialization. This approach reduces computational overhead by avoiding redundant operations while still ensuring data completeness through targeted initialization of critical components
3Productivity
If incremental refresh is used without up-to-date history, then computational efficiency is improved, but data accuracy deteriorates
Solution Approach 1:
The system performs preliminary validation and verification of the table history before using it for incremental refresh operations. This pre-check ensures that the history data is accurate and up-to-date, maintaining data accuracy while enabling efficient incremental refresh operations without requiring full reinitialization
Data Source
AI summary
Provided herein are systems and methods for a zero-copy clone of a DT. A method includes performing a clone operation on a dynamic table (DT) to generate a cloned DT. The DT is based on a query applied on a base table. The cloned DT is based on the query applied on a cloned base table corresponding to the base table. A first delta is determined based on at least one change in the base table between a first version of the base table used by the DT at a time of the clone operation and a second version of the base table generated prior to the clone operation. A first refresh operation of the cloned DT is performed based on the first delta.


