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

Database connection control method and device, computer equipment and readable storage medium

A connection control and database technology, applied in the database field, can solve problems such as excessive connections, abnormal services, and the inability to limit the upper limit of connections, and achieve the effects of preventing disorderly expansion, improving reliability, and improving flexibility

Pending Publication Date: 2022-03-25
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The more database applications, such as more user data queries or user data writes, the more database connections will be consumed. If not controlled, the number of connections will exceed the upper limit of the database, resulting in abnormal services. Although there are database connection pool technologies that can Manage the database connection of the service, but there are still multiple services that connect to the same database, the upper limit of the number of individual connections for each service cannot be limited, and when multiple instances of the same service are deployed, the upper limit of the number of connections for a certain instance cannot be individually set technical problem

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 connection control method and device, computer equipment and readable storage medium
  • Database connection control method and device, computer equipment and readable storage medium
  • Database connection control method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0026] The flow charts shown in the drawings are just illustrations, and do not necessarily include all contents and operations / steps, nor must they be performed in the order described. For example, some operations / steps can be decomposed, combined or partly combined, so the actual order of execution may be changed according to the actual situation.

[0027] Embodiments of the present application provide a database connection control method, device, computer equipm...

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 relates to the technical field of databases, and provides a database connection control method and device, computer equipment and a readable storage medium, and the method comprises the steps: obtaining service identification information of a target service; according to the service identification information, first configuration information of the target service is obtained, and the first configuration information comprises a first connection number upper limit and a connection number distribution strategy; based on a connection number distribution strategy, determining a second connection number upper limit corresponding to each instance in the target service according to the number of instances in the target service and the first connection number upper limit; the second connection number upper limit corresponding to each instance in the target service is sent to the target service, the second connection number upper limit is used for indicating the connection number of the instance connection database, the flexibility of setting the service and the connection number upper limit of the instance is improved, and therefore disordered expansion of the database connection number is prevented. In addition, the invention also relates to a block chain technology, and the configuration information can be stored in a block chain.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a database connection control method, device, computer equipment and readable storage medium. Background technique [0002] With the development of mobile Internet, more and more users join the mobile Internet wave. With the increase of users, more and more user data are generated, and the data is generally stored in the database. Commonly used relational database management systems include MYSQL, ORACLE, etc. The more database applications, such as more user data queries or user data writes, the more database connections will be consumed. If not controlled, the number of connections will exceed the upper limit of the database, resulting in abnormal services. Although there are database connection pool technologies that can Manage the database connection of the service, but there are still multiple services that connect to the same database, the upper limit of the nu...

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/2455G06F16/21
CPCG06F16/2456G06F16/21
Inventor 甘炜
Owner CHINA PING AN PROPERTY INSURANCE 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