Efficient creation and/or restatement of database tables
Abstract
Techniques for rebuilding at least a portion of a SCD table in a database based on a set of snapshots individually containing a current value of a variable corresponding to a dimension in the table are discloses herein. In one example, a method includes grouping the snapshots in the set into multiple pairs of snapshots and concurrently generating multiple first table segments individually from a corresponding one of the multiple pairs of snapshots in the set. The method also includes grouping the generated multiple first table segments into multiple pairs of the first table segments and concurrently merging the multiple pairs of first table segments individually into a second table segment. The grouping and concurrently merging operations can be repeated until only one table segment is present.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of rebuilding or restating at least a portion of a Slowly Changing Dimensions (SCD) table in a database at a computing device based on a set of snapshots, the method comprising: determining, with a processor of the computing device, whether the set of snapshots include more than two snapshots, each snapshot containing data representing a current value of a variable corresponding to a dimension in the table and a corresponding time when the current value is measured; and in response to determining that the set of snapshots includes more than two snapshots, grouping the snapshots in the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,899,636 B1 | Capturing and maintaining a timeline of data changes in a relational database system | 2024 | 0 |
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- “International Search Report and Written Opinion Issued in PCT Application No. PCT/US21/062729”, dated Mar. 17, 2022, 11 Pages.
- Finis, et al., “DeltaNI: An Efficient Labeling Scheme for Versioned Hierarchical Data”, In Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data, Jun. 22, 2013, pp. 905-916.
- Liu, Feng, “Merge Multiple SCD Tables into a Single Dimension”, Retrieved from: https://blogs.sap.com/2018/11/22/merge-multiple-scd-tables-into-a-single-dimension/, Nov. 22, 2018, 15 Pages.
- Pious, Aldrin, “Building ETL and SCD with Snowflake Streams & Tasks”, Retrieved from: https://saamaanalytics.com/blogs/building-etl-and-scd-with-snowflake-streams-tasks/, Apr. 17, 2020, 19 Pages.
- Shanklin, Carter, “Update Hive Tables the Easy Way Part 2”, Retrieved from: https://blog.cloudera.com/update-hive-tables-easy-way-2/, Aug. 23, 2017, 11 Pages.