Routing method and device for database cluster

A database and cluster technology, applied in the computer field, can solve the problems of wasting server resources, intrusive business operations, and high maintenance costs, and achieve the effect of overcoming the waste of server resources

Pending Publication Date: 2021-10-12
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF12 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiments of the present invention provide a routing method and device for database clusters to solve technical problems of wasting server resources, high maintenance costs, or intrusiveness to business operations

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
  • Routing method and device for database cluster
  • Routing method and device for database cluster
  • Routing method and device for database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062]Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0063] figure 1 is a schematic diagram of the main flow of the routing method for the database cluster according to the embodiment of the present invention. As an embodiment of the present invention, such as figure 1 As shown, the routing method of the database cluster may include:

[0064] Step 101, receiving a database access request, the database access request carryi...

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 routing method and device for a database cluster, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving a database access request, wherein the database access request carries a target business system identifier and a target user identifier; matching configuration information of a corresponding target database cluster according to the target service system identifier, the target user identifier and access permission information configured in a permission system; and routing the database access request to the target database cluster according to the configuration information of the target database cluster. According to the embodiment, the technical problems that server resources are wasted, the maintenance cost is high or the service operation invasiveness is large can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a routing method and device for a database cluster. Background technique [0002] Data sub-database storage is an effective method to solve the pressure on the database, such as isomorphic sub-databases, that is, database clusters. However, after the database is divided, the problem of data routing needs to be solved. Currently, there are two commonly used methods: [0003] 1) Each application system is deployed separately on each database cluster. When accessing the system, the access request will be routed to the application of a certain cluster through an entry application; 2) Only one application system is deployed. When accessing the system, it is mandatory The access request carries the primary key of the sub-database as an input parameter, and the corresponding database cluster is determined according to the primary key of the sub-database at the service layer or data o...

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/21G06F21/62
CPCG06F16/27G06F16/21G06F21/6218G06F2221/2141G06F21/62
Inventor 周振华
Owner BEIJING JINGDONG ZHENSHI 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