Get in Touch
 Duration 14 hours

Course Outline

1. Understanding the PostgreSQL Query Planner

  • Query execution pathways and Planner algorithms (classic, genetic)
  • Examining execution plans (data access techniques, join strategies)
  • Guiding plan selection (configuration settings, pg_hint_plan)

2. Query Planner Statistics

  • Estimating execution plan costs
  • The default statistical model
  • ANALYZE operations and extended statistics

3. Utilizing Indexes

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

4. Leveraging 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

  • Architectural overview
  • Relevant configuration parameters
  • Analysing parallelised query execution plans

7. Workload and Performance Monitoring

  • Capturing slow queries via logging
  • Leveraging the auto_explain extension
  • Utilizing the pg_stat_statements extension
  • Cumulative statistics

8. Benchmarking with PgBench

Requirements

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

Target Audience

Database Administrators, DevOps Engineers, and Developers tasked with tuning and maintaining PostgreSQL in production settings.

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories