PostgreSQL preparatory statement execution optimization method
An optimization method and statement technology, applied in the database field, can solve the problem of low execution efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] The invention discloses a method for optimizing the execution of PostgreSQL prepared statements. In the method, an optimization scheme for caching and reusing PlanState in the execution process of the prepared statements is proposed. In this optimization scheme, when a prepared statement is compiled and executed, after the execution plan is cached, the PlanState structure constructed when the cached execution plan is executed for the first time is saved, and the saved PlanState is reused in subsequent executions, only for Some member values in the structure are reassigned to avoid the time consumption caused by rebuilding PlanState every time it is executed. This method significantly improves the execution efficiency of the prepared statement by optimizing the execution of the PostgreSQL prepared statement.
[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embod...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
