How sys-arshjeetsingh/bayesian-opt works
This repository implements a PostgreSQL tuning study: experiment modes apply configurations to a disposable PostgreSQL instance, measure pgbench throughput, and record trial data; analysis summarizes results and generates figures. Baseline, grid search, BO, validation, and supplementary experiments are distinct stages. The graph also shows configuration application and benchmark execution as internal layers. Relationships are based on the supplied source excerpts and README; the standalone connection probe is included, but its relation to the experiment workflow is not established.
Main entry points: tune.py Experiment Logs · supp.py Supplementary Runs · analyze.py Analysis and Figures · db_connection.py Connection Probe
Components 16
Experiments
- Experiment Modes
tune.py - Baseline Runs
tune.py - Grid Search
tune.py - Bayesian Search
tune.py - GP and EI
tune.py - Winner Validation
tune.py - Supplementary Runs
supp.py
Experiment Runtime
- Config Application
tune.py - PostgreSQL
- pgbench Runs
tune.py - Experiment Logs
tune.py - Connection Probe
db_connection.py
Analysis
- Analysis and Figures
analyze.py - Results and Figures
results
Result Audit
- Result Verification
verify_results.py
Other components
- Researcher
Connections 27
- Researcher → Experiment Modes: selects mode
README.md - Experiment Modes → Baseline Runs: runs
tune.py - Experiment Modes → Grid Search: runs
tune.py - Experiment Modes → Bayesian Search: runs
tune.py - Experiment Modes → Winner Validation: runs
tune.py - Bayesian Search → GP and EI: fits and selects
tune.py - Supplementary Runs → Config Application: applies settings
supp.py - Supplementary Runs → pgbench Runs: runs
supp.py - Baseline Runs → Config Application: applies settings
tune.py - Grid Search → Config Application: applies settings
tune.py - Bayesian Search → Config Application: applies candidates
tune.py - Winner Validation → Config Application: applies settings
tune.py - Config Application → PostgreSQL: alters and restarts
tune.py - Baseline Runs → pgbench Runs: evaluates
tune.py - Grid Search → pgbench Runs: evaluates
tune.py - Bayesian Search → pgbench Runs: evaluates
tune.py - Winner Validation → pgbench Runs: evaluates
tune.py - pgbench Runs → PostgreSQL: measures workload
tune.py - Baseline Runs → Experiment Logs: records trials
tune.py - Grid Search → Experiment Logs: records trials
tune.py - Bayesian Search → Experiment Logs: records trials
tune.py - Winner Validation → Experiment Logs: records trials
tune.py - Supplementary Runs → Experiment Logs: writes records
supp.py - Experiment Logs → Analysis and Figures: reads experiment data
analyze.py - Analysis and Figures → Results and Figures: writes summaries and figures
analyze.py - Experiment Logs → Result Verification: audits records
verify_results.py - Connection Probe → PostgreSQL: connects
db_connection.py