Corporate · onsite · online training worldwide
contact@DevOpsSchool.com· +91 99057 40781·
> Databases · DevOpsSchool Trainer

PostgreSQL Trainer

Private corporate batches, live online cohorts and 1-on-1 mentoring in PostgreSQL operations — MVCC and vacuum, WAL and PITR, streaming replication, and query tuning — taught by a practitioner who runs it in production.

20 years across DevOps, SRE and Security · 10,000+ engineers trained · Trained teams at JPMorgan Chase, Verizon, Nokia and the World Bank

DeliveryOnline · Onsite · Hybrid
FormatsCorporate · 1-on-1 · Cohort
AgendaCustomisable
Batch size8–30 engineers
Engineers we've trained work at
JPMorgan ChaseBank of AmericaWells FargoVerizonNokiaWorld BankGE HealthcareVMwareOracleQualcommMercedes-BenzAirbusDatadogSplunkDeloitteInfosysWiproCapgemini
# who teaches it

Your PostgreSQL trainer

Rajesh Kumar

Principal DevOps Engineer & Architect

Early-bird MLOpsAIOps practitionerData platform operations20 years in productionPrincipal / architect roles10,000+ engineers trainedM.Tech BITS Pilani25+ certifications

Rajesh teaches PostgreSQL from the concurrency model outward: why MVCC leaves dead tuples behind, what autovacuum is actually doing, how bloat and transaction ID wraparound develop, and how the WAL underpins checkpoints, point-in-time recovery, streaming replicas and logical replication alike. Sessions run on real instances — pg_stat_statements and EXPLAIN (ANALYZE, BUFFERS) against live workloads, a rehearsed PITR, a promoted replica, and a connection pooler put in front of a server that has run out of backends.

Twenty years across DevOps, SRE and Security, in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe and others. He has trained engineers at JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus — more than 10,000 people personally. He teaches what he runs, not what he reads.

One practitioner, not a bench

You are booked with a named engineer, and that is who turns up. Marketplaces and larger providers rotate whoever is free, so the person who sold you the agenda is rarely the person teaching it.

The same trainer is available for the next engagement, which matters when a team builds on what it learned last time.

18,000+certified learners
500+corporate batches delivered
50+countries served
100+certification programmes
# faculty

Who delivers PostgreSQL engagements

Your batch is assigned a named trainer before it starts, and that is who teaches it. See the full faculty.

How your PostgreSQL trainer is chosen

Engagements are matched on the tool, not the calendar. For PostgreSQL that means a trainer who has run it in production — PostgreSQL operations — MVCC and vacuum, WAL and PITR, streaming replication, and query tuning — rather than whoever is free that week. You are told who is teaching before you commit, and that person is on the discovery call that shapes the agenda.

Where a batch is large enough to need a second trainer, the pairing is declared up front. The lead trainer stays accountable for the syllabus and the assessment either way.

Rajesh Kumar

Principal DevOps Engineer & Architect

India20 yrsLead trainer

Twenty years across DevOps, SRE and Security in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe, IBM/Emptoris, Ness, MindTree and Accenture. He has trained more than 10,000 engineers personally, at organisations including JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus. He teaches what he runs, not what he reads.

Durga Prasad

IndiaInstructorCoach

Gaurav Aggarwal

IndiaInstructorCoach

Harsh Mehta

IndiaInstructorCoach

Kapil Gupta

IndiaInstructorCoach

Kunal Jain

IndiaInstructorCoach

Nikhil Gupta

IndiaInstructorCoach

Pranab Kumar

IndiaInstructorCoach

Rohit Ghatol

IndiaInstructorCoach

Amit Agarwal

IndiaInstructorCoach

Anil Kumar

IndiaInstructorCoach

Balachandran Anbalagan

IndiaInstructorCoach

# how to engage

Four ways to work with this trainer

Private corporate batch

Teams of 8–30

Custom agenda, your timezone, onsite or online, NDA-friendly.

