Re: Creating indexes in the background

From: "Kevin Grittner" <kgrittn(at)mail(dot)com>
To: "David Lee" <davidomundo(at)gmail(dot)com>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: Creating indexes in the background
Date: 2012-10-28 21:35:36
Message-ID: 20121028213537.306920@gmx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Lee wrote:

> It seems like right now when you want to create an index
> concurrently, the index creation will get canceled if you cancel
> the 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?

You are asking on the wrong list; this list is for discussions
related to developing the PostgreSQL product itself. To ask questions
about how to *use* PostgreSQL, please use one of the other lists.
This sort of question belongs on the pgsql-general or pgsql-admin
list.

As long as I'm sending an email -- I usually run such queries on the
server, either through a crontab job (if it's a recurring need), an
"at" job (if it is a one-time off-hours need), or a background job.
The specifics will depend on your operating system, which is
something you should generally include in a question.

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

-Kevin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Lee 2012-10-28 22:34:23 Re: Creating indexes in the background
Previous Message Jaime Casanova 2012-10-28 20:19:18 Re: Creating indexes in the background