pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Bhakti Ghatkar <bghatkar@zedo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Error while vacuuming
Date: Fri, 04 Nov 2011 14:21:53 +0100
Message-ID: <m3k47gkopa.fsf@mnc.ch> (raw)
In-Reply-To: <CAJeA4QHVjPFvQP+Lg=mbTrFzsHRa9v+QwM1e_C-+6hSRG=-rAQ@mail.gmail.com>
References: <CAJeA4QHVjPFvQP+Lg=mbTrFzsHRa9v+QwM1e_C-+6hSRG=-rAQ@mail.gmail.com>

Hi,

May be corrupt index, have you tried REINDEX?

(btw I failed to see how it is related to performance)


Bhakti Ghatkar <bghatkar 'at' zedo.com> writes:

> Hi ,
>
> While performing full vacuum we encountered the error below:
>
>
> INFO:  vacuuming "pg_catalog.pg_index"
> vacuumdb: vacuuming of database "xxxx" failed: ERROR:  duplicate key value
> violates unique constraint "ccccc"
> DETAIL:  Key (indexrelid)=(2678) already exists.
>
> We are using Postgres 9.0.1
>
> Can you please help us out in understanding the cause of this error?
>
> Regards,
> Bhakti
>

-- 
Guillaume Cottenceau



view thread (5+ messages)  latest in thread

Message-ID: <m3k47gkopa.fsf@mnc.ch>
Permalink:  ../m3k47gkopa.fsf@mnc.ch/
Also on:    postgresql.org/message-id/m3k47gkopa.fsf@mnc.ch

 · 

reply

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-performance@postgresql.org
  Cc: gc@mnc.ch, bghatkar@zedo.com
  Subject: Re: Error while vacuuming
  In-Reply-To: <m3k47gkopa.fsf@mnc.ch>

* 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