Re: Auto Partitioning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Auto Partitioning
Дата
Msg-id 28487.1175838996@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Auto Partitioning  (Markus Schiltknecht <markus@bluegap.ch>)
Ответы Re: Auto Partitioning  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
Markus Schiltknecht <markus@bluegap.ch> writes:
> Uh.. can you elaborate on that? AFAICS, you would simply have to query 
> multiple btree indexes and make sure non of them is violated.

That only works for the partition-key indexes, ie, ones where you can be
sure a-priori that there cannot be duplicate keys in two different indexes.
I believe the complaint here is that people would like to be able to
enforce uniqueness across the whole partitioned table on columns that
are not part of the partition key.

(But that sounds rather like pie in the sky, actually.  Which other
databases can do that, and how do they do it?)
        regards, tom lane


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: What X86/X64 OS's do we need coverage for?
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: [PATCHES] Fix mdsync never-ending loop problem