The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 17, 2023

Filed:

Sep. 28, 2018
Applicant:

Oracle International Corporation, Redwood Shores, CA (US);

Inventors:

Jonathan Giloni, Foster City, CA (US);

Kevin S. Neel, San Mateo, CA (US);

Carol L. Colrain, Redwood Shores, CA (US);

Douglas Surber, Orinda, CA (US);

Ravi Thammaiah, Redwood Shores, CA (US);

Tong Zhou, Merrick, NY (US);

Arturo Ismael Quinto, Guadalajara, MX;

Manoj Dhanapal, San Mateo, CA (US);

Assignee:

ORACLE INTERNATIONAL CORPORATION, Redwood Shores, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/00 (2019.01); G06F 16/11 (2019.01); H04L 67/141 (2022.01); H04L 67/142 (2022.01); G06F 16/21 (2019.01); G06F 16/25 (2019.01); G06F 11/20 (2006.01);
U.S. Cl.
CPC ...
G06F 16/122 (2019.01); G06F 11/2023 (2013.01); G06F 16/21 (2019.01); G06F 16/252 (2019.01); H04L 67/141 (2013.01); H04L 67/142 (2013.01); G06F 2201/80 (2013.01);
Abstract

Techniques are disclosed herein for identifying, recording and restoring the state of a database session and various aspects thereof. A session template data structure is generated that includes session attribute values describing various aspects of the session that is established between a client system and a database management system (DBMS and enables the client system to issue to the DBMS commands for execution. Based on the session attribute values, DBMS may generate a template identifier corresponding to the session template data structure. The template identifier may be stored in an association with the session state that it partially (or in whole) represents. In an embodiment, when another state of a session is captured, if the template identifier for the state is the same, then rather than storing the attribute-value pairs for the other state, the template identifier is further associated with the other state. In an embodiment, a request boundary is detected where the session is known to be at a recoverable point. If recovery of the session is needed, the session state is restored, and replay of commands start from this point. Each command replayed is verified to produce the same session state as it produced at original execution. If the session is determined to be a safe point, then all the commands recorded for replay prior to the safe point may be deleted. In an embodiment, the template is used to set the initial state when borrowing from a session pool The state tracking is also used to know that the session can be failed over safely during planned operation as the session is unlikely to drain by itself even when not used.


Find Patent Forward Citations

Loading…