PostgreSQL Videos, Tutorials & DBA Guides

Free PostgreSQL video tutorials on replication, high availability, performance tuning, VACUUM, indexing, backups, PITR, migrations, and production DBA skills. Watch embedded lessons from Dr. Ibrar Ahmed on pgElephant.

Search for PostgreSQL tutorials, DBA training, replication guides, performance tuning, backup and recovery, indexing, and production troubleshooting — then watch every lesson here on pgElephant. Embedded from PostgreSQL with Dr. Ibrar Ahmed.

pgElephant is a free PostgreSQL video library for engineers searching tutorials on replication, logical replication, high availability, slow queries, EXPLAIN ANALYZE, VACUUM, bloat, backups, PITR, indexing, migration, security, checkpoints, and production DBA workflows.

PostgreSQL replication & logical replicationHigh availability & disaster recoveryPerformance tuning & slow queriesVACUUM, bloat & autovacuumIndexing & EXPLAIN ANALYZEBackups, PITR & checkpointsOracle & MySQL to PostgreSQL migrationSecurity hardening & production runbooks

PostgreSQL Video Library

34 PostgreSQL videos from @DrIbrarAhmed

Why is my PostgreSQL query slow? (Version 19 Fix)

Your query is slow. But WHERE is it slow? PostgreSQL 19 finally tells you.

Watch on YouTube

PostgreSQL Uses 1 of 16 CPU Cores. Here's the Fix.

You have 16 cores. PostgreSQL uses 1. Sound familiar?

Watch on YouTube

PostgreSQL work_mem: The Hidden 400GB RAM Bomb

You set work_mem to 1GB. Reasonable, right? Wrong.

Watch on YouTube

Your PostgreSQL work_mem Is a 400 GB Memory Bomb

One line of config. Up to 400 GB of RAM. On a server with 128.

Watch on YouTube

PostgreSQL 19: Join Planner Stats by OID (Finally)

Debugging the planner just got easier. PostgreSQL 19 makes stats joinable.

Watch on YouTube

PostgreSQL 19: Stop Guessing Which Table Needs VACUUM

Which table is bloated? Before PG19, you had to guess. Not anymore.

Watch on YouTube

PostgreSQL 19: Lock Waits Are Finally Visible (After Years)

"Why is my query waiting?" PostgreSQL 19 finally answers this.

Watch on YouTube

