Method and apparatus for optimizing request to poll SQL
A syntax tree and processing unit technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of high optimization cost and low optimization efficiency, and achieve the effect of high optimization efficiency, efficiency improvement, and speed improvement.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Referring to Fig. 1, it is a flow chart of method embodiment 1 of the present invention, comprising:
[0041] Step 101, standardize the field names and aliases in the SELECT SQL.
[0042] In the actual SELECT SQL written by hand or generated by the O-R Mapping system, there are often problems with irregular field names and aliases, which affect query optimization. Therefore, the representation methods of these field names and aliases must be standardized first. For example, replace the fields that do not identify the table name with the form of "original table name. original field name" or "original table alias. original field name", such as,
[0043] SELECT name FROM t1″O″
[0044] Can be specified as:
[0045] SELECT "O".name FROM t1 "O".
[0046] The specification processing process can be realized by implementing a preset specification table, or can also be realized by preset certain conversion data operations. For example, all table names and column names are u...
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