Create index hanging - Mailing list pgsql-general

From Claire McLister
Subject Create index hanging
Date
Msg-id 2AD0C267-709B-4048-9452-EDFB84406E42@zeesource.net
Whole thread Raw
Responses Re: Create index hanging  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi,

  We have a couple of tables (40,000 and 600,000 rows each) that I am
trying to build an index on an integer column.

  When I issue the "create index foo_index on foo(id);" command in
psql it just does not return. I've waited over half an hour for the
smaller table.

  The same command worked with no problems on a test environment with
roughly the same data.

  Any ideas what may be going on? When I use the "top" command, I
don't see postmaster as working during this time. So I suspect that
the create index has gone in some sort of a wait mode.

  Will appreciate any suggestions.

  Thanks

Claire

  --
  Claire McLister                        mclister@zeesource.net
  1684 Nightingale Avenue     Suite 201
  Sunnyvale, CA 94087            408-733-2737(fax)

                      http://www.zeemaps.com



pgsql-general by date:

Previous
From: Eric Faulhaber
Date:
Subject: Re: UTF8 conversion differences from v8.1.3 to v8.1.4
Next
From: Dan Strömberg
Date:
Subject: Column info without executing query