Re: GDQ iimplementation

Поиск
Список
Период
Сортировка
Искать
От
Marko Kreen
Тема
Re: GDQ iimplementation
Дата
в 19:49:12
Msg-id
1274136746.1495.9.camel@Nokia-N900-42-11
Ответ на
Список
Дерево обсуждения
Clustering features for upcoming developer meeting -- please claim yours! Josh Berkus <josh@agliodbs.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: Clustering features for upcoming developer meeting -- please claim yours! Jan Wieck <JanWieck@Yahoo.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Josh Berkus <josh@agliodbs.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Jan Wieck <JanWieck@Yahoo.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Marko Kreen <markokr@gmail.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Jan Wieck <JanWieck@Yahoo.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Hannu Krosing <hannu@2ndquadrant.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Jan Wieck <JanWieck@Yahoo.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Marko Kreen <markokr@gmail.com>
Re: GDQ iimplementation Jan Wieck <JanWieck@Yahoo.com>
Re: GDQ iimplementation Simon Riggs <simon@2ndQuadrant.com>
Re: GDQ iimplementation Jan Wieck <JanWieck@Yahoo.com>
Re: GDQ iimplementation Jan Wieck <JanWieck@Yahoo.com>
Re: GDQ iimplementation Josh Berkus <josh@agliodbs.com>
Re: GDQ iimplementation Marko Kreen <markokr@gmail.com>
Re: GDQ iimplementation Hannu Krosing <hannu@2ndquadrant.com>
Re: GDQ iimplementation Simon Riggs <simon@2ndQuadrant.com>
Re: GDQ iimplementation Hannu Krosing <hannu@2ndquadrant.com>
Re: GDQ iimplementation Jan Wieck <JanWieck@Yahoo.com>
Re: GDQ iimplementation Marko Kreen <markokr@gmail.com>
Re: GDQ iimplementation Marko Kreen <markokr@gmail.com>
Re: GDQ iimplementation Jan Wieck <JanWieck@Yahoo.com>
Re: GDQ iimplementation Marko Kreen <markokr@gmail.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Marko Kreen <markokr@gmail.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Hannu Krosing <hannu@2ndquadrant.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Koichi Suzuki <koichi.szk@gmail.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Josh Berkus <josh@agliodbs.com>
Re: Clustering features for upcoming developer meeting -- please claim yours! Koichi Suzuki <koichi.szk@gmail.com>

----- Original message -----
> Jan, Marko, Simon,
>
> I'm concerned that doing anything about the write overhead issue was
> discarded almost immediately in this discussion.  This is not a trivial
> issue for performance; it means that each row which is being tracked by
> the GDQ needs to be written to disk a minimum of 4 times (once to WAL,
> once to table, once to WAL for queue, once to queue).  That's at least
> one time too many, and effectively doubles the load on the master server.
>
> This is particularly unacceptable overhead for systems where users are
> not that interested in retaining the queue after an unexpected shutdown.
>
> Surely there's some way around this?  Some kind of special
> fsync-on-write table, for example?  The access pattern to a queue is
> quite specialized.

Uh, this seems like purely theoretical speculation, which
also ignores the "generic queue" aspect.

In practice, with databases where there is more reads than
writes, the additional queue write seems insignificant.

So I guess it's up to you to bring hard proofs that the
additional writes are problem.

If we already are speculating, I'd guess that writing to
WAL and INSERT-only queue table involves lot less
seeking than writing to actual table.

But feel free to edit the "Goals" section, unless you are
talking about non-transactional queueing, which seems
off-topic here.

--
marko

В списке pgsql-cluster-hackers по дате отправления
От: Josh Berkus
Дата:
Сообщение: Re: GDQ iimplementation
От: Hannu Krosing
Дата:
Сообщение: Re: GDQ iimplementation
FAQ