Invention Grant
- Patent Title: Automatic query offloading to a standby database
-
Application No.: US16016978Application Date: 2018-06-25
-
Publication No.: US11468060B2Publication Date: 2022-10-11
- Inventor: Sachin Sonawane , Mahesh Girkar
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Becker Bingham Ledesma LLP
- Main IPC: G06F16/245
- IPC: G06F16/245 ; G06F16/2453 ; G06F16/23 ; G06F16/25 ; G06F16/242 ; G06F16/2457

Abstract:
Embodiments allow a primary database system (“primary”) to automatically detect queries directed to the primary database that may be offloaded to a standby database system (“standby”), and then to automatically offload the offload-eligible queries to a standby. The primary identifies offload-eligible queries based on a record of up-to-date database objects within each standby that replicates the primary database. The record of up-to-date standby objects is updated based on heartbeat messages from each standby, and commit timestamps for transactions on the primary. Evaluation of whether a query is offload-eligible is triggered by one or more trigger conditions that include: inclusion of an offload optimizer hint in the query, an estimated run-time of the query, etc. Embodiments further allow an offloaded query over particular changed data in the primary database to access, on a standby database, uncommitted changes made to the particular data in the primary database.
Public/Granted literature
- US20190392067A1 Automatic Query Offloading to a Standby Database Public/Granted day:2019-12-26
Information query