Multi-column Indexes. What is best Conan?

Поиск
Список
Период
Сортировка
От Rodney McDuff
Тема Multi-column Indexes. What is best Conan?
Дата
Msg-id 199903100317.NAA01227@its.uq.edu.au
обсуждение исходный текст
Ответы Re: [GENERAL] Multi-column Indexes. What is best Conan?  (dustin sallings <dustin@spy.net>)
Список pgsql-general
Hi
    When you have a table with multiple columns and you want indexes on
them you can either
(a) create index table_idx on table using btree ( col1, col2, ..., col7);

or
(b) create index table_col1_idx  on table using btree ( col1 );
    create index table_col2_idx  on table using btree ( col2 );
    .
    .
    .

But what is best?


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

Предыдущее
От: M Simms
Дата:
Сообщение: Database out of sync
Следующее
От: dustin sallings
Дата:
Сообщение: Re: [GENERAL] Multi-column Indexes. What is best Conan?