Release of latches for garbage collection
AssigneeSap SE
InventorsChristina Teflioudi, Paul Willems, Till Merker
Life of this patent
Estimating the term…
Abstract
A query is received at a database execution engine. The query is executed by the database execution engine, the executing including executing one or more threads that operate on versions of data of the delta fragment; acquiring and releasing, by a first thread, a latch on a first version of the data of the delta fragment, the releasing is performed prior to the first thread entering a wait state; and reclaiming the first version of the data of the delta fragment from memory and during execution of the query. Related systems, methods, and articles of manufacture are also described.
Claims20
A system comprising:
- at least one data processor;
- and
- at least one memory storing instructions which, when executed by the at least one data processor, result in operations comprising:
- receiving, at a database execution engine, a query;
- executing, by the database execution engine, the query, the executing including:
- executing one or more threads that operate on versions of data of the delta fragment;
- acquiring and releasing, by a first thread, a latch on a first version of the data of the delta fragment, wherein the releasing is performed prior to the first thread entering a wait state;
- and
- reclaiming the first version of the data of the delta fragment from memory and during execution of the query.
A method comprising:
- receiving, at a database execution engine, a query;
- executing, by the database execution engine, the query, the executing including:
- executing one or more threads that operate on versions of data of the delta fragment;
- acquiring and releasing, by a first thread, a latch on a first version of the data of the delta fragment, wherein the releasing is performed prior to the first thread entering a wait state;
- and
- reclaiming the first version of the data of the delta fragment from memory and during execution of the query.
A non-transitory computer readable medium storing executable instructions that, when executed by at least one processor forming part of at least one computing system, cause the at least one processor to perform operations comprising:
- receiving, at a database execution engine, a query;
- executing, by the database execution engine, the query, the executing including:
- executing one or more threads that operate on versions of data of the delta fragment;
- acquiring and releasing, by a first thread, a latch on a first version of the data of the delta fragment, wherein the releasing is performed prior to the first thread entering a wait state;
- and
- reclaiming the first version of the data of the delta fragment from memory and during execution of the query.
Dependencies are inferred from the claim text.