Data synchronization method based on oracle database

A data synchronization and database technology, applied in the database field, can solve problems such as the complexity of service program design, unfavorable service program business processing, business processing logic impact, etc., to facilitate maintenance, facilitate unified management and control, and reduce complexity Effect

Inactive Publication Date: 2013-04-03
中国人民解放军第二炮兵装备研究院第四研究所
View PDF2 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the service program processes synchronous data, it needs to coordinate the relationship with the business data processing and affect the business processing logic, and the service program needs to maintain the transmission channel resources and manage the transmission and processing of the synchronous data, which leads to the service program design The complexity of implementation is not conducive to the business processing of service programs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Embodiment 1: a kind of data synchronization method based on oracle database is characterized in that:

[0062] A. During data synchronization:

[0063] The master server performs the following steps

[0064] a1.1: Configure the initial logic state and related parameters;

[0065] a1.2: Notify the logical role status to other servers;

[0066] a1.3: Receive notifications of logical role status from other servers;

[0067] a1.4: Close all application service programs;

[0068] a1.5: configure oracle database log related parameters;

[0069] a1.6: Export database business-related data to files and compress;

[0070] a1.7: Send the export data file to the backup server;

[0071] a1.8: Start all application service programs;

[0072] a1.9: Wait for the backup server import completion notification;

[0073] a1.10: Scan database log file records;

[0074] a1.11: Analyze database log file records and analyze database data changes;

[0075] a1.12: Record and compress ...

Embodiment 2

[0117] Embodiment 2: In the data synchronization method based on the oracle database described in Embodiment 1, it is characterized in that: the data exchange is performed through UDP multicast between the primary server and the backup server.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of the database, and particularly relates to a data synchronization method. The data synchronization method based on an oracle database comprises the following steps of: exporting business related data by a host, and sending the business related data to a standby machine importing database; scanning a database log on the host; recording data variation to a local log file; compressing and sending the local log file to the standby machine; and after the standby machine receives synchronized data, analyzing into the local log file which is consistent with the host data. When the host fails, the logic states of the host and the standby machine are revised by a control program, and the standby machine replaces the host to continue to work. If the host fails to cause host communication faults, the standby machine is directly operated by the control program to be forcedly switched into the host, so as to continuously support the system to operate. According to the data synchronization method based on the oracle database, which is disclosed by the invention, data synchronization service is independent from a service program, the service program design complexity is lowered, a transmission channel is uniformly managed, and the data synchronization method based on the oracle database is suitable for special requirements, such as the encryption and decryption processing of the data channel.

Description

technical field [0001] The invention belongs to the technical field of databases, in particular to a data synchronization method. Background technique [0002] In high-reliability application systems, dual-machine backup is usually used for servers. When the master server of the two backup servers fails, the backup server will continue to work instead of the original master server. During the running of dual-server backup, the service program needs to synchronize data between the two servers to ensure that the backup server can take over the work of the primary server. When the service program processes synchronous data, it needs to coordinate the relationship with the business data processing and affect the business processing logic, and the service program needs to maintain the transmission channel resources and manage the transmission and processing of the synchronous data, which leads to the service program design The complexity of implementation is not conducive to the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30H04L29/08
Inventor 向刚杨宝铭张伟李贤玉靳婷于静一
Owner 中国人民解放军第二炮兵装备研究院第四研究所
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products