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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pg_stats-0.0.1.dev1.tar.gz
(2.7 kB
view details)
File details
Details for the file pg_stats-0.0.1.dev1.tar.gz
.
File metadata
- Download URL: pg_stats-0.0.1.dev1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f1dd99c7f19200471a30c0a2cee1b7d192204a8f654f1dd46563af95e6574335
|
|
MD5 |
8d62c4ecaef1e34935054460acce0e3a
|
|
BLAKE2b-256 |
374c74bdc5f9978426428cab3e4f6cb9de3c5de2b385ead34d0641efcafbe956
|