Request a quote

1-on-1 mentoring

Individual engineers

A private instructor and a curriculum built around your goal.

₹99,999

Live & Interactive cohort

Individuals who want peers

Scheduled batch, max 8 to 10 hours of live instruction.

₹34,999

Self-paced video

Self-starters

Full LMS access — 20+ courses and 50+ tools included.

₹833/mo
# private batches

Private PostgreSQL training for your team

A private batch starts with a discovery call. We look at the stack you actually run — the CI system, the cloud, the constraints — and map the agenda onto it, so examples use your topology rather than a generic one.

Delivery is onsite at your premises, live online, or hybrid, scheduled around your release calendar rather than ours. Batches run 8 to 30 engineers.

Every attendee leaves with recordings, slides, lab repositories and a completion certificate. You receive an attendance and assessment report. Invoicing supports PO and GST.

Talk to us about a private PostgreSQL batch

What you provide vs what we bring

  • You: the room or the call, and the engineers
  • Us: trainer, agenda, labs, assessment, certificates
  • Labs: we guide your team through provisioning their own free-tier cloud environment — the skill goes with them
# the technology

What is PostgreSQL?

PostgreSQL is an open-source object-relational database management system with a process-per-connection architecture, strict standards compliance and an extension system that lets it take on workloads well outside classic OLTP. A running instance is a postmaster supervising backend processes plus a set of background workers — the WAL writer, checkpointer, background writer, autovacuum launcher and any logical replication workers — coordinating through a shared buffer cache.

What defines PostgreSQL operationally is its concurrency model. It implements MVCC by keeping multiple row versions in the table itself, so an UPDATE writes a new tuple and leaves the old one behind. Readers never block writers and writers never block readers, but dead tuples accumulate, which makes autovacuum, bloat, transaction ID wraparound and the visibility map genuinely operational concerns rather than internals trivia. Durability comes from the write-ahead log, and that same WAL stream is what powers point-in-time recovery, streaming replicas and logical replication.

The extension surface is the second half of the story: PostGIS for spatial data, pgvector for embeddings, TimescaleDB for time series, pg_stat_statements for workload analysis, foreign data wrappers for federation. That range, plus a licence with no commercial strings, is why PostgreSQL has become the default choice for new systems and the migration target for teams leaving proprietary engines — and why infrastructure teams increasingly own one whether or not anyone on the team has a database background.

Why this skill matters now

PostgreSQL has quietly become the default relational database for new systems, and the destination for a large amount of migration away from commercial engines. That means more organisations are running Postgres than have anyone who has operated it before, and the operational model is different enough from MySQL or SQL Server that intuition transfers badly.

The specific failures are consistent and expensive. Autovacuum tuned for a small instance stops keeping up on a large one, and bloat quietly doubles the size of the working set. A long-running analytics transaction on a replica holds back cleanup on the primary. Connection counts climb past what a process-per-connection server can carry, with no pooler in front. Transaction ID wraparound warnings appear in the log and get ignored until the database refuses writes. None of these are obscure — they are the standard curriculum of Postgres operations, and they are exactly what teams have never been taught.

Managed Postgres — RDS, Aurora, Cloud SQL, Azure Database — removes the host and the patching, not the database. Autovacuum settings, index design, WAL volume, replica lag, extension choices and a recovery window you have actually rehearsed are all still yours. Hiring now reflects that: platform, SRE and data-infrastructure roles routinely ask for operational Postgres depth alongside cloud and automation skills.

PostgreSQL training
# outcomes

What your team can do afterwards

