Method and device for backing up database logs

A database and log technology, applied in the computer field, can solve the problems that the method of real-time monitoring of file generation and backup cannot be performed, the manual backup cycle is uncertain, and the impact of user settings, etc., to reduce the risk of data loss, improve backup efficiency, reduce The effect of human cost

Inactive Publication Date: 2016-07-20
久盈世纪(北京)科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the advent of the era of big data, data security issues have been paid more and more attention. Backing up archived logs in the database is an effective means to protect data security. In the existing technology, the database often adopts the RAC (Real Application Clusters, real-time application cluster) environment Ensure its high availability, and in the RAC environment, logs are usually stored in the ASM (Automatic Storage Management, automatic storage management) file system. In this file system, data needs to be read by tools, and the method of real-time monitoring of file generation and backup cannot be carried out. Therefore, only manual backup can be used when archiving log backup, or automatic backup can be performed with the help of tools provided by ASM
However, manual backup has problems such as uncertain backup cycle and low efficiency, automatic backup with tools has repeated backup, will be interfered by the external environment, and backup will affect user settings, etc.

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 backing up database logs
  • Method and device for backing up database logs
  • Method and device for backing up database logs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The application will be described in further detail below in conjunction with the accompanying drawings.

[0023] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0024] Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and / or nonvolatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0025] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acc...

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 application aims to provide a method and device for backing up database logs. The method comprises the specific steps: acquiring a list of database log files; placing the list of log files in a transmission queue, wherein logs in the list of files are arranged according to a preset log sequence; acquiring log files corresponding to the list of log files; transmitting the log files to a corresponding server according to the log sequence. Compared with the prior art, the application enables logs in an ASM system in an RAC (real application cluster) environment to be automatically backed up for the purpose of orderly transmission of complete log files by: acquiring the list of database log files, ranking and placing the files in the transmission queue, and transmitting the log files to the corresponding server according to the log sequence of the transmission queue after the log files corresponding to the list of log files are acquired; labor cost is reduced, backup efficiency is improved, and original settings in a database by a user are unaffected.

Description

technical field [0001] The present application relates to the computer field, in particular to a technology for database log backup. Background technique [0002] With the advent of the era of big data, data security issues have been paid more and more attention. Backing up archived logs in the database is an effective means to protect data security. In the existing technology, the database often adopts the RAC (Real Application Clusters, real-time application cluster) environment Ensure its high availability, and in the RAC environment, logs are usually stored in the ASM (Automatic Storage Management, automatic storage management) file system. In this file system, data needs to be read by tools, and the method of real-time monitoring of file generation and backup cannot be carried out. Therefore, only manual backup can be used when archiving log backup, or automatic backup can be performed with the help of tools provided by ASM. However, manual backup has problems such as ...

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/21
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