Re: Questions about horizontal partitioning

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Questions about horizontal partitioning
Дата
Msg-id 20070109171932.GC19523@wolff.to
обсуждение исходный текст
Ответ на Re: Questions about horizontal partitioning  (Chander Ganesan <chander@otg-nc.com>)
Список pgsql-general
On Tue, Jan 09, 2007 at 08:28:29 -0500,
  Chander Ganesan <chander@otg-nc.com> wrote:
> It would.  A query that uses an inner join implies that a matching entry
> must exist in both tables - so the join must occur, otherwise you could
> be returning rows that don't satisfy the join condition.

While this might not be worth doing, a foreign key constraint could be used
to establish the existance of the matching row, so that you wouldn't actually
need to look in the other table to verify that if you didn't need any of the
other columns in the other table. There will be some tricky cases for this,
such as when there are deferred constraints or when updating the foreign key
field.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: SELECT INTO using Views?
Следующее
От: Rafal Pietrak
Дата:
Сообщение: Re: TRIGGER BEFORE INSERT