Get in Touch
 Duration 14 hours

Course Outline

1. Navigating the PostgreSQL Query Planner

  • Understanding query execution plans and Planner algorithms (classic and genetic)
  • Interpreting execution plans (focusing on data access and join methods)
  • Influencing plan choices (via configuration settings and pg_hint_plan)

2. Query Planner Statistics

  • Estimating the cost of execution plans
  • The default statistics framework
  • The ANALYZE operation and advanced statistics

3. Leveraging Indexes

  • B-tree indexes (covering single column, composite, function-based, and partial types)
  • Hash indexes
  • BRIN indexes
  • GiST and GIN indexes

4. Advanced Table Structures

  • Partitioned tables
  • Unlogged tables
  • Temporary tables
  • Materialised views

5. Optimising Cache Memory

  • Buffer Cache
  • Work Memory
  • Maintenance Work Memory

6. Parallel Query Processing

  • System architecture
  • Relevant configuration parameters
  • Analysing execution plans for parallelised queries

7. Workload and Performance Monitoring

  • Logging slow-running queries
  • Leveraging the auto_explain extension
  • Utilising the pg_stat_statements extension
  • Tracking Cumulative Statistics

8. Benchmarking using PgBench

Requirements

  • Successful completion of PostgreSQL Server Administration or possession of comparable expertise
  • Practical experience working with SQL and PostgreSQL operations

Who This Course Is For

This course is ideal for Database Administrators, DevOps Engineers, and Developers tasked with optimising and maintaining PostgreSQL in production settings.

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories