Handling of queries of transient and persistent data
AssigneeSap SE
InventorsSimon P. Helsen, Stephan J. Lange
Life of this patent
Estimating the term…
Abstract
A query of a meta-object facility repository that includes transient data being modified or processed in memory and persisted data can be received. Thereafter, portions of the received query can be executed on partitions associated with the persisted data and other portions of the received query can be executed on partitions of the repository associated with the transient data to generate a combined correct query result set. Related apparatus, systems, methods, and articles are also described.
Claims20
An article comprising a machine-readable storage medium tangibly embodying instructions that when performed by one or more machines result in operations comprising:
- receiving a query of a meta-object facility repository, the repository comprising transient data being modified or processed in memory and persisted data;
- determining, by a scheduler, which of a plurality of partitions of the repository are being edited, which partitions of the repository are loaded, and which partitions of the repository are only persisted, the determination being based on partition-change events and change events to dirty partitions that are registered by a query engine;
- and
- transforming the query into first portions and second portions based on the determination by the scheduler;
- executing the first portions of the transformed query on partitions associated with the persisted data and executing the second portions of the transformed query on partitions of the repository associated with the transient data to generate a query result set.
A computer-implemented method comprising:
- receiving a query of a meta-object facility repository, the repository comprising transient data being modified or processed in memory and persisted data;
- and
- executing a first set of portions of the received query on partitions associated with the persisted data, executing a second set of portions of the received query on partitions of the repository associated with the transient data, executing a third set of portions of the received query on partitions associated with the persisted data that are linked to partitions with the transient data, and executing a fourth set of portions of the received query on partitions associated with the transient data that are linked to partitions with persisted data to collectively generate a query result set, the first, second, third and fourth sets of portions being disjoint.
An apparatus comprising:
- a query pre-processor to receive a query of a meta-object facility repository, the repository comprising transient data being modified or processed in memory and persisted data;
- and
- a query engine to execute portions of the received query on partitions associated with the persisted data and to execute portions of the received query on partitions of the repository associated with the transient data to generate a query result set, at least a portion of the result set being generated from results connected via cross-dirty partition links.
Dependencies are inferred from the claim text.