Invention Grant
- Patent Title: Database node soft restart
-
Application No.: US17938423Application Date: 2022-10-06
-
Publication No.: US12007842B2Publication Date: 2024-06-11
- Inventor: Suhas Dantkale , James E. Mace , Matthew Woicik , Kaushal Mittal
- Applicant: Salesforce, Inc.
- Applicant Address: US CA San Francisco
- Assignee: Salesforce, Inc.
- Current Assignee: Salesforce, Inc.
- Current Assignee Address: US CA San Francisco
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Mark D. Seegers; Dean M. Munyon
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F11/00 ; G06F11/14 ; G06F16/22 ; G06F16/23 ; H04L67/10

Abstract:
Techniques are disclosed relating to restarting a database node. A database node may allocate memory segments that include a restart segment for storing data records. The database node may spawn processes to read a log and replay log records of the log to update the restart segment to store data records. The database node may determine to perform a restart operation to transition from a first mode to a second mode. Performing the restart operation may include ceasing reading the log at a stop position and storing, based on the stop position, database state information that enables the processes to resume reading the log from the stop position. The database node may further deallocate the memory segments except for the restart segment and terminate the processes. After performing the restart operation, the database node may spawn the processes, which may resume reading the log based on the database state information.
Public/Granted literature
- US20240118973A1 DATABASE NODE SOFT RESTART Public/Granted day:2024-04-11
Information query