Skip to content

Utilities for Postgres Database Administration

Notifications You must be signed in to change notification settings

EmpathicKernel/postgres_utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Postgres_Utils

Set of Utilities created to make administration of Postgres Easier

Analyze

Created to analyze Postgres tables across all databases within a Postgres Cluster. Specifically designed for RDS although should be usable on any PostgreSQL installation.

Once connected, all databases (aside from excluded) within the Postgres cluster will be connected to and all tables analyzed. Tables are analyzed in parallel on each database. Databases are connected to in series.

INFO logging provides updates on every 100 tables analyzed.

Password file required!

Usage:

python3 ./analyze/main.py -d <DB-to-connect-to> --username <Username> --host <DB-Host> -p <#-of-parallel-processes>

Extension_Update

Created to update extensions on all tables across all databases within a Postgres Cluster.

Please understand what you are doing before running this!

Password file required!

Usage:

python3 ./extension_update/main.py -d <DB-to-connect-to> --username <Username> --host <DB-Host>

About

Utilities for Postgres Database Administration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%