Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 14 hours
Course Outline
1. Navigating the PostgreSQL Query Planner
- Understanding query execution plans and Planner algorithms (classic and genetic)
- Interpreting execution plans (focusing on data access and join methods)
- Influencing plan choices (via configuration settings and pg_hint_plan)
2. Query Planner Statistics
- Estimating the cost of execution plans
- The default statistics framework
- The ANALYZE operation and advanced statistics
3. Leveraging Indexes
- B-tree indexes (covering single column, composite, function-based, and partial types)
- Hash indexes
- BRIN indexes
- GiST and GIN indexes
4. Advanced Table Structures
- Partitioned tables
- Unlogged tables
- Temporary tables
- Materialised views
5. Optimising Cache Memory
- Buffer Cache
- Work Memory
- Maintenance Work Memory
6. Parallel Query Processing
- System architecture
- Relevant configuration parameters
- Analysing execution plans for parallelised queries
7. Workload and Performance Monitoring
- Logging slow-running queries
- Leveraging the auto_explain extension
- Utilising the pg_stat_statements extension
- Tracking Cumulative Statistics
8. Benchmarking using PgBench
Requirements
- Successful completion of PostgreSQL Server Administration or possession of comparable expertise
- Practical experience working with SQL and PostgreSQL operations
Who This Course Is For
This course is ideal for Database Administrators, DevOps Engineers, and Developers tasked with optimising and maintaining PostgreSQL in production settings.
Testimonials (2)
Tuning strategies.
Jeffrey Zieg - Matrix Consulting
Course - PostgreSQL Performance Tuning
Logging behaviour when the instance is under stress, and the hierarchy/nomenclature of instances, databases, files, etc.