administration

PostgreSQL Tutorial: Backing up a database cluster using pg_basebackup

Summary: pg_basebackup is the built-in binary format backup tool available with PostgreSQL. Only the backups taken using pg_basebackup can be used for point-in-time recovery and not pg_dump or pg_dumpall.

Continue reading

PostgreSQL Tutorial: Restoring a backup taken using pg_basebackup

Summary: In the backing up a database cluster tutorial, we discussed how pg_basebackup can be used to take a physical backup of the PostgreSQL cluster. We may restore this backup in various situations, such as creating a standby server in replication or recovering a database to a point in time. In this tutorial, we shall see the steps required to restore a backup taken using pg_basebackup.

Continue reading

PostgreSQL Tutorial: Minor Version Update

Summary: In this tutorial, we shall see how a minor version upgrade can be performed when using PostgreSQL 13.

Continue reading

PostgreSQL Tutorial: PostgreSQL Server and Database Objects

Summary: in this tutorial, you are going to get familiar with the most common server and database objects provided by PostgreSQL. It is important to understand those objects and their functionality so you do not miss out on the cool features that you may wish to have in the system.

Continue reading

PostgreSQL Tutorial: Change The Password for a User

Summary: in this tutorial, you will learn how to change the password for a user in PostgreSQL.

Continue reading

PostgreSQL Tutorial: Copy Table

Summary: in this tutorial, we will show you step by step how to copy an existing table including table structure and data by using the various forms of PostgreSQL copy table statement.

Continue reading

PostgreSQL Tutorial: Reset Forgotten Password For postgres User

Summary: in this tutorial, we will show you step by step how to reset the password of the postgres user in PostgreSQL.

Continue reading

PostgreSQL Tutorial: Delete Duplicate Rows

Summary: in this tutorial, you will learn how to use various techniques to delete duplicate rows in PostgreSQL.

Continue reading

PostgreSQL Tutorial: Compare Two Tables

Summary: in this tutorial, you will learn various ways to compare two tables in PostgreSQL.

Continue reading

PostgreSQL Tutorial: Copy Database

Summary: in this tutorial, you will learn how to copy a PostgreSQL database on the same server or from a server to another.

Continue reading