Explain the PostgreSQL process and memory architecture well enough to size shared_buffers, work_mem and connections from evidence
Reason about MVCC properly — dead tuples, bloat, the visibility map, autovacuum tuning and transaction ID wraparound
Operate the write-ahead log: checkpoints, archiving, WAL volume, and a point-in-time recovery you have actually performed
Build and operate streaming replication with replication slots, synchronous options, and controlled promotion
Use logical replication and publications for selective copying, zero-downtime upgrades and cross-version migration
Tune queries with EXPLAIN (ANALYZE, BUFFERS), pg_stat_statements, statistics targets and the right index type
Choose between B-tree, GIN, GiST, BRIN and partial indexes on the basis of the workload rather than habit
Run a Postgres estate day to day: connection pooling, monitoring, upgrades, roles and extension management
# curriculum

7 modules. Live demos in a real lab, not slides.

01Architecture, installation and the running instanceLive & Interactive5 hrs · 2 assignments · 1 capstone

What a PostgreSQL instance is made of: the postmaster, one backend process per connection, and the background workers that do the real housekeeping. Cluster initialisation, the data directory layout, tablespaces, and the differences between packaged, source and container installations that matter later.

Topics: Postmaster, backends and background workers · Shared buffers, WAL buffers and per-backend memory · initdb, clusters and the data directory layout · Installation: packages, source builds and containers · Tablespaces and file layout on disk · psql as an operational tool, not just a prompt

  • Assignments: (1) Initialise two clusters on one host and run them side by side on different ports; (2) Map every directory under PGDATA to what it holds
  • Capstone: Produce a standard build for a PostgreSQL host with the reasoning behind each choice
02Configuration, connections, roles and securityLive & Interactive5 hrs · 2 assignments · 1 capstone

Configuration precedence from postgresql.conf through ALTER SYSTEM to per-role and per-database settings, and which ones need a restart. Then the access path — pg_hba.conf rules read in order, authentication methods, TLS, and a role and privilege model that survives a security review.

Topics: postgresql.conf, ALTER SYSTEM and configuration precedence · Reload versus restart parameters · pg_hba.conf: rule ordering and authentication methods · TLS for client and replication connections · Roles, groups, GRANT and default privileges · Row-level security and schema-based isolation · Connection limits and why they bite

  • Assignments: (1) Lock down pg_hba.conf for three client classes and prove each rule; (2) Design a least-privilege role model for an application plus a reporting user
  • Capstone: Deliver a configuration and access baseline with a documented privilege matrix
03MVCC, autovacuum and bloatLive & Interactive5 hrs · 2 assignments · 1 capstone

The single most important operational topic in PostgreSQL. How MVCC stores multiple row versions, why dead tuples accumulate, what autovacuum actually does and when it falls behind, how bloat develops and is measured, and why transaction ID wraparound eventually stops a database that nobody has been watching.

Topics: MVCC, tuple visibility and the visibility map · Dead tuples, HOT updates and the fillfactor lever · Autovacuum: thresholds, scale factors and cost limits · Measuring table and index bloat · VACUUM, VACUUM FULL, pg_repack and the trade-offs · Transaction ID wraparound and freeze behaviour · Long transactions and their effect on cleanup

  • Assignments: (1) Create bloat deliberately on a test table, measure it, then remove it three different ways; (2) Tune autovacuum for a high-update table and prove it keeps up
  • Capstone: Produce a vacuum and bloat monitoring standard with thresholds you would page on
04WAL, backup and point-in-time recoveryLive & Interactive5 hrs · 2 assignments · 1 capstone

Durability and recovery from one mechanism. How the write-ahead log works, what a checkpoint costs, WAL archiving and retention, physical backups with pg_basebackup and pgBackRest, logical dumps with pg_dump, and a point-in-time recovery performed end to end against a real timeline.

Topics: Write-ahead logging, checkpoints and full-page writes · WAL archiving, archive_command and retention · pg_basebackup and physical backup mechanics · pgBackRest or Barman for real estates · pg_dump and pg_restore: when logical is the right answer · Point-in-time recovery, recovery targets and timelines · Restore rehearsal, RPO and RTO as measured numbers

  • Assignments: (1) Recover a cluster to a timestamp immediately before a destructive migration; (2) Measure and report the real restore time for a multi-gigabyte cluster
  • Capstone: Design a backup and recovery strategy with rehearsed RPO and RTO figures
