【文件属性】:
文件名称:postgres_opttune:使用机器学习尝试PostgreSQL参数调整
文件大小:72KB
文件格式:ZIP
更新时间:2021-05-04 15:27:07
postgresql tuning parameter-tuning pgbench optuna
postgres_opttune
postgres_opttune是为调优PostgreSQL参数而开发的工具。 您可以自动找到适当的设置PostgreSQL参数。
下图显示了使用Oltpbenchmark的工作负载优化PostgreSQL 12的结果。
由...制作
, ,
例子
以下过程用于在单个服务器上安装PostgreSQL12和postgres_opttune。
安装(pgbench)
使用pgbench进行调整时,请执行以下步骤。
python3安装
# yum install python3 python3-devel python3-libs python3-pip
# pip3 install --upgrade pip setuptools
编译器(gcc)安装
# yum install gcc
git安装
# yum install git
Post
【文件预览】:
postgres_opttune-master
----conf()
--------tpcc_config_postgres.xml(1KB)
--------postgres_opttune.conf(3KB)
--------version-12_old_version.json(3KB)
--------version-12.json(3KB)
----docker()
--------Dockerfile.CentOS7(3KB)
--------Dockerfile.ubuntu-18.04(4KB)
--------Dockerfile.CircleCI(3KB)
--------config()
----sampling_workload.py(2KB)
----log()
--------.gitkeep(0B)
----workload_data()
--------.gitkeep(0B)
----requirements.txt(147B)
----notebook()
--------tune.ipynb(3KB)
----LICENSE(11KB)
----pgopttune()
--------study()
--------parameter()
--------utils()
--------log()
--------resource()
--------recovery()
--------objective()
--------config()
--------workload()
--------sampler()
--------experimentation()
----setup.py(657B)
----README.md(5KB)
----tune.py(6KB)
----tests()
--------utils()
--------resource()
--------test_tune.py(695B)
--------README.md(87B)
----.gitignore(2KB)