Re: [SQL] OID & indexes.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] OID & indexes.
Дата
Msg-id 21907.937926630@sss.pgh.pa.us
обсуждение исходный текст
Ответ на OID & indexes.  (raptor <raptor@unacs.bg>)
Список pgsql-sql
raptor <raptor@unacs.bg> writes:
> Is the OID fileld indexed and if not can I create index on it.

No, and yes.  OID is just like any regular column as far as
indexing is concerned.  You should make an index on it if you
plan to do lots of 'WHERE oid = something' queries.
        regards, tom lane


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

Предыдущее
От: Stuart Rison
Дата:
Сообщение: Re: [SQL] Subselect performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] OID & indexes.