Skip to content

jesperpedersen/pgvictoria

 
 

Repository files navigation

pgvictoria

pgvictoria is a tuning solution for PostgreSQL.

pgvictoria is named after the Roman Goddess of Speed.

Features

  • PostgreSQL configuration comparison

Overview

pgvictoria makes use of

  • Process model
  • Shared memory model across processes
  • libev for fast network interactions
  • Atomic operations are used to keep track of state

Tested platforms

Compiling the source

pgvictoria requires

dnf install git gcc clang clang-analyzer cmake make libev libev-devel openssl openssl-devel python3-docutils libatomic libasan libasan-static

Alternative gcc can be used.

Release build

The following commands will install pgvictoria in the /usr/local hierarchy.

git clone https://github.com/pgvictoria/pgvictoria.git
cd pgvictoria
mkdir build
cd build
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install

See RPM for how to build a RPM of pgvictoria.

Debug build

The following commands will create a DEBUG version of pgvictoria.

git clone https://github.com/pgvictoria/pgvictoria.git
cd pgvictoria
mkdir build
cd build
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug ..
make

Remember to set the log_level configuration option to debug5.

Contributing

Contributions to pgvictoria are managed on GitHub.com

Contributions are most welcome !

Please, consult our Code of Conduct policies for interacting in our community.

Consider giving the project a star on GitHub if you find it useful. And, feel free to follow the project on X as well.

License

BSD-3-Clause

About

Tuning of PostgreSQL by analysis of configuration and run-time information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 96.2%
  • CMake 3.7%
  • Shell 0.1%