Course Outline
1. Mastering the PostgreSQL Query Planner
- Examining query execution paths and Planner algorithms (classic, genetic)
- Evaluating execution plans to understand data access and join strategies
- Guiding plan selection via configuration parameters and pg_hint_plan
2. Query Planner Statistics
- Assessing the cost estimation of execution plans
- Understanding the default statistical models
- Utilising the ANALYZE operation and extended statistics
3. Strategic Index Usage
- B-tree indexes (including single column, composite, function-based, and partial)
- Hash indexes
- Block Range Index (BRIN) indexes
- Generalised Search Tree (GiST) and Generalised Inverted Index (GIN)
4. Advanced Table Structures
- Implementing partitioned tables
- Utilising unlogged tables
- Managing temporary tables
- Working with materialised views
5. Optimising Cache Memory
- Managing the Buffer Cache
- Configuring Work Memory
- Setting up Maintenance Work Memory
6. Parallel Query Execution
- Understanding the underlying architecture
- Reviewing relevant configuration parameters
- Analysing parallelised query execution plans
7. Workload and Performance Monitoring
- Tracking slow queries through logging
- Integrating the auto_explain extension
- Utilising the pg_stat_statements extension
- Interpreting cumulative statistics
8. Benchmarking with PgBench
Requirements
- Successful completion of PostgreSQL Server Administration or possession of comparable expertise
- Practical experience in executing SQL and managing PostgreSQL operations
Target Audience
This course is designed for Database Administrators, DevOps Engineers, and Developers who are tasked with optimising and maintaining PostgreSQL instances in production environments.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 2900 € + VAT*
Contact us for an exact quote and to hear our latest promotions
Testimonials (3)
I expanded my knowledge on DB performance management, some are directly usable while others provide great insight/context for me.
Longze Chen - Center for Open Science
Course - PostgreSQL Advanced - Performance Management
Different index and table types
Brian J. Geiger - Center for Open Science
Course - PostgreSQL Advanced - Performance Management
performance knowledge