Database Administration & Monitoring Avoiding access to the public schema in PostgreSQL 27.01.2016 by Daniel Westermann In PostgreSQL every database contains the public schema by default. Every user that gets created and can login is able to create objects there. Here is a little demo: I’ll create a new user named u1 which is allowed to(…)
Database Administration & Monitoring Using the official PostgreSQL yum repositories 22.01.2016 by Daniel Westermann Usually I advice to build PostgreSQL from source as it gives the most flexibility. Another option is to use the official yum repositories. There is one repository for each supported release of PostgreSQL and(…)
Database Administration & Monitoring External tables in PostgreSQL? 16.01.2016 by Daniel Westermann In Oracle you can use the external table feature to load data from files into the database. The traditional way to do this in PostgreSQL is to use the copy command. But there is(…)
Database Administration & Monitoring PostgreSQL on Amazon RDS – Loading the beast 12.01.2016 by Daniel Westermann The last posts outlined how you can bring up a PostgreSQL instance in the Amazon cloud, how you can restrict access to the instance, how you can configure it and how you can(…)
Database Administration & Monitoring PostgreSQL on Amazon RDS – Adding a replica to the beast 11.01.2016 by Daniel Westermann In the last post I looked on how you can change the PostgreSQL parameters when the instance is running in the Amazon cloud. In this post we’ll look at how to add a replica to the PostgreSQL instance(…)
Database Administration & Monitoring PostgreSQL on Amazon RDS – Configuring the beast 09.01.2016 by Daniel Westermann In the last post I looked at how you can strengthen the security for your PostgreSQL instance in Amazon RDS. In this post I’ll look at how you can configure your PostgreSQL instance. When you login to(…)
Database Administration & Monitoring PostgreSQL on Amazon RDS – Securing the beast 07.01.2016 by Daniel Westermann In the last post I looked at how to bring up a PostgreSQL instance in the Amazon cloud. In this post I’ll look into how to restrict access to this instance to specific IP addresses to strengthen security.
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(…)