From: Laszlo Nagy <gandalf@shopzeus.com>
To: pgsql-admin@postgresql.org
Subject: How to specify fillrate after pg_restore?
Date: Tue, 30 Sep 2008 17:43:52 +0200
Message-ID: <48E24938.4010704@shopzeus.com> (raw)
Hello,
I've been reading previous posts and I think I have some tables in my
database that would better be stored with fillfactor=90 or less. We are
going to upgrade and reinstall our server soon. I thought this would be
a good time to change fillfactor. Just I don't know how. First I need to
dump the old database with pg_dump. Then I need to restore it on the new
server with pg_restore.
What will this do?
ALTER TABLE tbl SET FILLFACTOR = 90;
Will it restucture the table, or is it just a setting and I should
perform a VACUUM to actually reach fillfactor=90?
Thanks,
Laszlo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: gandalf@shopzeus.com
Subject: Re: How to specify fillrate after pg_restore?
In-Reply-To: <48E24938.4010704@shopzeus.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox