Method for remove SQL inquiry statment constant condition
A query statement and condition technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve problems such as inability to eliminate, tedious data processing, affecting database query speed, etc., to reduce processing overhead and avoid query processing. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0021] In the OSCAR database, the parser syntax analysis submodule converts the SQL query statement in the form of a string into a parse tree structure, and then the analyze semantic analysis submodule converts the parse tree structure into the internally recognized Query query tree structure, and different parts of the SQL statement Converted into each subtree of the query tree, then the Optimizer query optimization module optimizes the Query structure, generates an execution plan Plan, and submits it to the Executer executor module for execution to obtain the query results. The present invention is located in the rule-based optimization sub-module in the Optimizer module.
[0022] The method of the present invention includes three steps shown in Fig. 1: creating a linked list, merging the linked list and rewriting the query statement.
[0023] The present invention first converts both CHECK constraints and WHERE conditions into subtrees of the query tree. The expression tree str...
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