Re: horizontal sharding

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: horizontal sharding
Дата
Msg-id dcc563d10906151149v6bc605cn6b13708b926063f5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: horizontal sharding  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On Mon, Jun 15, 2009 at 11:36 AM, John R Pierce<pierce@hogranch.com> wrote:
> Jim Mlodgenski wrote:
>>
>>
>>    also is it possible to paritition without changing client code
>>
>> Yes, but it depends on the SQL in your client code. If you are just using
>> simple SQL with no stored functions, you should be able to slip in either
>> solution without changing the client code.
>
> what about queries that need to do joins or aggregate reporting across the
> partitions?!?  I can't see how that could be done transparently short of
> something like Oracle RAC.

If you use inheritance and therefore put the child tables on the same
server, it's invisible to the client that the table is partitioned.
Make sure you've got constraint_exclusion turned on.

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

Предыдущее
От: AJAY A
Дата:
Сообщение: Amazon EC2 | Any recent developments
Следующее
От: David Kerr
Дата:
Сообщение: Re: Amazon EC2 | Any recent developments