Get in Touch

Course Outline

1. Understanding PostgreSQL Query Planner

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

2. Query Planner Statistics

  • Cost estimation for execution plans
  • The default statistics model
  • The ANALYZE operation and extended statistics

3. Using Indexes

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

4. Using Advanced Table Structures

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

5. Using Cache Memory

  • Buffer Cache
  • Work Memory
  • Maintenance Work Memory

6. Parallel Query

  • Architecture
  • Configuration parameters
  • Analyzing parallelised query execution plans

7. Workload and Performance Monitoring

  • Logging slow 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 knowledge
  • Practical experience with SQL and PostgreSQL operations

Audience

Database Administrators, DevOps Engineers, and Developers responsible for tuning and maintaining PostgreSQL in production environments.

 14 Hours

Number of participants


Price per participant

Testimonials (1)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories