Schedule - PGConf NYC 2024

Importance of PostgreSQL Vacuum Tuning to Optimize Database Performance

Date: 2024-09-30
Time: 14:00–14:50
Room: Club Parlor
Level: Beginner

In PostgreSQL, Vacuuming is a routine maintenance procedure that improves database speed and frees up space. It leads to clearing out old or deleted rows from tables and indexes, as well as refreshing query planner statistics. By deleting records that are no longer required, PostgreSQL's vacuum operation maintains the database's speed and space efficiency.

In PostgreSQL, autovacuum is enabled by default and can be customized using a number of settings in the postgresql.conf file. There are several vacuum-related PostgreSQL options that may be customized to manage how the vacuum process functions.

In this session, Suyog will cover: •  What is the Vacuum and Autovacuum process. •  How to tune Autovacuum parameters to optimize database performance. •  When and how to use Vacuum full, reindex, and pg_repack •  Best practices and lessons learned from real-world case studies.

Speaker

Suyog Sampat Pagare