From: Stefan Arentz <stefan.arentz@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Speeding up schema changes
Date: Mon, 3 Sep 2007 13:22:15 +0200
Message-ID: <adf34c300709030422p7a5bf9ban915c01547c3cb008@mail.gmail.com> (raw)
Is there a way to speed up simple schema changes like ...
ALTER TABLE foo ADD COLUMN bar CHAR(64);
... where foo already contains millions of records?
On a live database changes like this can take hours. Even when the
database is idle.
Is there a better way to do this?
S.
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-sql@postgresql.org
Cc: stefan.arentz@gmail.com
Subject: Re: Speeding up schema changes
In-Reply-To: <adf34c300709030422p7a5bf9ban915c01547c3cb008@mail.gmail.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