-
公开(公告)号:US20230074090A1
公开(公告)日:2023-03-09
申请号:US17469576
申请日:2021-09-08
Applicant: SAP SE
Inventor: Jaehyok Chong , Won Jun Chang , Sungguk Lim , Youngbin Bok , Heesik Shin , Kijoong Kim
IPC: G06F16/2453
Abstract: Methods and apparatus are disclosed for staged query compilation. One or more intermediate plans between a query and its execution plan are stored according to a common specification for plan data structures. Data sources, a plan flow, and annotations can be stored in respective fields of the plan data structure, which can be extended with a field for a serialized execution plan. Plan data structures provide a stable interface for integration of local and external software modules, and decouple plan representation from plan optimization. Use cases are disclosed for integrating offline optimization with inline software modules, for integrating local query handling with external services, for caching intermediate plans, and for archiving plans across version changes of optimizers. A hub architecture flexibly supports numerous compilation workflows. Disclosed technologies are suitable for cloud deployments and for migration of databases into the cloud.
-
公开(公告)号:US11907215B2
公开(公告)日:2024-02-20
申请号:US17469576
申请日:2021-09-08
Applicant: SAP SE
Inventor: Jaehyok Chong , Won Jun Chang , Sungguk Lim , Youngbin Bok , Heesik Shin , Kijoong Kim
IPC: G06F16/2453
CPC classification number: G06F16/24542
Abstract: Methods and apparatus are disclosed for staged query compilation. One or more intermediate plans between a query and its execution plan are stored according to a common specification for plan data structures. Data sources, a plan flow, and annotations can be stored in respective fields of the plan data structure, which can be extended with a field for a serialized execution plan. Plan data structures provide a stable interface for integration of local and external software modules, and decouple plan representation from plan optimization. Use cases are disclosed for integrating offline optimization with inline software modules, for integrating local query handling with external services, for caching intermediate plans, and for archiving plans across version changes of optimizers. A hub architecture flexibly supports numerous compilation workflows. Disclosed technologies are suitable for cloud deployments and for migration of databases into the cloud.
-