A kind of SQL forwarding method, 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 parsing module is used to parse 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] When SQL forwarding is performed in the prior art, 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 as to ensure the 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, and forwards the SQL to execute the query ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


