Not really an app, but we have a Apache script that logs all the activity to our Postgres/PostGIS services and inserts the log entries directly into Postgres. Works great for reporting our Postgres web traffic stuff. My dev guy was skeptical about it being effective and not binding up at some point, but it’s been running for a couple of years now with no ill effects.
I have a bunch of canned and automated reports being generated from it.
bobb
On Feb 16, 2018, at 10:35 AM, Ibrahim Edib Kokdemir <kokdemir@gmail.com> wrote:
Hi Tim,
There are good continuously running apps to monitor postgres.
I was wondering if anyone has some pointers to sites/repositories/resources for scripts to perform basic database audits and health checks.
situation: I have just commenced a DBA and developer role for an organisation with a number of Postgres databases (9.4 and 9.6 versions). There has been no dedicated DBA and a number of the databases were setup by people with little to know Postgres or database experience. I need to get an overview on what I'm dealing with and start prioritising what to address first.
It has been some years since I've done any real work with Postgres. Most of my technical work over the last 10 years has been with Oracle. I prefer to use scripts over GUI tools like pgAdmin and suspect that there is probably some good resources out there with existing scripts I can use as a starting point.
Any pointers greatly appreciated.
thanks,
Tim
-- Tim Cross
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.”
- Albert Einstein
> resources for scripts to perform basic database audits and health checks.
PgBadger is free and an excellent log analyzer which is useful for tracking query execution times and transaction rates.