Tag: debian

  • Upgrading PostgreSQL on Debian Linux with pg_upgradecluster

    Upgrading PostgreSQL on Debian Linux with pg_upgradecluster

    In my previous post, we upgraded a PostgreSQL 15 cluster to version 18 using pg_upgrade. In this post, we’ll contrast that with using pg_upgradecluster. As before, the upgrade process is: Note that we have one less step than the pg_upgrade version, that step being creating the new cluster. The environment is the same as before:…

    Keep reading

  • Upgrading PostgreSQL on Linux with pg_upgrade

    Upgrading PostgreSQL on Linux with pg_upgrade

    In this post, we’ll look at how to upgrade a PostgreSQL installation on Linux. In this example, we’ll look at an in-place upgrade on Debian from PostgreSQL version 15 to 18. The version 15 cluster will already be up and running and we’re going to use pg_upgrade to do it. The upgrade process is: The…

    Keep reading

  • Installing MongoDB on Debian

    Installing MongoDB on Debian

    In preparation for an upcoming project (stay tuned for more details), I needed to set up a MongoDB database server. In this post, we’ll walk through how to install and configure MongoDB on Debian 12. At the time of writing, Debian 13 is the most up to date stable version of Debian, though MongoDB is…

    Keep reading

  • Setting up the Stack Overflow database in Postgres

    Setting up the Stack Overflow database in Postgres

    I’ve worked with Microsoft SQL Server for many years as well as dipping my toes into the MySQL world as and when required, however, I have not done as much with PostgreSQL. It’s hard to ignore the momentum that Postgres has built in recent years; it is moving up the Stack Overflow Developer Survey and…

    Keep reading