Re: [HACKERS] Interval for launching the table sync worker

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Interval for launching the table sync worker
Дата
Msg-id 560d99e1-3efb-1679-78ea-23932fcf313c@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Interval for launching the table sync worker  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Ответы Re: [HACKERS] Interval for launching the table sync worker
Список pgsql-hackers
On 4/18/17 11:59, Petr Jelinek wrote:
> Hmm if we create hashtable for this, I'd say create hashtable for the
> whole table_states then. The reason why it's list now was that it seemed
> unnecessary to have hashtable when it will be empty almost always but
> there is no need to have both hashtable + list IMHO.

The difference is that we blow away the list of states when the catalog
changes, but we keep the hash table with the start times around.  We
need two things with different life times.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Interval for launching the table sync worker
Следующее
От: Euler Taveira
Дата:
Сообщение: [HACKERS] logical replication fixes