Re: Global Sequences

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Global Sequences
Дата
Msg-id CA+U5nM+o8CZw7cfY0xSpO1nn-Lh4MxP2y3Zo=ctbcEJRw7Ss0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Global Sequences  (Markus Wanner <markus@bluegap.ch>)
Ответы Re: Global Sequences
Список pgsql-hackers
On 16 October 2012 13:26, Markus Wanner <markus@bluegap.ch> wrote:

> Why does a "Global Sequences" API necessarily hook at the nextval() and
> setval() level? That sounds like it yields an awkward amount of
> duplicate work. Reading this thread, so far it looks like we agree that
> option 3) is the most feasible optimization (the strict ordering being
> the un-optimized starting point). Do we really need an API that allows
> for implementations of options 1) and 2)?

Where else would you put the hook? The hook's location as described
won't change whether you decide you want 1, 2 or 3.

> What I'd appreciate more is a common implementation for option 3) with
> an API to plug in different solutions to the underlying consensus problem.

Implementations will be similar, differing mostly in the topology and
transport layer, which means its not going to be possible to provide
such a thing initially without slowing it down to the point we don't
actually get it at all.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: tuplesort memory usage: grow_memtuples