Database kernel query optimization method based on equivalence class
A technology of query optimization and equivalence class, which is applied in the field of database kernel query optimization of valence class, can solve the problem of low performance of database query and achieve the effect of improving query performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0036] Suppose there are tables t1, t2 and t3, and t1, t2 and t3 have two columns col1 and col2 respectively. For the query statement: "select t1.col1,t2.col2,t3.col2from t1,t2,t3where t1.col1=t2.col2and t2.col2=t3.col1and t1.col1>0.9order by t2.col2", according to this The idea of invention, the specific process is as follows:
[0037] 1. Enter the query planner, loop into the subquery planner, and the global linked lists RELS, COLS, and ECS are used to store the table objects, column objects, and equivalence class objects generated during the query statement analysis process. The initialization linked list is shown in Table 1. When the number of object structures exceeds eight, bitmap variables (such as Rel\Col\Eclass) can be dynamically loaded. Here, only one byte is used to illustrate the example. The global bit variable records the Id number of each object, and the Rel\Col\Eclass in the object records the correspondence with the global variable and the relationship be...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com