Database Administration & Monitoring PostgreSQL on FreeBSD, installation from packages 20.02.2021 by Daniel Westermann In the last two posts we installed FreeBSD, configured networking, updated the system, installed bash and had a quick look at kernel parameters. In this post we'll install PostgreSQL from packages. Of course you(…)
Database Administration & Monitoring PostgreSQL on FreeBSD, updating & configuration 19.02.2021 by Daniel Westermann In the last post we installed FreeBSD, configured the keyboard, time zone and the first network interface, which gets it's IP address via DHCP. In this post we'll look at how we can configure the second interface,(…)
Database Administration & Monitoring PostgreSQL on FreeBSD, getting started 18.02.2021 by Daniel Westermann Although we are running PostgreSQL mostly on Linux distributions, you can install an run PostgreSQL on a lot of other operating systems. On of them is FreeBSD. FreeBSD is one of those Unixes that derived from the(…)
Database Administration & Monitoring 8000 databases in one PostgreSQL cluster? 11.02.2021 by Daniel Westermann A while ago I posted this tweet on Twitter: #Postgresql friends: 8000 databases. One cluster, 8000 clusters, Kubernetes,, what would be your choice? Let's assume 10gb per database. I know backup/restore, inodes etc, no discussions about(…)
Database Administration & Monitoring An introduction into server side programming in PostgreSQL – 3 – PL/pgSQL, procedures 10.02.2021 by Daniel Westermann In the first to posts in this series (An introduction into server side programming in PostgreSQL – 1 – SQL functions, basics , An introduction into server side programming in PostgreSQL – 2 –(…)
Database Administration & Monitoring An introduction into server side programming in PostgreSQL – 2 – SQL functions, sets, udts and polymorphic types 07.02.2021 by Daniel Westermann This is part two of the little series about server side programming in PostgreSQL. In the last post we had a look at the basics when it comes to SQL functions. We learned how to write those(…)
Database Administration & Monitoring An introduction into server side programming in PostgreSQL – 1 – SQL functions, basics 03.02.2021 by Daniel Westermann Over the last years I've seen many different applications running against PostgreSQL. The use cases vary from simple applications, which only use basic data types and a few tables and views, to complex applications with custom types, more specific data(…)
Database Administration & Monitoring Dealing with German “Umlaute” in PostgreSQL’s full text search 08.01.2021 by Daniel Westermann PostgreSQL comes with build-in Full Text Search and you can do quite amazing stuff with it. A question that popped up during one of the last PostgreSQL for developers workshop was: How(…)
Database Administration & Monitoring Cluster level encryption for PostgreSQL 14 26.12.2020 by Daniel Westermann The discussions how and why TDE (Transparent data encryption) should be implemented in PostgreSQL goes back several years. You can have a look at these two more recent threads to get an idea on how much discussion happened around that(…)
Application integration & Middleware pg_auto_failover: Failover and switchover scenarios 11.12.2020 by Daniel Westermann In the last post we had a look at the installation and setup of pg_auto_failover. We currently have one primary cluster and two replicas synchronizing from this primary cluster. But we potentially also have an issue(…)