Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for deploying active-active mechanism of ORACLE database

A technology for deploying devices and databases, applied in the directions of database distribution/replication, database indexing, data processing applications, etc., to achieve the effect of improving stability and high throughput

Pending Publication Date: 2021-07-23
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The present invention realizes the quasi-real-time data synchronization from the first database to the newly-built second database by building the second database and utilizing the characteristics of high concurrency, high throughput and high efficiency of distributed messages based on the bank's distributed message service platform; the application side By extending the MyBatis database access middleware, the transaction-level database access read-write separation is realized, the problem of service interruption caused by database abnormalities is solved, the business impact of service interruptions caused by database software and hardware abnormalities to users is reduced, and the stability and availability are effectively improved.

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for deploying active-active mechanism of ORACLE database
  • Method and device for deploying active-active mechanism of ORACLE database
  • Method and device for deploying active-active mechanism of ORACLE database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0051]Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0052] According to an embodiment of the present invention, a method and device for deployi...

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 discloses an ORACLE database active-active mechanism deployment method and device, which can be used in the technical field of data processing, and the method comprises the following steps: building a second database; creating Topic which needs to be subjected to table synchronization by utilizing distributed message service; setting a database synchronization component, and introducing a transaction application in a Maven mode; according to a transaction generated by the transaction application, judging a transaction generation park, a database table and an operation type, and selecting a database for access according to a judgment result; after the transaction generated by the transaction application is executed, querying full-amount information of data to be synchronized by quoting an annotation provided by a database synchronization component, and writing the data to be synchronized into a specified Topic by the database synchronization component; creating a to-be-synchronized data consumer group, subscribing the specified Topic by the consumer group, pulling the to-be-synchronized message, and persisting the message to the current database according to the data in the current database and the data timestamp in the to-be-synchronized message.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for deploying an active-active mechanism of an Oracle database. Background technique [0002] At present, transaction applications launched by banks use Oracle databases when storing application transaction data, such as ICBC's "Merchant Home". refer to Figure 6 , which is a schematic diagram of merchant home deployment in the prior art. Among them, the database is usually deployed in the master-standby mode, and the database synchronization between the master database and the standby database is realized through Oracle DataGuard. When the primary database system or the hardware in the resource domain is abnormal, the primary-standby switchover mechanism provided by Oracle is used to complete the primary-standby switchover. It takes at least 30 minutes from the start of the emergency primary-standby switchover to the normal provision of services by t...

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): G06F16/22G06F16/2455G06F16/27G06Q40/02
CPCG06F16/2282G06F16/27G06F16/24553G06Q40/02
Inventor 刘永伟赵于凡卢晓露郭旭
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products