05Replication, failover and high availabilityLive & Interactive5 hrs · 2 assignments · 1 capstone

Copying a PostgreSQL cluster and surviving the loss of the primary. Streaming replication and replication slots, hot standby and the feedback trade-off, synchronous commit levels, controlled promotion and timeline divergence, then logical replication for selective and cross-version copying, and the tooling that automates failover.

Topics: Streaming replication and replication slots · Hot standby, query conflicts and hot_standby_feedback · Synchronous commit levels and their latency cost · Promotion, timelines and pg_rewind · Logical replication: publications and subscriptions · Automated failover with Patroni and etcd · Connection routing during failover

  • Assignments: (1) Build a primary with two replicas, then promote one and reattach the other; (2) Use logical replication to move a single schema between major versions
  • Capstone: Operate a Patroni-managed cluster through a simulated primary failure
06Query performance, indexes and the plannerLive & Interactive5 hrs · 2 assignments · 1 capstone

Making slow things fast with evidence rather than folklore. Reading EXPLAIN (ANALYZE, BUFFERS), understanding how the planner uses statistics and cost parameters, choosing between the index types Postgres actually offers, and using pg_stat_statements to find the queries that matter instead of the ones people complain about.

Topics: EXPLAIN (ANALYZE, BUFFERS) read line by line · Planner statistics, statistics targets and extended statistics · B-tree, GIN, GiST, BRIN and hash indexes · Partial, expression and covering indexes · work_mem, sorts, hash joins and spill to disk · pg_stat_statements and workload profiling · Declarative partitioning and partition pruning

  • Assignments: (1) Profile a workload with pg_stat_statements and fix the top three by total time; (2) Choose and justify an index type for a full-text and a range-scan workload
  • Capstone: Halve the total execution time of a benchmarked workload without new hardware
07Running Postgres day to day — pooling, monitoring, upgrades, extensionsLive & Interactive5 hrs · 2 assignments · 1 capstone

The operational surface an infrastructure team owns. Connection pooling with PgBouncer and why a process-per-connection server needs it, the monitoring signals that matter, major-version upgrades with pg_upgrade or logical replication, extension management, and running Postgres on Kubernetes or a managed service.

Topics: PgBouncer: pooling modes and where they break · Monitoring: pg_stat views, exporters, Prometheus and Grafana · The alerts a Postgres estate actually needs · Minor patching and major-version upgrade strategies · pg_upgrade versus logical replication upgrades · Extensions: pg_stat_statements, PostGIS, pgvector, TimescaleDB · Postgres on Kubernetes and on managed services

  • Assignments: (1) Put PgBouncer in front of a saturated server and measure the difference; (2) Perform a major-version upgrade with a documented rollback path
  • Capstone: Deliver an operations runbook covering pooling, alerting, patching and upgrade for a Postgres estate

Need this mapped to your stack?

We rebuild the agenda around the tools you actually run.

Request a custom agenda
# hands-on

Labs and capstones your engineers actually build

LAB · MVCC

Manufacture bloat, then remove it

Generate heavy update churn on a table, measure the resulting bloat, and clear it with autovacuum tuning, VACUUM FULL and pg_repack — comparing lock impact for each.

mvccautovacuumbloat
LAB · RECOVERY

Point-in-time recovery to one second before disaster

Archive WAL, take a base backup, run a destructive migration, then recover the cluster to the moment immediately before it and verify data integrity.

walpitrpgbackrest
LAB · REPLICATION

Promote a replica and rewind the old primary

Build streaming replication with slots, fail the primary, promote a standby, then bring the old primary back as a replica with pg_rewind rather than a full rebuild.

streamingpromotionpg_rewind
LAB · PERFORMANCE

Top three queries by total time

Use pg_stat_statements to find the queries that dominate the workload, then fix each one with an index, a statistics change or a rewrite, proving the gain with EXPLAIN ANALYZE.

