From: | "Dawid Kuroczko" <qnex42(at)gmail(dot)com> |
---|---|
To: | "Vincenzo Romano" <vincenzo(dot)romano(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index |
Date: | 2007-07-23 07:21:53 |
Message-ID: | 758d5e7f0707230021p5c78e9b1pa6eeb1bf30f0bdb3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 7/22/07, Vincenzo Romano <vincenzo(dot)romano(at)gmail(dot)com> wrote:
> On Sunday 22 July 2007 19:20:08 Tom Lane wrote:
> > Vincenzo Romano <vincenzo(dot)romano(at)gmail(dot)com> writes:
> > > In the original setup, the "UNIQUE" constraint had been dropped
> > > *before* doing the tests. So the "slow" case is without the
> > > UNIQUE constraint but with an index. The NOT NULL was instead
> > > there.
> >
> > With what index, pray tell?
> >
> > regards, tom lane
>
> Sorry for the incomplete sentence.
> Read it as:
>
> In the original setup, the "UNIQUE" constraint had been dropped
> *before* doing the tests. So the "slow" case is without the
> UNIQUE constraint but with an index on NOT NULL fields.
Control question: did you recreate non-unique index after dropping
the UNIQUE constraint?
Regards,
Dawid
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-07-23 08:06:43 | Re: Import to excel to postgres based website? |
Previous Message | novnov | 2007-07-23 06:26:34 | Import to excel to postgres based website? |