Invention Grant
- Patent Title: Automated application of query hints
-
Application No.: US15474473Application Date: 2017-03-30
-
Publication No.: US10558663B2Publication Date: 2020-02-11
- Inventor: Ulrich Bestfleisch
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Fountainhead Law Group P.C.
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30 ; G06F16/2453 ; G06F16/2455

Abstract:
Some embodiments provide a non-transitory machine-readable medium that stores a program. In response to receiving a first query for a set of data, the program generates a first query execution plan based on the first query. The program further executes the first query execution plan in order to generate a first result set comprising the set of data. The program also stores the first query execution plan in a cache. The program further replaces the first query execution plan in the cache with a second query execution plan. The second query execution plan includes a query hint applied to the first query execution plan. In response to receiving a second query for the set of data, the program also retrieves the second query execution plan from the cache. The program further executes the second query execution plan in order to generate a second result set comprising the set of data.
Public/Granted literature
- US20180285416A1 AUTOMATED APPLICATION OF QUERY HINTS Public/Granted day:2018-10-04
Information query