Re: Importing Large Amounts of Data

Поиск
Список
Период
Сортировка
От Denis Perchine
Тема Re: Importing Large Amounts of Data
Дата
Msg-id 200204150526.25660.dyp@perchine.com
обсуждение исходный текст
Ответ на Re: Importing Large Amounts of Data  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: Importing Large Amounts of Data  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Monday 15 April 2002 05:15, Christopher Kings-Lynne wrote:
> > On Monday 15 April 2002 03:53, Christopher Kings-Lynne wrote:
> > > BTW, instead of:
> > >
> > > CREATE UNIQUE INDEX bigone_pkey ON bigone (rec_no);
> > >
> > > do:
> > >
> > > ALTER TABLE bigone ADD PRIMARY KEY(rec_no);
> >
> > I am sorry, could you please elaborate more on the difference?
>
> They have the same _effect_, it's just that the first sytnax does not mark
> the index as the _primary_ index on the relation.

Yes, I know. I mean how does this affect performance? How this can change
planner decision? Does it have any effect except cosmetical one?

--
Denis



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Importing Large Amounts of Data
Следующее
От: "Mario Weilguni"
Дата:
Сообщение: Re: Inefficient handling of LO-restore + Patch