Skip to main content

PostgreSQL service populator.

Project description

Tool: pg_stats


This program iterates over all the databases and their datasets, get and shows these info:
- Average of rows per database
- Total rows in the entire server

How to:

Note: The next commands are meant to be run in the same that directory in which this Readme.txt file is stored.

- Disable any previously activated virtualenv:

$ deactivate

- Setup environment:

from this directory, run the next command:

$ ../../

- Enable virtualenv:

$ source venvs/3_stats/bin/activate

- Get the program help:

$ pg_stats -v

- Run the tool:

$ pg_stats

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pg_stats, version 0.0.1.dev1
Filename, size File type Python version Upload date Hashes
Filename, size pg_stats-0.0.1.dev1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page