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

Slave library reading method, related device and equipment

A main library, read request technology, applied in the computer field, can solve problems such as QPS drop, strong global lock, slow log, etc., to ensure normal operation, improve QPS, and avoid data dirty reads.

Active Publication Date: 2019-07-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the embodiments of the present invention is to provide a method for reading from a library, a device for reading from a library, a device for reading from a library, and a computer-readable storage medium to solve problems caused by global locks. If the force is too large, the delay of the request will increase significantly, the QPS will drop, and there will be many technical problems of slow logs on the slave library

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
  • Slave library reading method, related device and equipment
  • Slave library reading method, related device and equipment
  • Slave library reading method, related device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0025] It should also be understood that the terminology used in the description of the present invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the present invention.

[0026] It should also be further understood that the term "and / or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .

[0027] In a specific implementation, the terminals or devices or database servers described in the embodiments of the present invention include but are not limited to devices such as desktop computers, laptop computers or tablet computers.

[0028] In order to better understand the slave library reading...

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 slave library reading method. The method comprises: starting a master library and a slave library to perform data synchronization; receiving a reading request for the slave library when the slave library is allowed to be read when the master library and the slave library are subjected to data synchronization; and for the reading request, reading the slave library according to the recorded state of the transaction in an underlying storage engine, and outputting a reading result. The invention further discloses a slave library reading device and equipment, and the technical problems that due to the fact that the overall lock strength is too large, the request delay is obviously increased, QPS is lowered, and many slow logs appear on the slave library are solved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for reading from a library, a related device and equipment. Background technique [0002] Database (Database) is a warehouse that organizes, stores and manages data according to the data structure; with the development of information technology and the market, especially after the 1990s, data management is no longer just storing and managing data, but changing Various data management methods required by users. There are many types of databases, ranging from the simplest tables storing various data to large database systems capable of storing massive amounts of data, which have been widely used in various aspects. [0003] Due to the consideration of data disaster recovery, load balancing, data centralization and distribution, etc., databases in the prior art generally establish master-slave databases, that is, master databases and slave databases. At present, in the process of...

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): G06F16/27G06F16/25
CPCG06F16/27G06F16/25
Inventor 杨林孔德雨郭锦洋苏磊
Owner TENCENT TECH (SHENZHEN) 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