Administration

Top 10 PostgreSQL Configs Every DBA Should Know

Michael Patrick McCoy

PostgreSQL comes with hundreds of settings — but as a DBA, you only need to master a small handful to dramatically improve performance. These are the 10 essentials every DBA should understand cold!


Read More

Top 12 psql Commands You’ll Actually Use

Michael Patrick McCoy

If you're new to PostgreSQL, the psql shell can feel intimidating — but it shouldn’t. You only need a handful of commands to navigate, inspect objects, run queries, and troubleshoot. These are the 12 psql commands you will actually use all the time!


Read More

VACUUM, Autovacuum, and Bloat — The Plain-English Guide

Michael Patrick McCoy

It sounds mysterious, but VACUUM is actually one of the most important maintenance operations in PostgreSQL. This guide explains what VACUUM does, why autovacuum sometimes fails, what bloat really is, and how to check your database for problems — in simple, plain-English terms.


Read More

PostgreSQL Quickstart Administrator Guide

Michael Patrick McCoy

If you're new to PostgreSQL, the basics can feel intimidating. This guide walks you through essential tasks every beginner should know: starting and stopping PostgreSQL, finding configuration files, connecting with psql, and performing simple administrative commands.


Read More

Understanding PostgreSQL File Structure: A Lay of the Land

Michael Patrick McCoy

We’ll take a tour of the PostgreSQL data directory structure, explaining the purpose of key files and folders that make up a PostgreSQL database cluster.


Read More

PostgreSQL Backups: Using pg_dump and pg_restore

Michael Patrick McCoy

Backups are one of the most critical tasks in PostgreSQL administration. Two of the most powerful built-in tools for this are pg_dump and pg_restore.


Read More