-
公开(公告)号:US10997171B2
公开(公告)日:2021-05-04
申请号:US16024868
申请日:2018-07-01
Applicant: Oracle International Corporation
Inventor: Arvind Kumar Maheshwari , Uri Shaft , Karl Dias , Vishwanath Karra , Stephen Wexler , Anil Kumar Kothuri
IPC: G06F16/2453
Abstract: Techniques for analyzing an execution of a query statement based on a random archive are disclosed. A plurality of query statements that are executed during a particular time period are identified. A random sampling function is executed to randomly select a set of query statements from the plurality of query statements. Execution plans and/or performance metrics associated with each execution of the randomly-selected query statements are stored into a random archive. Responsive to determining that a performance metric for a current execution of a particular query statement does not satisfy a performance criteria, information associated with the particular query statement from the random archive is analyzed. A model plan characteristic associated with an execution of the particular query statement stored in the random archive is determined. An execution plan associated with the model plan characteristic is determined for another execution of the particular query statement.
-
公开(公告)号:US20200004860A1
公开(公告)日:2020-01-02
申请号:US16024868
申请日:2018-07-01
Applicant: Oracle International Corporation
Inventor: Arvind Kumar Maheshwari , Uri Shaft , Karl Dias , Vishwanath Karra , Stephen Wexler , Anil Kumar Kothuri
IPC: G06F17/30
Abstract: Techniques for analyzing an execution of a query statement based on a random archive are disclosed. A plurality of query statements that are executed during a particular time period are identified. A random sampling function is executed to randomly select a set of query statements from the plurality of query statements. Execution plans and/or performance metrics associated with each execution of the randomly-selected query statements are stored into a random archive. Responsive to determining that a performance metric for a current execution of a particular query statement does not satisfy a performance criteria, information associated with the particular query statement from the random archive is analyzed. A model plan characteristic associated with an execution of the particular query statement stored in the random archive is determined. An execution plan associated with the model plan characteristic is determined for another execution of the particular query statement.
-