Multi-data center synchronization method supporting remote pulling
A multi-data center, data synchronization technology, applied in the fields of digital data processing, structured data retrieval, special data processing applications, etc. Synchronization volume, improve synchronization efficiency, and ensure the effect of performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Embodiment 1: A multi-data center synchronization method that supports remote fetching, comprising the steps of: when synchronizing data between multiple data centers, fetching is performed according to the data involved in the user SQL statement, and the data block is used as a unit Perform on-demand synchronization; and, when the user performs down-sampling query, only the relevant statistical information is synchronized, but not the data itself; in the process of data compression, there is no need to decode the data block, and there is no need to re-decode it after transferring it to the target database. coding.
Embodiment 2
[0045] Embodiment 2: on the basis of embodiment 1, include sub-steps:
[0046] S1, the local database receives the synchronous SQL statement, analyzes the statement, and judges whether it is necessary to pull the data remotely. If the data needs to be pulled, the statement is transmitted to the remote database, and the SQL statement is judged again to pull the corresponding data;
[0047] S2, transfer the data blocks to be synchronized to the local database;
[0048] S3, rebuilding the upper-lower relationship of the statistical information of the data block.
Embodiment 3
[0049] Embodiment 3: On the basis of Embodiment 2, in step S1, sub-steps are included: when the user executes a query in the local database, the local database will first judge whether the queried data exists in the local database, and if so, directly from the local database. The database acquires data, and if it does not exist, data synchronization is initiated to the remote database in units of Data Pages and the storage location of the data block of the corresponding layer is moved out in advance.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

