Necessary Tips About Configuration and Tuning PostgreSQL

In this article, we want to show you why tuning PostgreSQL is necessary and how to tune PostgreSQL based on hardware in a simple way

Mohammad Yaser Ahmadi
4 min readNov 20, 2022

Have you ever heard anything about tuning?

I heard of tuning cars before facing database tuning. So I bring an example of car tuning to understand the importance of tuning in a database.

Car tuning is the modification of a car to optimize it for a different set of performance requirements from those it was originally designed to meet.

So tuning is the improvement of the car's overall performance in response to user needs. When tuning, some users may have some incorrect thoughts which may lead to them fitting the wrong parts for their needs. For this reason, it is important for the user to know:

1. what is their target/goal?

2. what parts are needed to achieve this goal?

If you want to participate in a car race, you need to tune the car before the race. the reasons for tuning a car and a database is similar.

--

--