Re: I'd like to discuss scaleout at PGCon

Поиск
Список
Период
Сортировка
От MauMau
Тема Re: I'd like to discuss scaleout at PGCon
Дата
Msg-id BD931CB77B514BC6AEFEA85C82469A6A@tunaPC
обсуждение исходный текст
Ответ на Re: I'd like to discuss scaleout at PGCon  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
From: Alvaro Herrera
> Maybe an easy (hah) thing to do is use 2PC for DDL, agree on a OID
> that's free on every node, then create the object in all servers at
the
> same time.  We currently use the system-wide OID generator to assign
the
> OID, but seems an easy thing to change (much harder is to prevent
> concurrent creation of objects using the arranged OID; maybe can
reuse
> speculative tokens in btrees for this).

Would it mean that DDL execution requires all (primary) nodes to be
running?  I don't say it's an immediate problem yet, but FYI, Oracle
Sharding records all DDL statements and re-send them to the down nodes
later.


> Doing this imposes a cost at
> DDL-execution-time only, which seems much better than imposing the
cost
> of translating name to OID on every server for every query.

Agreed.

Regards
MauMau



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

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: I'd like to discuss scaleout at PGCon
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: POC: GROUP BY optimization