Inquiry plan buff storage method based on predicate key degree analyzing and system thereof
A query plan and cache system technology, applied in the database field, can solve problems such as plan cache mismatch, inability to guarantee query cache matching effect, poor query plan, etc., so as to improve access speed, reduce matching predicates, and speed up matching speed. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] The core technical idea of the present invention is that by dividing the key conditions appearing in a query into predicates one by one, the predicate analyzer determines the impact of each predicate on the query plan according to the query statistical information, analyzes its weight, and finally determines whether these predicates are It will affect the query plan. If not, then even if the number of predicates between the query statement entered by the user and the existing statement in the query cache area is inconsistent, it is considered that it can match the existing cache plan, thereby improving the cache hit rate.
[0053] Realize above-mentioned technical idea for this reason, the present invention adopts as figure 1 The query cache processing system shown. The query cache processing system consists of the following key subsystems, all of which perform specific functions:
[0054] 1. Syntax analyzer: process the input SQL query statement, complete the syntax...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 