Re: Many-To-Many Bridge Table Index

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Many-To-Many Bridge Table Index
Дата
Msg-id 200509300854.47986.peter_e@gmx.net
обсуждение исходный текст
Ответ на Many-To-Many Bridge Table Index  (Sergei Dubov <sdubov@gmail.com>)
Список pgsql-general
Am Donnerstag, 29. September 2005 21:44 schrieb Sergei Dubov:
> select * from table_a where table_b_id=1,
>
> will the query use an index? Will this be true when I do join on this
> table?

It could use the index, but whether it will depends on the particular data
distribution.  The EXPLAIN command is your friend.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: security documentation
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: postmaster does not shut down