Get in Touch
 Duration 14 hours

Course Outline

1. Understanding the PostgreSQL Query Planner

  • Insight into query execution plans and Query Planner algorithms (classic, genetic)
  • Interpreting query execution plans (data access techniques, join strategies)
  • Managing plan selection (configuration parameters, pg_hint_plan)

2. Query Planner Statistics

  • Estimating execution plan costs
  • Understanding the default statistical models
  • The ANALYZE operation and extended statistics

3. Utilizing Indexes

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

4. Utilizing Advanced Table Structures

  • Partitioned tables
  • Unlogged tables
  • Temporary tables
  • Materialized views

5. Utilizing Cache Memory

  • Buffer Cache
  • Work Memory
  • Maintenance Work Memory

6. Parallel Query Processing

  • System architecture
  • Configuration parameters
  • Analyzing parallel query execution plans

7. Workload and Performance Monitoring

  • Capturing slow queries via logging
  • Implementation of the auto_explain extension
  • Implementation of the pg_stat_statements extension
  • Reviewing cumulative statistics

8. Benchmarking with PgBench

Requirements

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

Audience

Database Administrators, DevOps Engineers, and Developers tasked with optimizing and sustaining PostgreSQL within production settings.

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories