Distributed database preprocessing method, agent layer, system and storage medium
A preprocessing and database technology, applied in the database field, can solve the problems of low preprocessing performance and efficiency of distributed databases, and achieve the effect of saving resources, improving performance and efficiency, and saving interactive operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] In order to solve the problem of low performance and low efficiency of distributed database preprocessing in the prior art, in the embodiment of the present invention, the corresponding request of the prepared statement is received, and then according to the corresponding request of the prepared statement and the cache library of the prepared statement The session ID cached in the prepared statement cache library is processed, and the session corresponding to the session ID cached in the prepared statement cache library is a prepared statement session that has successfully established a connection between the client and the database; see figure 1 as shown in figure 1 It is a schematic flowchart of the basic flow of the distributed database preprocessing method provided in this embodiment.
[0027] S101: Receive a request corresponding to a prepared statement.
[0028] In this embodiment, the preprocessing statement includes but not limited to prepare, execute, and deal...
Embodiment 2
[0052] On the basis of the first embodiment, the embodiment of the present invention takes a specific distributed database preprocessing method as an example to further illustrate the embodiment of the present invention. Please refer to figure 2 Shown:
[0053] S201: the client sends a prepare request to the database proxy layer.
[0054] S202: The database proxy layer queries whether the prepare request session exists in the prepare session cached in the prepared statement cache library.
[0055] S203: Send a response message of the prepare request to the client when the query is found.
[0056] S204: Obtain the link and send a prepare request to the database when no query is found.
[0057] S205: The database sends a response message of the prepare request to the database proxy layer.
[0058] S206: The database proxy layer sends a response message to the prepare request to the client.
[0059] S207: the client sends an execute request to the database proxy layer.
[0...
Embodiment 3
[0073] In order to solve the problem in the prior art that motion vectors and prediction residuals need to be encoded simultaneously in the inter-frame prediction mode, and the encoding performance is low, a database proxy layer is provided in the embodiment of the present invention. Please refer to image 3 Shown:
[0074] The database proxy layer includes a receiving module 301 and a processing module 302, wherein:
[0075] The receiving module 301 is configured to receive a request corresponding to a prepared statement;
[0076] The processing module 302 is used for processing according to the corresponding request of the prepared statement and the session identifier cached in the prepared statement cache library. Handle statement sessions.
[0077] In this embodiment, the preprocessing statement includes but not limited to prepare, execute, and deallocate statement. In fact, as long as it belongs to the preprocessing statement, it is within the protection scope of the pr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com