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. Delving into the PostgreSQL Query Planner
- Mechanics of query execution plans and planner algorithms (classic and genetic)
- In-depth analysis of execution plans (focusing on data access and join methods)
- Managing plan selection via configuration parameters and pg_hint_plan
2. Query Planner Statistics
- Understanding cost estimation in execution plans
- The default statistics model
- The ANALYZE operation and the use of extended statistics
3. Strategic Use of Indexes
- B-tree indexes (covering single-column, composite, function-based, and partial implementations)
- Hash indexes
- BRIN indexes
- GiST and GIN indexes
4. Leveraging Advanced Table Structures
- Partitioned tables
- Unlogged tables
- Temporary tables
- Materialised views
5. Optimizing Cache Memory
- Buffer Cache
- Work Memory
- Maintenance Work Memory
6. Parallel Query Execution
- Underlying architecture
- Relevant configuration parameters
- Analyzing execution plans for parallelized queries
7. Workload and Performance Surveillance
- Logging and tracking slow-running queries
- Implementing the auto_explain extension
- Leveraging the pg_stat_statements extension
- Interpreting Cumulative Statistics
8. Performance Benchmarking with PgBench
Requirements
- Successful completion of PostgreSQL Server Administration or possession of comparable foundational knowledge
- Practical hands-on experience with SQL and routine PostgreSQL operations
Target Audience
This course is tailored for Database Administrators, DevOps Engineers, and Software Developers who are accountable for the tuning, maintenance, and stability of 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.