Course Outline

1. Understanding PostgreSQL Query Planner for Government

  • Overview of query execution plans and Query Planner algorithms, including classic and genetic methods.
  • Techniques for analyzing query execution plans, focusing on data access and join methods.
  • Methods for controlling plan selection through configuration parameters and the use of pg_hint_plan.

2. Query Planner Statistics for Government

  • Techniques for estimating execution plan costs.
  • Explanation of the default statistics model.
  • Importance of the ANALYZE operation and extended statistics in query optimization.

3. Using Indexes for Government

  • Detailed discussion of B-tree indexes, including single column, composite, function-based, and partial indexes.
  • Overview of hash indexes and their appropriate use cases.
  • Introduction to BRIN indexes for large datasets.
  • Exploration of GiST and GIN indexes for specialized data types.

4. Using Advanced Table Structures for Government

  • Implementation and management of partitioned tables.
  • Use cases and benefits of unlogged tables.
  • Strategies for utilizing temporary tables effectively.
  • Creation and maintenance of materialized views for performance optimization.

5. Using Cache Memory for Government

  • Overview of the Buffer Cache and its role in query performance.
  • Explanation of Work Memory and its configuration.
  • Discussion on Maintenance Work Memory and its impact on database operations.

6. Parallel Query for Government

  • Architecture of parallel query execution in PostgreSQL.
  • Configuration parameters for optimizing parallel queries.
  • Techniques for analyzing parallelized query execution plans.

7. Workload and Performance Monitoring for Government

  • Methods for logging slow queries to identify performance bottlenecks.
  • Utilization of the auto_explain extension for detailed query analysis.
  • Use of the pg_stat_statements extension for monitoring and optimizing query performance.
  • Importance of cumulative statistics in long-term performance assessment.

8. Benchmarking with PgBench for Government

Requirements

  • Completion of PostgreSQL Server Administration or equivalent expertise
  • Practical experience with SQL and PostgreSQL operations

Audience

This course is designed for Database Administrators, DevOps Engineers, and Developers who are responsible for optimizing and maintaining PostgreSQL in production environments for government and other public sector organizations.

 14 Hours

Number of participants


Price per participant

Testimonials (5)

Upcoming Courses

Related Categories