Re: pg_dump potential bug

From: Marcin Kowalski <kowalski(at)datrix(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump potential bug
Date: 2001-03-29 08:13:58
Message-ID: 99uqrf$cmv$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs pgsql-general pgsql-hackers pgsql-sql

Hi

Thanks for the help, in fact that is Exactly what is wrong. The pg_shadow
table has duplicated entries in it, I think I'm going to create a unique
index on it.
BTW I've migrated the entrie database to PG7.1RC1, running quite a big
search on the database basically involving a huge amount of selects.
Currently I'm curising at 1250 selects per second (simple select, no Joins)
from multiple tables with mutliple data, pretty fast I think. (But I still
have +- 10 Million to do :-) ).

ANyone have any ideas on how to improve performace, currently have indices
on key fields and am clustering (vacuum + vacuum analyze done)?? Are there
any command line parameters I can try to increase performance..??

Thanks in ADvance
MarCIn

Tom Lane wrote:

> Marcin Kowalski <kowalski(at)datrix(dot)co(dot)za> writes:
>> Is it possible that one of the system tables has been corrupted and shows
>> multiple entries for the tables?
>
> Come to think of it, this is a fairly likely behavior if you have
> multiple entries in pg_shadow with the same usesysid.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Marcin Kowalski 2001-03-29 08:35:06 Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP
Previous Message Natalya Pyalling 2001-03-29 07:53:32 Please Help Can not connect to any database

Browse pgsql-bugs by date

  From Date Subject
Next Message Marcin Kowalski 2001-03-29 08:35:06 Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP
Previous Message Maurizio Ortolan 2001-03-29 04:50:56 Error in the date field (with NULL value...).Thanks!

Browse pgsql-general by date

  From Date Subject
Next Message Phuong Ma 2001-03-29 08:25:30 inconsistent functionality with LIKE operator
Previous Message Natalya Pyalling 2001-03-29 07:53:32 Please Help Can not connect to any database

Browse pgsql-hackers by date

  From Date Subject
Next Message Marcin Kowalski 2001-03-29 08:35:06 Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP
Previous Message Maurizio Ortolan 2001-03-29 04:50:56 Error in the date field (with NULL value...).Thanks!

Browse pgsql-sql by date

  From Date Subject
Next Message Phuong Ma 2001-03-29 08:25:30 inconsistent functionality with LIKE operator
Previous Message Patrick Coulombe 2001-03-29 08:13:29 3 options