Invention Grant
- Patent Title: Method for populating spanner databases in test environments
-
Application No.: US17555659Application Date: 2021-12-20
-
Publication No.: US12007881B2Publication Date: 2024-06-11
- Inventor: Srinath Badrinath , Everett Maus , Danhao Guo , Carlos Arguelles
- Applicant: Google LLC
- Applicant Address: US CA Mountain View
- Assignee: Google LLC
- Current Assignee: Google LLC
- Current Assignee Address: US CA Mountain View
- Agency: Lerner David LLP
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
A method of populating a test environment for integration testing of a production database. The production database includes a plurality of tables, and may be represented by a directed acyclic graph (DAG), in which each of the plurality of tables is represented by a respective node of the DAG and schema-level constraints of the plurality of tables are represented by edges of the DAG. The method may involve constructing the DAG, topologically ordering the plurality of tables of the production database according to the DAG, randomly generating test data in accordance with the schema-level constraints of the plurality of tables, and populating the randomly generated test data to the test environment according to the topological ordering of the plurality of tables.
Public/Granted literature
- US20230195605A1 Method For Populating Spanner Databases In Test Environments Public/Granted day:2023-06-22
Information query