explainpg_stat_statementsindexes
LAB · POOLING

PgBouncer in front of a saturated server

Drive a connection count past max_connections, observe the failure mode, then introduce PgBouncer in transaction mode and measure throughput and latency again.

pgbouncerconnectionsscaling
CAPSTONE · HA

Patroni cluster through a primary failure

Stand up a Patroni-managed cluster with etcd and a routing layer, kill the primary, and document exactly what the application experienced during failover.

patronietcdfailover
# ecosystem

The tools PostgreSQL sits next to

PgBouncer
Patroni
pgBackRest
pg_stat_statements
pg_repack
PostGIS
pgvector
TimescaleDB
Prometheus
Grafana
Kubernetes
Terraform

Who this is for

  • DevOps and platform engineers who now own a PostgreSQL instance and its pager
  • SREs accountable for database availability, latency and recovery objectives
  • System administrators and Oracle or SQL Server DBAs migrating to Postgres
  • Cloud engineers running Postgres on RDS, Aurora, Cloud SQL or Azure Database
  • Data engineers who need Postgres to behave under analytical load
  • Application developers who have to explain and fix their own slow queries

Pre-requisites

  • Comfortable on a Linux command line — files, permissions, packages, systemd services
  • Working SQL: SELECT, JOIN, INSERT and UPDATE, even if you do not write them daily
  • Basic understanding of memory, disk I/O and how applications hold connections
  • Some scripting exposure for automating routine database tasks
  • Two or three hosts, VMs or free-tier cloud instances for replication and failover labs
# pricing

Straightforward pricing

Every plan includes 1 year of full LMS access — not just this course, the entire DevOpsSchool LMS: 20+ courses, 50+ tools, videos, quizzes, assignments and projects.

Self-paced video

₹833/mo

Billed yearly at ₹9,996

Enroll now

1-on-1 mentorship

₹99,999

Full program, private instructor

Enroll 1-on-1

Corporate / private batch

8–30 engineers · custom agenda · onsite or online · PO and GST invoicing

Get a custom quote

Refunds. If we cancel or postpone a cohort, you get a full refund within 15 days. There is no money-back guarantee otherwise.

Terms. Course material remains licensed to the attendee. Read the terms.

Your data. We don't share it with third parties. Privacy policy.

Every attendee gets a verifiable certificate

  • Issued per attendee on completion
  • Verifiable at devopsschool.com/certificates
  • Hard copy available on request
  • Corporate batches receive an attendance and assessment report
DevOpsSchool

PostgreSQL Training

Certificate of completion

# feedback

What engineers say

4.4 / 5 from 26 reviews on Trustpilot.

★★★★★
I was looking to improve my understanding of AIOps, and this training helped me achieve that goal. Rajesh Kumar explained the subject in a structured and practical manner. The sessions on different AIOps concepts were informative.
Sonali Tiwari · Trustpilot
★★★★★
I recently did a SRE Session with Rajesh Kumar from DevOps School and the session was great. Right from 1st day till day 15, we had a very interactive session. Rajesh clarified our doubts and the tool demos were excellent without any hiccups. He simplified the concepts while sticking to the content with a fine balance between theory and practice. Am convinced he is one of the best trainers for SRE & DevOps concepts.
chandrasekaran j · Trustpilot
★★★★★
The Rundeck developer session was excellent and highly engaging. I appreciated how well the session was structured, with the theoretical concepts explained clearly and in simple terms. What stood out most to me was the demo — it was both informative and enjoyable. I especially liked how Rajesh walked us through not only the happy path but also the sad path, showcasing common issues and sharing practical troubleshooting tips.
Raimy Roy · Trustpilot
★★★★★
Rajesh's experience and knowledge are exceptional and we learnt invaluable practical knowledge which we can apply in our production environment. Incredibly friendly and gave us a fantastic insight both in-depth and at a high level of the Rundeck product.
Fire Titan · Trustpilot
★★★★★
Great learning experience from a very knowledgeable instructor with well-prepared course notes. The lab exercises on AWS instance work well to learn the hands-on side of the course.
Ando Gg · Trustpilot
★★★★★
Rajesh is a very good trainer I have experienced in DevSecOps training. The number of contents in different topics he has posted on the DevOpsSchool public website are amazing and user friendly for beginners and experienced professionals.
Ashutosh Mishra · Trustpilot
# comparison

