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 Red Hat Forum Zürich, 2019, some impressions 10.09.2019 by Daniel Westermann Currently the Red Hat Forum 2019 in Zürich is ongoing and people just finished lunch before the more technical sessions are starting.
Database Administration & Monitoring EDB EPAS 12 comes with interval partitioning 10.08.2019 by Daniel Westermann While community PostgreSQL 12 is in beta quite some time now (currently in beta 3) it usually takes some time until EDB EPAS will be available on top of the next major(…)
Database Administration & Monitoring Schedule reboots of your AWS instances and how that can result in a hard reboot and corruption 17.07.2019 by Daniel Westermann From time to time you might require to reboot your AWS instances. Maye you applied some patches or for whatever reason. Rebooting an AWS instance can be done in several ways: You can of course do that directly from the(…)
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(…)