SQL forwarding method and device and readable storage medium
A forwarding method and temporary caching technology, applied in the database field, can solve problems such as low query efficiency and long system response time, and achieve the effect of solving low query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0098] The embodiment of the present invention also provides a structured query language forwarding device, including:
[0099] The analysis module is used to analyze the structured query language SQL to determine the corresponding operation type;
[0100]A forwarding module, configured to forward the SQL execution query according to the operation type according to preset rules.
[0101] In the existing technology, when performing SQL forwarding, different read and write statements of the same transaction will be sent to different nodes for execution, and the data may not be synchronized in time. Therefore, in this embodiment, the query statements are divided according to the operation type, so that the guaranteed In the case of data consistency, the query statement is sent to the corresponding node to execute the query. The embodiment of the present invention determines the corresponding operation type by parsing the structured query language SQL, forwards the SQL to execute...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