Why a named practitioner beats a marketplace listing

What mattersYouTube + blogsGeneric online courseFreelance marketplaceDevOpsSchool
Named practitionerNoRarelyVaries per bookingYes — same trainer each time
Production experienceUnknownUnknownUnverified20 years, named employers
Custom agendaNoNoSometimesBuilt from your stack
Onsite deliveryNoNoSometimesYes
Lab environmentNoneSandbox that expiresVariesYour own cloud — skill goes with you
AssessmentNoneQuizRarelyAssignments + capstone per module
Per-attendee certificatesNoSometimesRarelyYes
Corporate invoicingNoLimitedVariesPO and GST
Post-training supportNoneForum, time-limitedNoneLifetime forum access
# questions

Frequently asked

Is this a developer course or an operations course?
Operations. We assume you can write SQL and spend the time on the parts that decide whether the database survives: MVCC and vacuum, WAL and recovery, replication, pooling, monitoring and upgrades. Query tuning is included, but from the operator's side of the problem.
Which PostgreSQL versions do you cover?
We teach against a current supported major version and call out behaviour that changed recently — declarative partitioning improvements, logical replication capabilities and vacuum changes in particular. If your estate is pinned to an older version we build the agenda around that.
We run RDS or Aurora PostgreSQL. Is this still relevant?
Yes, with an adjusted agenda. Managed services take the host and patching, not the database. Autovacuum tuning, index design, WAL volume, replica lag, extension availability and PITR windows are all still yours, and we spend the reclaimed time on parameter groups and managed failover behaviour.
Do you cover Patroni and automated failover?
Yes — a full module plus a capstone lab. We build a Patroni cluster with etcd, put a routing layer in front, then deliberately kill the primary and examine what the application actually experienced during the failover.
Can the agenda be customised for our stack?
Yes — that is the normal case for a private batch. We start with a discovery call, look at your version, topology, cloud and workload shape, and rebuild the module list around them. Examples then use your topology rather than a generic one.
Do you deliver onsite?
Yes. Private batches run onsite at your premises, live online, or hybrid. You provide the room and the engineers; we bring the trainer, agenda, labs, assessment and certificates.
What lab environment do we need?
Attendees provision their own environment — free-tier AWS, Azure or GCP, or local VMs. Replication, failover and pooling labs need two or three small instances. We walk everyone through the setup on day one.
How long does a private PostgreSQL batch take?
Typically three to five days. Architecture, configuration, MVCC and vacuum, backup and streaming replication fit in three; adding Patroni, logical replication upgrades, pooling and deep query tuning pushes it to five.
What size are batches?
Private corporate batches run 8 to 30 engineers. Public Live & Interactive cohorts are capped at 10 so everyone gets time with the trainer.
Do attendees get a certificate?
Yes — every attendee receives a completion certificate, verifiable at devopsschool.com/certificates. Corporate batches also receive an attendance and assessment report.
What is your refund position?
If we cancel or postpone a cohort, you receive a full refund within 15 days. There is no general money-back guarantee, and GST and gateway fees are not refunded.

Still deciding?

Tell us the team, the stack and the timeline. You'll get a straight answer, not a sales sequence.

Talk to an advisor
# ready when you are

Book a PostgreSQL trainer — or ask a question first.

  • No spam, no drip sequence
  • Syllabus in 60 seconds
  • A human reply within one business day

Prefer to call or email?

More ways to reach us on the contact page.

Talk to an advisorRequest a quote