[GENERAL] Partitioning

Поиск
Список
Период
Сортировка
От Krithika Venkatesh
Тема [GENERAL] Partitioning
Дата
Msg-id CAP7eca00=EkhYMEDJnwNFxj8aSKJP39Xd8mNeLcV5mOeDow=bA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Partitioning (constraint exclusion involving joins)
Список pgsql-general
Hi,

I have a table that is partitioned on a numeric column (ID).

Partitioning works when I query the table with no joins. 

SELECT * FROM TABLE A a WHERE ID IN (SELECT ID FROM TABLE B b WHERE CREATED_TS = CURRENT_TIMESTAMP)

Partitioning doesn't work when I do join.

SELECT A.* FROM TABLE A a INNER JOIN TABLE B b ON  a.ID = b.ID.

Is there any other option that would work.

Thanks in Advance..


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

Предыдущее
От: Scott Mead
Дата:
Сообщение: Re: [GENERAL] How to get transaction started always in WRITE mode.
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: [GENERAL] Partitioning (constraint exclusion involving joins)