Re: Key management with tests

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Key management with tests
Дата
Msg-id 20210111180423.GG4320@momjian.us
обсуждение исходный текст
Ответ на Re: Key management with tests  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Key management with tests  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Mon, Jan 11, 2021 at 12:54:49PM -0500, Stephen Frost wrote:
> Although, another approach and one that I've discussed a bit with Bruce,
> is to have more keys- such as a key for temporary files, and perhaps
> even a key for logged relations and a different for unlogged..  Or

Yes, we have to make sure the nonce (computed as LSN/pageno) is never
reused, so if we have several LSN usage "spaces", they need different
data keys. 

> perhaps sets of keys for each which automatically are rotating every X
> number of GB based on the LSN...  Which is a big part of why key
> management is such an important part of this effort.

Yes, this would avoid the need to failover to a standby for data key
rotation.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Key management with tests
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: new heapcheck contrib module