Slicing of relational databases
Abstract
A method and a processing device may be provided for creating a shadow database, having a size being approximately a desired percentage of a size of a relational database. Referential integrity of tables of the relational database may be preserved in the created shadow database. A representation of a connected graph may be created, based on a schema description of the relational database, and may be used to find driving tables and related tables of the relational database. Portions of driving tables of the relational database may be copied to corresponding tables of the shadow database and rows of tables of the relational database, related to the copied portions of the driving tables, may be copied to corresponding tables of the shadow database in a number of iterations until the size of the shadow database is approximately the desired percentage of the size of the relational database.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-implemented method for slicing a relational database while preserving referential integrity, the machine-implemented method comprising: copying, completely, all domain tables of the relational database to a shadow database, the shadow database having a same structure as the relational database; dividing a desired percentage, p, by a value, c, to create a target iteration slicing percentage of p/c; determining whether foreign keys exist in the relational database; and performing a plurality of acts, when the foreign keys are determined to exist in the relational database, the pluralit
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (4)
- "Reduce Size Requirements for Your Enterprise Application Testing Environment to Facilitate Testing and Development", Applimation, 2008, pp. 2.
- DeBarros,et al., "Binary Checksum Query Better for Big Table Samplings", Jun. 2007, SQL Server Magazine, Penton Media, Inc., pp. 2.
- Rayside "A Generic Worklist Algorithm for Graph Reachability Problems in Program Analysis", Derek Rayside, 2001, pp. 143.
- Willmor, et al., "Program Slicing in the Presence of Database State", 20th IEEE International Conference on Software Maintenance (ICSM'04), 2004, pp. 5.