Re: Horizontal scalability/sharding

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Horizontal scalability/sharding
Дата
Msg-id CA+TgmoasU1w+4qQ-nfVpEnhsL=T=KHpDN1zJ3t=iMp1sS4yKDw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Horizontal scalability/sharding  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Horizontal scalability/sharding  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On Tue, Sep 1, 2015 at 3:19 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Mind you, I see a strong place for binary replication and BDR for
> multi-region redundancy; you really don't want that to be part of the
> sharding system if you're aiming for write scalability.

I mostly agree, but keep in mind that you don't have to replicate
everything.  A lot of people might find it useful to replicate the
data that is common to all nodes even if they don't replicate the
sharded data.

Admittedly, there are some problems with snapshots here: if you don't
do anything special about snapshots, then what you have here will be
"eventually consistent" behavior.  But that might be suitable for some
environments, such as very loosely coupled system where not all nodes
are connected all the time.  And, for those environments where you do
need consistent snapshots, we can imagine ways to get that behavior,
like having the GTM consider the transaction uncommitted until it's
been logically replicated to every node.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: 9.4 broken on alpha
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: HINTing on UPDATE foo SET foo.bar = ..;