Database Administration & Monitoring Updating the partition key now works in PostgreSQL 11 23.03.2018 by Daniel Westermann In the last post about partitioning improvements in PostgreSQL 11 we talked about unique indexes and primary keys on partitioned tables. Both did not work in PostgreSQL 10 but now do in PostgreSQL 11. Another operation that(…)
Database Administration & Monitoring Hash Partitioning in PostgreSQL 11 23.03.2018 by Oracle Team By Mouhamadou Diaw PostgreSQL 10 comes with partition support. But Hash Partitioning was not supported. PostgreSQL 11 will support Hash Partition. In the documentation we can read The table is partitioned by specifying a modulus and a remainder(…)
Database Administration & Monitoring What is the maximum in list size in PostgreSQL? 23.03.2018 by Daniel Westermann Yesterday, while being at a customer, an interesting question popped up: What is the maximum of in list values in PostgreSQL? I couldn't answer although I never read somewhere that there is a limit. The following is for fun only(…)
Database Administration & Monitoring Local partitioned indexes in PostgreSQL 11 22.03.2018 by Daniel Westermann When declarative partitioning was introduced with PostgreSQL 10 this was a big step forward. But as always with big new features some things do not work in PostgreSQL 10 which now get resolved in PostgreSQL 11. One of those are(…)
Database Administration & Monitoring pg_basebackup and redirecting progress messages to a file 21.03.2018 by Daniel Westermann Recently I came over that commit and wondered what that is about. The answer is quite simple but I didn't know that this issue existed. Basically it is about how progress messages are written to screen and(…)
Database Administration & Monitoring Finally you will be able to use exit and quit in psql 20.03.2018 by Daniel Westermann When giving the PostgreSQL DBA Essentials workshop one of the main issues people have is how they can exit psql. Even on stackoverflow this is a popular topic. The good news(…)
Database Administration & Monitoring Parallel pg_dump is slow by default? 09.03.2018 by Daniel Westermann Short answer: Yes, it is. Being at a customer the last days we wanted to parallel pg_dump a 2TB database. We were quite surprised that it was quite slow and it was not immediately clear why it was. Well, the(…)
Database Administration & Monitoring Configuring huge pages for your PostgreSQL instance, Debian version 25.02.2018 by Daniel Westermann In the last post we had a look at how you can configure huge pages on RedHat and CentOS systems. For Debian and Debian based systems the procedure is different as Debian does not come with(…)
Database Administration & Monitoring Configuring huge pages for your PostgreSQL instance, RedHat/CentOS version 25.02.2018 by Daniel Westermann Almost every PostgreSQL I get in touch with is not configured to use huge pages, which is quite a surprise as it can give you a performance boost. Actually it is not the PostgreSQL instance you need(…)
Database Administration & Monitoring New SHA-2 functions showing up in PostgreSQL 11 23.02.2018 by Daniel Westermann A recent commit announced new SHA-2 functions coming up in PostgreSQL 11. Until now you can use the md5 function to generate hashes for test data or whatever you want. This commit adds more(…)