Get in Touch
 Duration 14 hours

Course Outline

1. Grasping the PostgreSQL Query Planner

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

2. Query Planner Statistics

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

3. Leveraging Indexes

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

4. Advanced Table Structures

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

5. Cache Memory Utilization

  • Buffer Cache
  • Work Memory
  • Maintenance Work Memory

6. Parallel Queries

  • Architectural overview
  • Relevant configuration parameters
  • Analyzing parallel query execution plans

7. Workload and Performance Monitoring

  • Logging slow queries
  • Utilizing 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 administration

Target Audience

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

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories