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

Method for log mining based on physical level database

A database and log technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of log mining interruption in the disaster recovery library, large impact on the production library, and unsupported problems, so as to ensure safe and stable operation , Ensure consistency and integrity, and reduce performance impact

Active Publication Date: 2016-06-15
STATE GRID CORP OF CHINA +3
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Database log mining technology is widely used in the field of information disaster recovery, mainly based on logical-level log mining technology, but in actual use, because the data mined based on logical-level database cannot support all database objects, resulting in Delivery of mined data to the disaster recovery database cannot guarantee the consistency of data objects
Traditional logic-level log mining is realized by extracting SQL from logs. It does not support the replication of all DDL operations, and does not support the replication of key database functions such as triggers and stored procedures. Often, disaster recovery databases are damaged due to changes in the database structure of the production database. Log mining is interrupted or even crashed, and the integrity of database log mining cannot be guaranteed
At present, the traditional physical-level Redo log mining technology cannot solve the problem of database log mining efficiency, and has a great impact on the production database.

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 for log mining based on physical level database
  • Method for log mining based on physical level database
  • Method for log mining based on physical level database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific embodiments.

[0037] The present invention provides an online log mining method suitable for oracle10g and oracle11g. The system utilizes a primary and backup database replication group to establish its reference relationship, and manages the Oracle database in file system format, bare equipment, and database-based special volumes. Analyze the Redo log in the format of the log, mine the log to capture the data change fragment at the first time of the log change, reset the log flag bit of the data block, and write the data block file to the file system. Realize the real-time mining function of database online logs.

[0038] The invention discloses a physical-level database log mining method. The method adopts a multi-process method to mine data blocks from the o...

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 a method for log mining based on a physical level database. The method comprises the following steps: (1) obtaining the size of a database system data block, an on-line log full path name and a log storage file system format; (2) obtaining current log group information from a database system view, and obtaining operating information; (3) mining log file header information, and obtaining current log series from a log file header; (4) mining a data block after the log file header, mining data of a fixed size each time and recording currently mined cut-off position indexes, and writing a data block content into a newly-built temporary file; (5) when an end mark of the file header is met, writing the end mark into a data block temporary file, ending current file mining, and staring next log file mining. According to the method, consistency and integrity of mined log information and a production library can be achieved fundamentally, and the performance influence on the production library caused by database log mining can be reduced.

Description

technical field [0001] The invention relates to a database log mining method based on a physical level, and belongs to the technical field of database data duplication. Background technique [0002] With the in-depth development of information technology and the continuous upgrading of application systems, data has gradually become a key part of information systems. However, all data processing contains a basic assumption - data availability and reliability. Database technology is currently the mainstream data processing technology in the fields of finance, electric power and telecommunications, and its data availability and reliability have naturally attracted much attention. Database log mining technology is produced under this requirement. [0003] There are two types of log mining technologies for relational databases at home and abroad, one is based on logical-level log mining technology, and the other is based on physical-level Redo mining technology. Database log m...

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/30
CPCG06F16/182G06F16/2465
Inventor 聂庆节刘赛岳峻松张磊胡楠彭巍吴金龙邵佳炜
Owner STATE GRID CORP 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