Re: Creating indexes in the background

From: Daniel Farina <daniel(at)heroku(dot)com>
To: David Lee <davidomundo(at)gmail(dot)com>
Cc: David Johnston <polobo(at)yahoo(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Creating indexes in the background
Date: 2012-10-31 23:37:41
Message-ID: CAAZKuFYP58fK8jBtARftgFW5P7N75+qrnrYQr6v7e5A-Z9LFOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 28, 2012 at 8:22 AM, David Lee <davidomundo(at)gmail(dot)com> wrote:
> Thanks. Is this something viable as a feature request?

Just to contribute a tiny amount of data: I also get this request from
users on a semi-regular basis. It's definitely below the pains of
pg_dump/restore or fork-and-reuse-of-connections of libpq in the space
of caveats that come to mind, but it's worth noting that regular
people do notice this is a gap (disconnected session support)
reasonably frequently. However, the workaround is fairly clear and
network connections are pretty reliable, and that blunts its severity.

it's also useful for other use cases besides CREATE INDEX, like
incremental data rewrites. I think there's some indirect overlap here
with the daemon facility under discussion that is active in another
thread.

--
fdr

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2012-11-01 00:46:03 Re: [PATCH] Support for Array ELEMENT Foreign Keys
Previous Message Robert Haas 2012-10-31 23:05:07 Re: [COMMITTERS] pgsql: Fix erroneous choices of segNo variables