Get in Touch

Course Outline

1. Understanding the PostgreSQL Query Planner

  • Query execution plans and Query Planner algorithms (classic and genetic)
  • Interpreting query execution plans (data access and join methods)
  • Influencing plan selection via configuration parameters and pg_hint_plan

2. Query Planner Statistics

  • Estimation of execution plan costs
  • The default statistics model
  • The ANALYZE operation and extended statistics

3. Leveraging Indexes

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

4. Utilizing Advanced Table Structures

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

5. Managing Cache Memory

  • Buffer Cache
  • Work Memory
  • Maintenance Work Memory

6. Parallel Query Execution

  • Architecture overview
  • Relevant configuration parameters
  • Analysing execution plans for parallelized queries

7. Workload and Performance Monitoring

  • Logging slow-running queries
  • Utilizing the auto_explain extension
  • Utilizing the pg_stat_statements extension
  • Understanding cumulative statistics

8. Benchmarking with PgBench

Requirements

  • Completion of PostgreSQL Server Administration or equivalent proficiency
  • Practical experience with SQL and PostgreSQL operations

Target Audience

Database Administrators, DevOps Engineers, and Developers tasked with optimizing and maintaining PostgreSQL in production environments.

 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories