Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index
От
Dawid Kuroczko
Тема
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index
Дата
Msg-id
758d5e7f0707230021p5c78e9b1pa6eeb1bf30f0bdb3@mail.gmail.com
Ответ на
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index (Vincenzo Romano)
Список
Дерево обсуждения
Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Vincenzo Romano <vincenzo.romano@gmail.com>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Michael Glaesemann <grzm@seespotcode.net>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index "Josh Tolley" <eggyknap@gmail.com>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Tom Lane <tgl@sss.pgh.pa.us>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Vincenzo Romano <vincenzo.romano@gmail.com>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Tom Lane <tgl@sss.pgh.pa.us>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Vincenzo Romano <vincenzo.romano@gmail.com>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index Tom Lane <tgl@sss.pgh.pa.us>
Re: Difference between PRIMARY KEY index and UNIQUE-NOT NULL index "Dawid Kuroczko" <qnex42@gmail.com>
On 7/22/07, Vincenzo Romano wrote:
> On Sunday 22 July 2007 19:20:08 Tom Lane wrote:
> > Vincenzo Romano 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
В списке pgsql-general по дате отправления