PgTune - Tuning PostgreSQL config by your hardware

Hello my dear friends. In this article I will talk about my new little app - PgTune.

pgtune

PgTune?

To optimize the settings for PostgreSQL based on maximizing performance for a given hardware configuration Gregory Smith in 2008 created a utility pgtune. The utility is easy to use and in many Linux systems can go in packages. But exists several problems about this tool:

What is why I created online version of PgTune. Main benefits:

And, of course, it is open source.

Offline mode

At the first loading of the page, you no longer need access to the Internet to use PgTune. It will work offline (without internet connection) by using Application Cache technology.

Mobile app

We can “install” PgTune as mobile app, because the application can operate without access to the internet.

Steps for iOS:

Steps for Android:

As you can see, it is very simple to add it as mobile app.

Summary

PGTune calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration. It isn’t a “silver bullet” for the optimization settings of PostgreSQL. Many settings depend not only on the hardware configuration, but also on the size of the database, the number of clients and the complexity of queries, so that optimally configure the database can only be given all these parameters. But I hope it will help to start of tunning PostgreSQL.

That’s all folks! Thank you for reading till the end.