Course Outline
1. Comprehending the PostgreSQL Query Planner
- Understanding query execution plans and planner algorithms (classic and genetic)
- Evaluating execution plans regarding data access and join strategies
- Managing plan selection via configuration parameters and pg_hint_plan
2. Query Planner Statistics
- Estimating costs for execution plans
- Reviewing the default statistical models
- Applying ANALYZE operations and extended statistics
3. Leveraging Indexes
- Implementing B-tree indexes (single column, composite, function-based, and partial)
- Utilising Hash indexes
- Applying BRIN indexes
- Employing GiST and GIN indexes
4. Advanced Table Structures
- Working with partitioned tables
- Implementing unlogged tables
- Using temporary tables
- Creating materialised views
5. Cache Memory Utilisation
- Managing Buffer Cache
- Optimising Work Memory
- Configuring Maintenance Work Memory
6. Parallel Query Execution
- Understanding the underlying architecture
- Setting relevant configuration parameters
- Analysing execution plans for parallelised queries
7. Workload and Performance Monitoring
- Capturing logs for slow queries
- Implementing the auto_explain extension
- Utilising the pg_stat_statements extension
- Reviewing cumulative statistics
8. Benchmarking using PgBench
Requirements
- Successful completion of PostgreSQL Server Administration or equivalent proficiency
- Practical experience with SQL and day-to-day PostgreSQL operations
Target Audience
Database Administrators, DevOps Engineers, and Developers tasked with optimising and maintaining PostgreSQL in production settings.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customised 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 £3200 + 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