BSD Ports

databases/powa-archivist 5.0.1 DragonFly

PostgreSQL workload analyzer background worker

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PostgreSQL
Categories
databases
Package size
61.7 KiB, 2450.5 KiB installed

Description

This project is the core extension of the PoWA project, a PostgreSQL Workload Analyzer that gathers performance stats and provides real-time charts and graphs to help monitor and tune your PostgreSQL servers.

In the other systems

SystemPortVersion
DragonFlydatabases/powa-archivist5.0.1
FreeBSDdatabases/powa-archivist5.3.0
HardenedBSDdatabases/powa-archivist5.3.0
GhostBSDdatabases/powa-archivist5.3.0

Install

Binary package:

pkg install powa-archivist

From DPorts:

cd /usr/dports/databases/powa-archivist && make install clean

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To activate powa-archvist on your PostgreSQL server, add 'powa' to the list of
shared_preload_libraries in $PGDATA/postgresql.conf:

shared_preload_libraries = 'pg_stat_statements,powa'
track_io_timing = on

Also, create the powa database and add extensions

createdb powa
psql -d powa -c "
CREATE EXTENSION pg_stat_statements;
CREATE EXTENSION btree_gist;
CREATE EXTENSION powa;
"

After this, restart postgresql to start the background worker.

See http://powa.readthedocs.org/en/latest/powa-archivist/installation.html#id1
for detailed installation instructions.

Optionally, but warmly recommended, is the use of databases/pg_qualstats and
databases/pg_stat_kcache together with powa.

Use the databases/powa-web port to visualize the data.