Database data access method, system and device and readable storage medium of computer

A data access and database technology, applied in the cluster field, can solve problems such as fast read and write speed, unstable application system, and user request timeout.

Active Publication Date: 2018-03-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In particular, when a large number of users request to update the same data record in the application database, if the data does not set any current limit or lock operation, all subsequent requests will be queued up to wait for the previous data update processing to complete, occupying a large number of database connections. Links are full, user requests time out, application layer links are exhausted, and even server downtime and other problems follow one after another
[0003] At present, the high-accessibility real-time hotspot data update method mainly focuses on three aspects: front-end business layer processing, application layer processing and database layer processing. The main pu

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
  • Database data access method, system and device and readable storage medium of computer
  • Database data access method, system and device and readable storage medium of computer
  • Database data access method, system and device and readable storage medium of computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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 only some, not all, embodiments of the present invention. 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.

[0047] The embodiment of the present invention discloses a database data access method, see figure 1 As shown, the method includes:

[0048] Step S11: Receive the user's access request, and query the target row data record corresponding to the access request in the target data queue in the distributed cache.

[0049] Specifically, in order to improve the access speed, a large number of row data records are cached in the distributed cache. Therefore, after the...

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 database data access method, system and device and a readable storage medium of a computer. The method includes the following steps that a target row data recording corresponding to a access request is searched in a target data queue in a distributed type cache; the target row data recording is searched, and according to the access request and a target row data recordingblock corresponding to the target row data recording, a temporary index mark array of an index mark number corresponding to the access request is generated and stored; the temporary index mark array is compared with a target index mark array, and a comparison result is obtained; according to the comparison result, data in the distributed type cache and a database are synchronized. According to themethod, high-accessibility data is pre-cached in the distributed type cache, the row data is recorded and segmented, a corresponding index mark is assigned to each row data recording block, the hit rate of the access request in the cache is improved, the error that the database is directly inquired according to the access request is avoided, and the high-accessibility frequency of the data is reduced.

Description

technical field [0001] The invention relates to the field of cluster technology, in particular to a database data access method, system, device and computer-readable storage medium. Background technique [0002] With the rapid development of science and technology and the increasing penetration of Internet products in daily life, data stored in databases can often be accessed by massive requests. For highly accessible real-time hotspot data for a certain period of time, when a large number of network requests are concurrent, this requires the application system itself to have good disaster recovery capabilities and the ability to carry massive data requests. In particular, when a large number of users request to update the same data record in the application database, if the data does not set any current limit or lock operation, all subsequent requests will be queued up to wait for the previous data update processing to complete, occupying a large number of database connecti...

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): G06F17/30
CPCG06F16/23G06F16/24552G06F16/27
Inventor 段萌
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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