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

Method and device of realizing reading-writing separation

A technology of read-write separation and write operation, applied in the computer field, can solve the problems of low database efficiency, achieve the effects of reducing waiting, shortening waiting time, and improving efficiency

Inactive Publication Date: 2018-02-16
SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above description that the efficiency of accessing the database in the prior art is low

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 of realizing reading-writing separation
  • Method and device of realizing reading-writing separation
  • Method and device of realizing reading-writing separation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0052] Such as figure 1 As shown, the embodiment of the present invention provides a method for realizing read-write separation, and the method may include the following steps:

[0053] Step 101: pre-setting the primary database and the secondary database;

[0054] Step 102: pre-setting query interface and writing interface;

[0055] Step 103: realiz...

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 provides a method and a device of realizing reading-writing separation. The method includes: presetting a main database and a subsidiary database; presetting a query interface and a writing interface; realizing real-time synchronization of at least one target data table in the main database and the subsidiary database; utilizing the writing interface to execute a writing operation onthe at least one target data table in the main database when the writing operation needs to be executed on the at least one target data table; utilizing the query interface to execute receiving of anexternally input query condition when a reading operation needs to be executed on the at least one target data table; and querying the at least one target data table in the subsidiary database according to the query condition. The method and the device of realizing reading-writing separation provided by the invention can improve efficiency of accessing the databases.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for realizing read-write separation. Background technique [0002] A database refers to a collection of data that is stored together in a certain way, can be shared by multiple users, has as little redundancy as possible, and is independent of the application. Some databases will be accessed by a large number of visitors, and how to improve the efficiency of accessing the database in this case has attracted more and more attention. [0003] Access to the database includes write operations and read operations, wherein the write operations include addition, deletion, and modification operations. In the prior art, the write operation and the read operation will affect each other. For example: when a certain data in the database is being written, at this time, the data will be locked, and the operation of querying the data needs to wait, and even a deadlock si...

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/217G06F16/2425G06F16/273
Inventor 裴广恩杜英昌费伟
Owner SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
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