PostgreSQL Configuration Changes You Need to Make Post-Installation

PostgreSQL Configuration Changes

So you’ve installed postgres onto your machine, and you want to start working with it.
The key to understanding the post-installation procedure is to realize that it “depends”.

It “depends” on the OS i.e. MSWindows vs Linux.
It “depends” on the flavor of Linux i.e. Debian vs RedHat.
It “depends” if it’s a package install or from source […]

Read more

Using Security Definer to Monitor PostgreSQL 9.6 or Earlier Using Percona Monitoring and Management

security definer postgresql

I have previously written a blog post on the detailed steps involved in enabling PostgreSQL monitoring using PMM. In that post, you could see me talking about the role: pg_monitor that can be granted to monitoring users. The
pg_monitor role restricts a monitoring user from accessing user data but only grants access to statistic […]

Read more

Index Improvements in PostgreSQL 13

index improvements postgresql 13

Indexes are one of the core features of all the database management systems (DBMS). Indexes have a very long history in PostgreSQL, which has quite a rich set of index features. PostgreSQL has B-Tree, Hash,  GIN, GIST, and BRIN indexes. And because the development around indexes is still going on, PostgreSQL 13 provides some […]

Read more

Why PostgreSQL WAL Archival is Slow

PostgreSQL WAL Archival is Slow

It is very common to see many customer cases where a sudden increase in disk space usage is caused by a lot of WAL segments filling up the WAL directory (pg_wal). Panicking customers generally ask “Why isn’t PostgreSQL deleting them?”. The most common reasons we used to find were:

Failing WAL archival
A slot holding old […]

Read more

Webinar September 17: PostgreSQL High-Performance Tuning and Optimization

PostgreSQL High-Performance Tuning and Optimization

Please watch Percona’s Senior Software Engineer Ibrar Ahmed as he presents the “PostgreSQL High-Performance Tuning and Optimization” webinar.
PostgreSQL is one of the leading open-source databases. Out of the box, the default PostgreSQL configuration is not tuned for any workload. Thus, any system with the least resources can run it. PostgreSQL does not give optimum […]

Read more