PostgreSQL Administration
This chapter introduces the knowledge related to managing databases in PostgreSQL, including user permissions, reseting passwords, database backup and restore, psql commands and explain.
-
PostgreSQL psql Commands
This article introduces the commonly used commands in the psql tool provided by PostgreSQL. -
PostgreSQL Show Databases
This article describes two methods for listing databases in PostgreSQL. -
PostgreSQL Objects Size
This article describes how to view the size of databases, tables, indexes, and tablespaces in PostgreSQL. -
PostgreSQL Copy Databases
This article describes several ways to copy databases in PostgreSQL. -
PostgreSQL Show Tables
This article describes two methods for listing tables in a database in PostgreSQL. -
PostgreSQL Describe Tables
This article describes two ways to view the definition or structure of a table in PostgreSQL. -
PostgreSQL Copy Tables
This article describes several ways to copy tables in PostgreSQL -
PostgreSQL Export and Import
This article describes how to back up a PostgreSQL database usingpg_dump
andpg_dumpall
and how to restore PostgreSQL database usingpg_restore
. -
PostgreSQL EXPLAIN
This article describes the usage of the EXPLAIN statement in PostgreSQL. -
PostgreSQL Reset Password
This article describes the detailed steps to reset the password of the PostgreSQL superuser.