Re: [GENERAL] indices don't make much difference

Поиск
Список
Период
Сортировка
От Elmar Haneke
Тема Re: [GENERAL] indices don't make much difference
Дата
Msg-id 3858A93B.46453120@haneke.de
обсуждение исходный текст
Ответ на indices don't make much difference  (admin <admin@wtbwts.com>)
Список pgsql-general

> I have tried creating an index for manu_base using the following commands:
> create index manu_mid_idx on "manu_base" using btree ("mid" "int2_ops");
> drop index manu_mid_idx
> create index manu_mid_idx on "manu_base" using hash ("mid" "int2_ops");
> drop index manu_mid_idx

You should also try out defining indices on prod_base.

The most efficient way for joining is an "merge join" this requires an
BTREE-index on both fields to be joined.

If EXPLAIN does not show index-usage you should do a VACUUM on both
tables to update statistics.

Elmar

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

Предыдущее
От: Pierluigi Mangani
Дата:
Сообщение: Recompile source RH 6.1 ?
Следующее
От: Fabian.Frederick@prov-liege.be
Дата:
Сообщение: RE: [GENERAL] Installation problem on Suse linux 6.3