Key-value store for lightweight replication of metadata
Abstract
Methods and systems are disclosed for managing replication of metadata in a master-slave database environment. While metadata is managed on a master node using database tables with transaction guarantees, metadata copies on the slave node are managed using a lightweight key-value store. In exemplary embodiments, master metadata database tables are mapped to respective key-value structures at one or more slave nodes. The key-value structures have entries pointing to respective metadata objects, which include copies of metadata items stored in the master metadata database tables. The key-value structures can be hierarchically organized under a parent key-value structure. Metadata object versions can be organized as a linked list to facilitate multi-version concurrency control. Methods are disclosed for building the key-value store, for retrieving metadata from the store, for updating the store, for providing multi-version concurrency control, and for pruning obsolete metadata versions. Variants are disclosed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
One or more computer-readable media having stored therein computer-executable instructions for causing one or more processors, when programmed thereby, to perform operations comprising, at a slave node in a database environment: instantiating a key-value store to catalog locally stored metadata from a given metadata database table, among one or more metadata database tables at a master node in the database environment; and adding, to the key-value store, a given key-value entry comprising a key and a value for a metadata object, wherein the metadata object includes a copy of a metadata item st
- Claim 2Depends on #1
The one or more computer-readable media of claim 1 , wherein, in the given key-value entry, the key comprises an identifier of the metadata item stored in the given metadata database table.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Gembalczyk et al., "An Experimental Analysis of Different Key-Value Stores and Relational Databases," downloaded from https://infosys.cs.uni-saarland.de/publications/GSD17_extended.pdf, 19 pp. (2017).
- SAP, "Importing Metadata from Remote Systems," SAP HANA Data Warehousing Foundation-Data Distribution Optimizer Administration Guide, downloaded from https://help.sap.com/viewer/bfa0630d575d473a98ea9e2a14c9d35a/1.0.5.2/en-US/b0fa68b4816e437bbd70c45fb538e992.html, Version: 1.0 SPS 05 Patch 2, 2 pp. (
- SAP, "Metadata from Remote Systems," SAP HANA Data Warehousing Foundation-Data Distribution Optimizer Administration Guide, downloaded from https://help.sap.com/viewer/bfa0630d575d473a98ea9e2a14c9d35a/1.0.5.2/en-US/1c9f561cc6b94e55906c817ded7d2be5.html, Version: 1.0 SPS 05 Patch 2, 2 pp. (document n
- SAP, "SAP HANA Master Guide," SAP HANA Platform 2.9 SPS 00, downloaded from https://help.sap.com/doc/e95f6750b0fd10148ea5c6be75016694/2.0.00/en-US/SAP_HANA_Master_Guide_en.pdf, Document Version: 1.0., 86 pp., Nov. 30, 2016.
- SAP, "System Landscape Overview," SAP HANA Data Warehousing Foundation-Data Distribution Optimizer Administration Guide, downloaded from https://help.sap.com/viewer/bfa0630d575d473a98ea9e2a14c9d35a/1.0.5.2/en-US/9e4414de3fba426e99bb2e32fa54ceec.html, Version: 1.0 SPS 05 Patch 2, 3 pp. (document not