Database processing method and apparatus
US12056125B2 · kind B2 · utility
Assignees
Inventors
Key dates
| Filing date | Jul 8, 2022 |
| Grant date | Aug 6, 2024 |
| Priority date | — |
| Expiry date | Sep 15, 2042 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/0464
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A database processing method and an apparatus are provided, and may be applied to a database system. A tree structure is used to represent a join order and used as an input of a neural network, and different first attribute matrices are allocated to different brother nodes in the input tree structure. This helps the neural network comprehensively learn information about the join order, obtain representation information capable of differentiating the join order from another join order, and predict costs of the join order accurately based on the obtained representation information of the join order. Then, an optimizer selects a join order with lowest costs for a query statement based on the costs predicted by a cost prediction module.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.