-
公开(公告)号:US20240330111A1
公开(公告)日:2024-10-03
申请号:US18739282
申请日:2024-06-10
Applicant: Salesforce, Inc.
Inventor: Suhas Dantkale , James E. Mace , Matthew Woicik , Kaushal Mittal
CPC classification number: G06F11/1438 , G06F11/1453 , G06F11/1466 , G06F11/1471 , G06F16/2272 , G06F16/2282 , G06F16/2322 , G06F16/2329 , G06F16/2343 , G06F16/2379 , H04L67/10 , G06F2201/80
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.
-
公开(公告)号:US20240256398A1
公开(公告)日:2024-08-01
申请号:US18162342
申请日:2023-01-31
Applicant: Salesforce, Inc.
Inventor: Akshay Manchale Sridhar , Matthew Woicik , James E. Mace
CPC classification number: G06F11/1469 , G06F16/2358 , G06F16/2379 , G06F2201/84
Abstract: Techniques are disclosed relating to a database recovery routine to start up a database system in response to a database failure. The database system accesses checkpoint information identifying a set of active database transactions that were active at a flush point that occurred before the database failure. As a part of the database recovery routine, the database system replays database transactions that occurred between a recovery point and the flush point. The database transactions include the set of active database transactions but exclude any committed or aborted database transactions that occurred between the recovery point and the flush point such that less than a total number of database transactions occurring between the recovery point and the flush point are replayed. The database system further replays, without excluding committed or aborted database transactions, database transactions occurring between the flush point and a recovery end point at which the database failure occurred.
-
公开(公告)号:US12007842B2
公开(公告)日:2024-06-11
申请号:US17938423
申请日:2022-10-06
Applicant: Salesforce, Inc.
Inventor: Suhas Dantkale , James E. Mace , Matthew Woicik , Kaushal Mittal
CPC classification number: G06F11/1438 , G06F11/1453 , G06F11/1466 , G06F11/1471 , G06F16/2272 , G06F16/2282 , G06F16/2322 , G06F16/2329 , G06F16/2343 , G06F16/2379 , H04L67/10 , G06F2201/80
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.
-
公开(公告)号:US20240118973A1
公开(公告)日:2024-04-11
申请号:US17938423
申请日:2022-10-06
Applicant: Salesforce, Inc.
Inventor: Suhas Dantkale , James E. Mace , Matthew Woicik , Kaushal Mittal
CPC classification number: G06F11/1438 , H04L67/10 , G06F2201/80
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.
-
-
-