Read-write separation method, device, computer device and storage medium

A technology of reading and writing separation and sub-table, which is applied in the field of data processing and can solve problems such as low efficiency of database reading and writing

Inactive Publication Date: 2019-02-15
深圳市牛鼎丰科技有限公司
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a read-write separation method, device, computer equi

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
  • Read-write separation method, device, computer device and storage medium
  • Read-write separation method, device, computer device and storage medium
  • Read-write separation method, device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some 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 persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0021] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a read-write separation method, a device, a computer device and a storage medium. The method comprises the following steps of: receiving a data request of anapplication program through a middleware; Selecting a database for executing the data request according to a preset sub-database rule; If the data request is a write data request, writing the data into a table of a main database according to a preset table division rule; And if the data request is a read data request, reading data from a table of a database according to a preset table splitting rule to return the read data to the application program. By implementing the method of the embodiment of the invention, the read-write separation can be realized, and the high concurrent read-write efficiency of the database can be improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a read-write separation method, device, computer equipment and storage medium. Background technique [0002] With the development of information and technology, the rapid advancement of technology, and the explosive growth of information, huge amounts of data are generated every day, and huge amounts of data need to be processed every day. For a newly launched system, when the business volume and user volume in the early stage are not large, most companies will choose a single form inventory to store the corresponding data information, which can maximize the development speed and reduce the distraction of development attention , but with the continuous development of the system and the increase in the number of users, the structure of single database and single table will become the bottleneck of the system. Especially in the Internet era, the high concurrent reading and...

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
IPC IPC(8): G06F16/22G06F16/23
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