Search Postgresql Archives

Re: Changing default fillfactor for the whole database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 27 Apr 2025 at 14:31, Marcelo Fernandes <marcefern7@xxxxxxxxx> wrote:
> I have a scenario where virtually all user tables in the database will need to
> have a lower fill factor.

> Does this make sense? Have I missed something about being able to change this
> on a database level?

I suspect that it's possible that you can use an event trigger [1]
that triggers on CREATE TABLE to get what you want here. If the docs
don't give you enough information, then maybe [2] will have something
you can work with. I've not used them much, so I don't have any
recipes for you.

David

[1] https://www.postgresql.org/docs/current/sql-createeventtrigger.html
[2] https://github.com/postgres/postgres/blob/master/src/test/regress/sql/event_trigger.sql





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux