Database Administration & Monitoring pg_auto_failover: Setup and installation 01.11.2019 by Daniel Westermann When I attended PGIBZ 2019 earlier this year, I talked with Dimitri about pg_auto_failover and I promised to have a look at it. Well, almost half a year(…)
Database Administration & Monitoring, Database management, PostgreSQL Patroni Operations – Changing Parameters 30.10.2019 by Open source Team Sooner or later all of us have to change a parameter on the database. But how is this put into execution when using a Patroni cluster? Of course there are some specifics you have to consider. This post will give(…)
Database Administration & Monitoring PostgreSQL 13 will come with partitioning support for pgbench 30.10.2019 by Daniel Westermann A lot of people use pgbench to benchmark a PostgreSQL instance and pgbench is also heavily used by the PostgreSQL developers. While declarative partitioning was introduced in PostgreSQL 10 there was no(…)
Database Administration & Monitoring PostgreSQL check_function_bodies, what is it good for? 27.10.2019 by Daniel Westermann One of the probably lesser known PostgreSQL parameters is check_function_bodies. If you know Oracle, then you for sure faced "invalid objects" a lot. In PostgreSQL, by default, there is nothing like an invalid object. That implies(…)
Database Administration & Monitoring Why you really should use peer authentication in PostgreSQL 22.10.2019 by Daniel Westermann It is always a bit of a surprise that many people do not know peer authentication in PostgreSQL. You might ask why that is important as initdb creates a default pg_hba.conf which(…)
Database Administration & Monitoring Where can you find core developers asking people what is missing in PostgreSQL? pgconf.eu.2019 17.10.2019 by Daniel Westermann One of the major advantages of PostgreSQL conferences when you compare it to other conferences is, that you can listen to talks where the actual developers are presenting their work. You have questions about a feature, you want to know(…)
Database Administration & Monitoring Creating a customized PostgreSQL container using buildah 16.10.2019 by Daniel Westermann Quite some time ago I blogged about how you could build your customzized PostgreSQL container by using a Dockerfile and Docker build. In the meantime Red Hat replaced Docker in(…)
Database Administration & Monitoring Migrating your users from md5 to scram authentication in PostgreSQL 11.07.2019 by Daniel Westermann One of the new features in PostgreSQL 10 was the introduction of stronger password authentication based on SCRAM-SHA-256. How can you migrate your existing users that currently use md5 authentication to the new method without any(…)
Database Administration & Monitoring Converting columns from one data type to another in PostgreSQL 08.07.2019 by Daniel Westermann Usually you should use the data type that best fits the representation of your data in a relational database. But how many times did you see applications that store dates or numbers as text or dates as integers? This is(…)
Database Administration & Monitoring Telling the PostgreSQL optimizer more about your functions 07.07.2019 by Daniel Westermann When you reference/call functions in PostgreSQL the optimizer does not really know much about the cost nor the amount of rows that a function returns. This is not really surprising as it is hard to predict what the functions is(…)