pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedError while vacuuming
5+ messages / 4 participants
[nested] [flat]
* Error while vacuuming
@ 2011-11-04 12:14 Bhakti Ghatkar <bghatkar@zedo.com>
0 siblings, 2 replies; 5+ messages in thread
From: Bhakti Ghatkar @ 2011-11-04 12:14 UTC (permalink / raw)
To: pgsql-performance
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error while vacuuming
@ 2011-11-04 13:21 Guillaume Cottenceau <gc@mnc.ch>
parent: Bhakti Ghatkar <bghatkar@zedo.com>
1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Cottenceau @ 2011-11-04 13:21 UTC (permalink / raw)
To: Bhakti Ghatkar <bghatkar@zedo.com>; +Cc: pgsql-performance
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error while vacuuming
@ 2011-11-04 14:14 Tom Lane <tgl@sss.pgh.pa.us>
parent: Bhakti Ghatkar <bghatkar@zedo.com>
1 sibling, 1 reply; 5+ messages in thread
From: Tom Lane @ 2011-11-04 14:14 UTC (permalink / raw)
To: Bhakti Ghatkar <bghatkar@zedo.com>; +Cc: pgsql-performance
Bhakti Ghatkar <bghatkar@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?
Try updating ... that looks suspiciously like a bug that was fixed a few
months ago.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error while vacuuming
@ 2011-11-08 06:33 Bhakti Ghatkar <bghatkar@zedo.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 5+ messages in thread
From: Bhakti Ghatkar @ 2011-11-08 06:33 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-performance
Tom,
Currently we are using version 9.0.1.
Which version shall we update to? 9.05 or 9.1 ?
~Bhakti
On Fri, Nov 4, 2011 at 7:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Bhakti Ghatkar <bghatkar@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?
>
> Try updating ... that looks suspiciously like a bug that was fixed a few
> months ago.
>
> regards, tom lane
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Error while vacuuming
@ 2011-11-08 07:49 Samuel Gendler <sgendler@ideasculptor.com>
parent: Bhakti Ghatkar <bghatkar@zedo.com>
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Gendler @ 2011-11-08 07:49 UTC (permalink / raw)
To: Bhakti Ghatkar <bghatkar@zedo.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-performance
On Mon, Nov 7, 2011 at 10:33 PM, Bhakti Ghatkar <bghatkar@zedo.com> wrote:
> Tom,
>
> Currently we are using version 9.0.1.
>
> Which version shall we update to? 9.05 or 9.1 ?
>
9.0.5 should be compatible with your installed db and contain any bug fixes
that have been released. Which isn't to say that you shouldn't test and
make a backup before upgrading the binaries on your production server, of
course.
--sam
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2011-11-08 07:49 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 12:14 Error while vacuuming Bhakti Ghatkar <bghatkar@zedo.com>
2011-11-04 13:21 ` Guillaume Cottenceau <gc@mnc.ch>
2011-11-04 14:14 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-11-08 06:33 ` Bhakti Ghatkar <bghatkar@zedo.com>
2011-11-08 07:49 ` Samuel Gendler <sgendler@ideasculptor.com>
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