Database request processing method and device, computer equipment and storage medium
A request processing and database technology, applied in the field of data processing, can solve problems such as request processing thread suspension, business system unavailability, failure to meet fault isolation requirements, etc., to improve processing accuracy, improve fault tolerance and stability, and realize The effect of fault isolation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Figure 1a It is a schematic diagram of a flow chart of a database request processing method in Embodiment 1 of the present invention. The method can be executed by the database request processing device provided in the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and Generally, it can be integrated into computer equipment, such as a server. Such as Figure 1a As shown, the method of this embodiment specifically includes:
[0027] S110. When a database service request is received, extract a database selection parameter from the database service request.
[0028] The database service request is used to perform database operations on at least one database, where the database operations may include at least one of the following: operations such as querying, adding, modifying, and deleting data in the database. The database selection parameter is used to point to at least one database. The database selection p...
Embodiment 2
[0046] figure 2 It is a flow chart of a database request processing method in Embodiment 2 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments. The method of this embodiment specifically includes:
[0047] S210. When a database service request is received, extract a database selection parameter from the database service request.
[0048] For non-exhaustive descriptions of the embodiments of the present invention, reference may be made to the foregoing embodiments.
[0049] S220. Extract dimension information of sub-databases from the database selection parameters.
[0050] The sub-database dimension information is used to describe the rule information when the database is sub-database. Specifically, it can refer to the field indicating the database type and the attribute value corresponding to the field. The sub-database dimension information can be used to identify the database.
[0051] S230. Select at least one target ser...
Embodiment 3
[0063] image 3 It is a flowchart of a database request processing method in Embodiment 3 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments. The method of this embodiment specifically includes:
[0064] S310. When a database service request is received, extract a database selection parameter from the database service request.
[0065] For non-exhaustive descriptions of the embodiments of the present invention, reference may be made to the foregoing embodiments.
[0066] S320. Select at least one target server matching the database selection parameter from at least two servers.
[0067] S330. Select a target thread pool that matches the target server from at least two thread pools according to the pre-configured correspondence between the server and the thread pool. Different thread pools correspond to different servers.
[0068] Using the thread pool to process database business processing requests actually uses multi-thread...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


