Course Outline
1. Understanding PostgreSQL Query Planner
- Query execution plans, Query Planner algorithms (classic, genetic)
- Analysing query execution plans (data access methods, join methods)
- Controlling plan selection (configuration parameters, pg_hint_plan)
2. Query Planner Statistics
- Execution plan cost estimation
- Default statistics model
- ANALYZE operation, extended statistics
3. Using Indexes
- B-tree indexes (single column, composite, function-based, partial)
- Hash indexes
- BRIN indexes
- GiST, GIN indexes
4. Using Advanced Table Structures
- Partitioned tables
- Unlogged tables
- Temporary tables
- Materialised views
5. Using Cache Memory
- Buffer Cache
- Work Memory
- Maintenance Work Memory
6. Parallel Query
- Architecture
- Configuration parameters
- Analysing parallelised query execution plans
7. Workload and Performance Monitoring
- Logging slow queries
- Using auto_explain extension
- Using pg_stat_statements extension
- Cumulative Statistics
8. Benchmarking with PgBench
Requirements
- Completion of PostgreSQL Server Administration or equivalent knowledge
- Working experience with SQL and PostgreSQL operations
Audience
Database Administrators, DevOps Engineers, and Developers responsible for tuning and maintaining PostgreSQL in production environments.
Testimonials (5)
The provided examples and labs
Christophe OSTER - EU Lisa
Course - PostgreSQL Advanced DBA
Amount (a lot) of knowledge provided. Cheerful aprroach to the subject.
Oskar Debowski - Asseco Poland S.A
Course - PostgreSQL Administration, Optimization and Replication
Very good theory and way of explaining, exercises always related to the topic.
Mitzi - Paessler LLC
Course - PostgreSQL Fundamentals
Machine Translated
By the end of the 1st day, one attendee suggested more interaction in practices and the trainers took this in for the second day.
Daniela - Unit4
Course - PostgreSQL 16 for Developers and Administrators
A factual and practical approach to the subject. A nice atmosphere, conducive to asking questions.