Re: Converting WAL to SQL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Converting WAL to SQL
Дата
Msg-id YdXFEe9CKZjOc93C@momjian.us
обсуждение исходный текст
Ответ на Re: Converting WAL to SQL  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Ответы Re: Converting WAL to SQL  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Tue, Jan  4, 2022 at 10:47:47AM -0300, Fabrízio de Royes Mello wrote:
> 
> On Tue, Jan 4, 2022 at 9:22 AM Michael Paquier <michael@paquier.xyz> wrote:
> >
> > On Wed, Dec 29, 2021 at 08:50:23AM -0300, Fabrízio de Royes Mello wrote:
> > > Try this:
> > > https://github.com/michaelpq/pg_plugins/tree/main/decoder_raw
> >
> > You may want to be careful with this, and I don't know if anybody is
> > using that for serious cases so some spots may have been missed.
> >
> 
> I used it in the past during a major upgrade process from 9.2 to 9.6. 
> 
> What we did was decode the 9.6 wal files and apply transactions to the
> old 9.2 to keep it in sync with the new promoted version. This was our
> "rollback" strategy if something went wrong with the new 9.6 version.

How did you deal with the issue that SQL isn't granular enough (vs.
row-level changes) to reproduce the result reliably, as outlined here?

    https://momjian.us/main/blogs/pgblog/2019.html#March_6_2019

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

  If only the physical world exists, free will is an illusion.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: SQL:2011 application time
Следующее
От: Japin Li
Дата:
Сообщение: Re: Index-only scan for btree_gist turns bpchar to char