Method for remove SQL inquiry statment constant condition
A query statement and conditional technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of cumbersome data processing, indelibility, and affecting database query speed, so as to avoid query processing and reduce processing overhead Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] In the OSCAR database, the parser syntax analysis sub-module converts the SQL query statement in the form of a string into a parse tree structure, and then the analyze semantic analysis sub-module converts the parse tree structure into an internally recognized Query query tree structure, different parts of the SQL statement It is converted into each subtree of the query tree, and then the Optimizer query optimization module optimizes the Query structure, generates an execution plan Plan, and submits it to the Executer module for execution to obtain the query result. The present invention is located in the rule-based optimization sub-module in the Optimizer module.
[0022] The inventive method comprises figure 1 Three steps are shown: creating linked list, merging linked list and rewriting query statement.
[0023] The present invention converts both the CHECK constraint and the WHERE condition into a subtree of the query tree at first, and the tree structure of the ex...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap