Skip to main content

PostgreSQL service populator.

Project description

Tool: pg_stats

Description:
************

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:

$ ../../setup_env.sh

- 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

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page