optimization

PostgreSQL Tutorial: Performance optimization

This chapter explains how to optimize PostgreSQL performance and provides examples.

Continue reading

PostgreSQL Tutorial: Partitioned table statistics

Summary: in this tutorial, you will learn how PostgreSQL collects partitioned table statistics and how they affect PostgreSQL’s estimates.

Continue reading

PostgreSQL Tutorial: Row count estimates in EXPLAIN

Summary: in this tutorial, you will learn what’s ’estimated rows’ in EXPLAIN output all about.

Continue reading

PostgreSQL Tutorial: Common queries with pg_stat_statements

Summary: In this tutorial, we will give some example queries you can use with pg_stat_statements as a starting point for different challenges.

Continue reading

PostgreSQL Tutorial: Tuning work_mem setting

Summary: in this tutorial, you will learn how to tune work_mem setting in PostgreSQL.

Continue reading

PostgreSQL Tutorial: EXPLAIN Scan Nodes (2)

Summary: In this tutorial, you will learn various types of scan “nodes” / operations that you might see in explain plans.

Continue reading

PostgreSQL Tutorial: Tune query with EXPLAIN BUFFERS

Summary: in this tutorial, you will learn how to tune query with EXPLAIN BUFFERS in PostgreSQL.

Continue reading

PostgreSQL Tutorial: EXPLAIN Query Plan Fields Glossary

Summary: In this tutorial, you will learn various basic fields that you might see in explain plans.

Continue reading

PostgreSQL Tutorial: EXPLAIN Materialize Nodes

Summary: In this tutorial, you will learn various types of materialize “nodes” / operations that you might see in explain plans.

Continue reading

PostgreSQL Tutorial: EXPLAIN Control Nodes

Summary: In this tutorial, you will learn various types of control “nodes” / operations that you might see in explain plans.

Continue reading