Skip to content

Hap-Hugh/PARQO

Repository files navigation

Postgres Configuration

https://github.com/Hap-Hugh/PG16

Full Paper Link

https://github.com/Hap-Hugh/PARQO/blob/main/PARQO-Full-Paper.pdf

[Jun 3 Updated]Arxiv is available now: https://arxiv.org/abs/2406.01526

Instructions to run PARQO

  1. Download PostgreSQL 16.2 and modify it following the link above.
  2. Install PostgreSQL
  3. Install pg_hint_plan (newest version that working with PG 16.2)
  4. Use pg_ctl to initdb and modify the postgresql.conf file
  1. Make database (JOB, DSB and STATS)
  1. Run PARQO's code:
  • install numpy, psycopg2, matplotlib, scikit-learn, SALib, tqdm
  • RQO: python robustness.py --query_id=17a
  • PQO: python robustness.py --query_id=17a --pqo
  • Others:
    • Sobols: python robustness.py --query_id=17a --cal_sen=sobols
    • Morris: python robustness.py --query_id=17a --cal_sen=morris

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages