Question about Indexes...

Поиск
Список
Период
Сортировка
От Alan T. Miller
Тема Question about Indexes...
Дата
Msg-id 008701c3d1d3$754ad910$640a0a0a@webdev
обсуждение исходный текст
Ответы Re: Question about Indexes...  (Aarni Ruuhimäki <aarni.ruuhimaki@kymi.com>)
Re: Question about Indexes...  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Question about Indexes...  ("Sukellusseura Vesikot r.y." <info@vesikot.fi>)
Список pgsql-novice
If I create a table and assign the column type for what will be the primary
key the value of "Serial", do I need to explicitly create an index in
addition?

I was thinking that a Serial, would automatically be a Unique Index wouldn't
it? I also set that field to the primary key... does that ensure an index is
created?

Just a little confused...

Also, while I am on the topic, does it do any good to create indexes on a
timestamp field?

Thanks in advance,
Alan



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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: stupid question
Следующее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: Question about Indexes...