Table replication in a database environment
A database and table technology, applied in database distribution/replication, database update, structured data retrieval, etc., can solve problems such as adding complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1—
[0035] Example 1 - Overview
[0036]The following description is directed to techniques and solutions for performing replication of data (eg, database data). For example, efficient replication of database data can be performed using data manipulation (DML) statements and write logshipping. As used herein, a DML statement refers to any statement, command, message, or other instruction that specifies any manipulation of data (eg, insert, update, delete, select). In some implementations, the DML statement is executed (eg, at the first database system) and a write log is created that reflects the DML statement and transaction commit operations. In one example, a separate write log entry is created for each DML statement or transaction commit operation. In a specific example, a write log entry may include a DML statement and associated parameters and / or values (eg, parameters and / or values that may be required when the DML statement is executed at another database system). W...
example 2
[0043] Example 2 - Writing to a log
[0044] In any of the examples herein, a write log can be utilized to replicate a DML statement (eg, a DML structured query language (SQL) statement). For example, a write log format can be created that includes the DML statement with additional information associated with the DML statement (eg, additional information used when executing the DML statement). In some implementations, writing a log entry includes a single DML statement.
[0045] In some implementations, write log entries include transaction identifiers (IDs), DML statements, parameter values, and non-deterministic values. A transaction identifier identifies (eg, uniquely identifies) a DML replication transaction. For example, a transaction identifier may uniquely identify a DML replicated transaction occurring on the source system and one or more replica nodes on which the DML statement is to be executed.
[0046] A DML statement may be a statement for modifying (eg, adding...
example 3
[0056] Example 3—Using DML statements to provide a replicated environment
[0057] In any of the examples herein, techniques may be provided for more efficient replication (eg, replication of database information) utilizing DML statements and writing to a log. For example, DML statements may be executed at the source system and included into a write log for sending (shipping) to the replica system for execution to replicate data between the source system and the replica system for one or more database tables. In addition, DML replication can be applied to different types of storage engines, such as row storage, column storage, and so on.
[0058] In some implementations, the concept of DML replication with write log shipping (eg, DML synchronous replication) aims to perform replication across multiple nodes with minimal replication overhead. However, synchronous replication can result in longer response times because both the source and replica(s) are updated within the same ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


