Expand description
Sample command for creating reduced datasets from SQL dumps.
The sample command creates reduced datasets while optionally preserving foreign key integrity through dependency-aware FK chain resolution.
Supports MySQL, PostgreSQL, and SQLite dialects.
Structs§
- Default
Classifier - Default patterns for table classification (used when no config file)
- Reservoir
- Reservoir sampler using Algorithm R.
- Sample
Config - Configuration for the sample command
- Sample
Stats - Statistics from sample operation
- Sample
Yaml Config - Complete YAML configuration for sample command
- Table
Sample Stats - Per-table sampling statistics
Enums§
- Global
Table Mode - How to handle global/lookup tables
- Sample
Mode - Sampling mode
- Table
Classification - Table classification for sampling behavior
Functions§
- run
- Run the sample command