PostgreSQL 19: JIT Is OFF by Default (And That's Good)

JIT compilation was on by default. It caused more problems than it solved.

Watch on YouTube

128 GB RAM. 18-Second Query. Here's Why Hardware Won't Save You.

You threw hardware at the problem. It didn't work. Here's why.

Watch on YouTube

"Max Out the Hardware" Is Wrong Advice. Here's Why.

Someone told you to max out shared_buffers. They were wrong.

Watch on YouTube

Your PostgreSQL Server Is Not Maxed Out. These 5 Settings Are Wrong.

128 GB of RAM. 32 cores. NVMe storage.

Watch on YouTube

New to PostgreSQL? Start Here. (2026 DBA Roadmap)

You want to learn PostgreSQL. The internet has 10,000 tutorials. Where do you start?

Watch on YouTube

The work_mem Formula That Prevents OOM Crashes (With Math)

128 GB RAM. work_mem at 64 MB looks safe.

Watch on YouTube

PostgreSQL 19 Broke Your Login. Here's the Fix.

You upgraded to PostgreSQL 19. Now nobody can log in.

Watch on YouTube

PostgreSQL 19: Graph Queries and GROUP BY ALL Changed Everything

SQL/PGQ graph queries. GROUP BY ALL. PostgreSQL 19 is a game changer.

Watch on YouTube

PostgreSQL 19: Read-Your-Writes on Replicas (Zero Performance Hit)

PostgreSQL tutorial covering PostgreSQL 19: Read-Your-Writes on Replicas (Zero Performance Hit).

Watch on YouTube

PostgreSQL 19: Faster Performance, Zero Config Changes Required

PostgreSQL tutorial covering PostgreSQL 19: Faster Performance, Zero Config Changes Required.

Watch on YouTube

PostgreSQL 19 Autovacuum: Settings That Finally Prevent Bloat

PostgreSQL tutorial covering PostgreSQL 19 Autovacuum: Settings That Finally Prevent Bloat.

Watch on YouTube

PostgreSQL 19: Sequences Finally Replicate (After 20 Years)

PostgreSQL tutorial covering PostgreSQL 19: Sequences Finally Replicate (After 20 Years).

Watch on YouTube

Your Table Is 80% Dead Rows. VACUUM Won't Save You.

PostgreSQL tutorial covering Your Table Is 80% Dead Rows. VACUUM Won't Save You..

Watch on YouTube

From 47 Seconds to 3.6ms: The Query Fix That Changed Everything

PostgreSQL tutorial covering From 47 Seconds to 3.6ms: The Query Fix That Changed Everything.

Watch on YouTube

Checkpoints Are Killing Your PostgreSQL Performance

PostgreSQL tutorial covering Checkpoints Are Killing Your PostgreSQL Performance.

Watch on YouTube

PostgreSQL Replication Commands That Save Production

PostgreSQL tutorial covering PostgreSQL Replication Commands That Save Production.

Watch on YouTube

PostgreSQL Backup Commands You Need Before Disaster Strikes

PostgreSQL tutorial covering PostgreSQL Backup Commands You Need Before Disaster Strikes.

Watch on YouTube

3 Ways to Upgrade PostgreSQL Without Destroying Production

PostgreSQL tutorial covering 3 Ways to Upgrade PostgreSQL Without Destroying Production.

Watch on YouTube

EXPLAIN ANALYZE: Read PostgreSQL Query Plans Like a Senior DBA

PostgreSQL tutorial covering EXPLAIN ANALYZE: Read PostgreSQL Query Plans Like a Senior DBA.

Watch on YouTube

MySQL to PostgreSQL: The Migration Nobody Warns You About

PostgreSQL tutorial covering MySQL to PostgreSQL: The Migration Nobody Warns You About.

Watch on YouTube

Oracle to PostgreSQL: The Migration That Saved My Company $2M/Year

PostgreSQL tutorial covering Oracle to PostgreSQL: The Migration That Saved My Company $2M/Year.

Watch on YouTube

Your PostgreSQL Has a Backdoor. Here's How to Find It.

PostgreSQL tutorial covering Your PostgreSQL Has a Backdoor. Here's How to Find It..

Watch on YouTube

5 Reasons Senior Engineers Choose PostgreSQL Over MySQL

PostgreSQL tutorial covering 5 Reasons Senior Engineers Choose PostgreSQL Over MySQL.

Watch on YouTube

Stop Guessing. Here's How to Benchmark PostgreSQL Properly.

PostgreSQL tutorial covering Stop Guessing. Here's How to Benchmark PostgreSQL Properly..

Watch on YouTube

Dead Tuples Are Silently Killing Your PostgreSQL (Here's Proof)

PostgreSQL tutorial covering Dead Tuples Are Silently Killing Your PostgreSQL (Here's Proof).

Watch on YouTube

Your PostgreSQL Is Gone. You Have One Option Left.

PostgreSQL tutorial covering Your PostgreSQL Is Gone. You Have One Option Left..

Watch on YouTube

The Index That Made My Query 1000x Faster (PostgreSQL Indexing Secrets)

PostgreSQL tutorial covering The Index That Made My Query 1000x Faster (PostgreSQL Indexing Secrets).

Watch on YouTube

PostgreSQL Video FAQ

Where can I watch free PostgreSQL video tutorials?

You can watch free PostgreSQL tutorials here on pgElephant. This page embeds the full library from Dr. Ibrar Ahmed, covering replication, HA, performance, backups, indexing, and production DBA workflows.

What PostgreSQL topics do these videos cover?

Topics include logical replication, high availability, VACUUM and table bloat, slow query analysis, EXPLAIN ANALYZE, indexing strategies, backup and PITR, database migration, security hardening, checkpoints, and major version upgrades.

Are these PostgreSQL videos for beginners or DBAs?

Both. The collection includes DBA cheat sheets for daily operations and deeper walkthroughs for engineers managing PostgreSQL in production.

Who teaches the PostgreSQL videos on pgElephant?

The videos are from Dr. Ibrar Ahmed on the YouTube channel PostgreSQL with Dr. Ibrar Ahmed, embedded and curated on pgElephant for PostgreSQL engineers and teams.