Course Outline
1. Database Query Planner Fundamentals
- Execution plan generation and planner algorithms (classic, genetic)
- Analysis of execution plans, including data access and join strategies
- Influence on plan selection via configuration parameters and pg_hint_plan for government IT infrastructure optimization
2. Planner Statistics Management
- Cost estimation for execution plans
- Overview of the default statistics collection model
- The ANALYZE process and implementation of extended statistics
3. Indexing Strategies
- B-tree indexes (single-column, composite, functional, partial)
- Hash index structures
- BRIN (Block Range Index) configurations
- GiST and GIN index types
4. Advanced Data Structures
- Partitioned table implementations
- Unlogged tables for non-persistent data storage
- Temporary table usage
- Materialized views for reporting and analytics
5. Memory Cache Utilization
- Buffer Cache management
- Work Memory allocation
- Maintenance Work Memory configuration
6. Parallel Query Processing
- Architectural overview
- Relevant configuration parameters
- Analysis of parallelized execution plans
7. Workload and Performance Monitoring
- Logging protocols for slow queries
- Deployment of the auto_explain extension
- Utilization of the pg_stat_statements extension for government system analytics
- Aggregate statistics reporting
8. Benchmarking with PgBench
Requirements
- Completion of PostgreSQL Server Administration or demonstrated equivalent proficiency
- Practical experience utilizing SQL and PostgreSQL operational frameworks
Target Audience
This curriculum is designed for Database Administrators, DevOps Engineers, and Developers who manage and optimize PostgreSQL systems within production environments, providing essential skills for government operations.
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.