Create lightweight database dumps for testing purposes #2648
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/devsecops
Categorizes an issue or PR as relevant to SIG DevSecOps.
Problem statement
As a developer of Thoth, I would like to test components using a local database instance without having to consume too many resources on my machine.
The current database backups generated in
ocp4-stage/graph-backup/
are currently more than 11GiB, which represents a lot of memory resources to allocate and of overhead for loading tables and writing WALs.Proposal description
Generate database backups for testing purposes with a limited number of entries in the tables containing the more entries, and where the risk of having missing entries would not disrupt too much the testing of components querying the database.
The text was updated successfully, but these errors were encountered: