Database Administration & Monitoring PostgreSQL on Amazon RDS – Setting up the beast 06.01.2016 by Daniel Westermann Today I had a look at PostgreSQL in Amazon RDS. Once you have an Amazon AWS account (this requires a valid credit card for verification) setup bringing up a PostgreSQL instance is pretty easy. The first(…)
Database Administration & Monitoring How fast can you setup a standby database with PostgreSQL? 22.12.2015 by Daniel Westermann While setting up a PostgreSQL infrastructure at customer today my colleague Pierre Sicot and I discussed on how time consuming it is to setup standby databases if you compare different vendors. Lets make a challenge out of(…)
Database Administration & Monitoring Watching sql statements in PostgreSQL 21.12.2015 by Daniel Westermann Back in 2012 I wrote a small blog post about watching the results of commands in Linux. Well, the same can be done in psql: (postgres@[local]:4448) [postgres] > create table t1 ( a(…)
Database Administration & Monitoring Setting your cluster name in PostgreSQL 9.5 20.12.2015 by Daniel Westermann PostgreSQL 9.5 introduces a new parameter which is called: cluster_name. So, what is this good for? Imagine you have two (or even more) PostgreSQL clusters running on the same host. When looking at the operating system processes(…)
Database Administration & Monitoring, Database management pg_dump: [archiver (db)] query failed: ERROR: schema “sys” does not exist 15.12.2015 by Daniel Westermann As I could not find any information about this error when I faced it this is just a short hint: If you try to use pg_dump or pg_dumpall out of a(…)
Database Administration & Monitoring Parallel sequential scans are coming to PostgreSQL 11.12.2015 by Daniel Westermann It didn’t made it into the upcoming PostgreSQL 9.5 release but it will probably be coming in 9.6: Parallel sequential scans. If you take a look at the development documentation some new parameters showed up: max_parallel_degree: The(…)
Database Administration & Monitoring, Database management Monitoring tools for PostgreSQL – POWA 09.12.2015 by Daniel Westermann The last posts introduced the logging system, pg_stat_statements, pg_activity and pgcluu. This post will look at POWA: PostgreSQL Workload Analyzer. For getting the most out of POWA the following extension(…)
Database Administration & Monitoring Monitoring tools for PostgreSQL – pgcluu 08.12.2015 by Daniel Westermann The last posts introduced the logging system, pg_stat_statements and pg_activity. All of these can be used to monitor sql statements the PostgreSQL server is executing. In this post I’ll look into pgcluu:(…)
Database Administration & Monitoring SQL Monitoring in PostgreSQL (3) – pg_activity 07.12.2015 by Daniel Westermann The last posts looked at how the logging system and the pg_stat_statements extension can be used to monitor sql statements in PostgreSQL. This post will introduce pg_activity which is very similar to(…)
Database Administration & Monitoring SQL Monitoring in PostgreSQL (2) – pg_stat_statements 06.12.2015 by Daniel Westermann The last post looked into how you can monitor queries using the logging system. This post will introduce pg_stat_statements. pg_stat_statements is a module that needs to be loaded and is not available in(…)