Re: Creating indexes in the background - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Creating indexes in the background
Date
Msg-id CA+U5nMKCrEaNn7_dxRAwUJm=5fNQ62KLRjPaA8ZK-oc5Z1yROQ@mail.gmail.com
Whole thread Raw
In response to Creating indexes in the background  (David Lee <davidomundo@gmail.com>)
List pgsql-hackers
On 28 October 2012 01:20, David Lee <davidomundo@gmail.com> wrote:

> It seems like right now when you want to create an index concurrently, the index creation will get canceled if you
cancelthe statement (i.e. you must keep your statement open).
 
>
> Is there a way to "launch" an index creation in the background so that the statement doesn't need to be kept open?

There is some work in 9.3 that will give low-level infrastructure
support to allow the concept of a "job/task scheduler" in Postgres,
which is the generic description of the facility you're looking for.
It is early days, but that will emerge sometime in 9.3 or beyond.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Claudio Freire
Date:
Subject: Re: [PATCH] Prefetch index pages for B-Tree index scans
Next
From: Christian Kruse
Date:
Subject: Re: Patch für MAP_HUGETLB for mmap() shared memory