PostgreSQL: ALTER TABLE to change Fillfactor Value

This is one of the important post related to change or set the Fillfactor value for the existing table of the PostgreSQL.

One of our table is very busy with heavy updates and accessing by multiple clients.
I have also estimated the row size of that table which is not that much bigger, so I have decided to change Fillfactor of that table.

I have recently published an article about the importance of Fillfactor in PostgreSQL.

Please Note:
After changing the value of Fillfactor, you should execute VACUUM FULL on that particular table.
After changing the value of Fillfactor, it works only for new tuples.


Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from dbrnd.com

Leave a Reply

4 Comments on "PostgreSQL: ALTER TABLE to change Fillfactor Value"

Notify of
avatar
Sort by:   newest | oldest | most voted
Eric
Guest

I was just searching for this info for some time. After six hours of continuous Googleing, finally I got it in your web site. I wonder what is the lack of Google strategy that don’t rank this type of informative sites in top of the list. Normally the top websites are full of garbage.

ph
Guest

Ok, after that – how can I reset it to default value? Not just set to 100, but set to empty value.

ph
Guest

Ok. I’ve found!

ALTER TABLE shops.payments_out RESET(
FILLFACTOR
);

exactly in CAPS

wpDiscuz