PostgreSQL Replication with Easy Failback

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 9

  • @CR-rg5nh
    @CR-rg5nh 6 лет назад +1

    Hi! Do i need Replication slots for this situation (failback) or i can do it without slots? Thanks

  • @1487atul
    @1487atul 2 года назад

    I think there is no need to define restore_command in recovery.conf file if you are already creating a replication slot. please correct me if I am wrong as far as I know restore_command is needed when you are archiving xlog file to archive location but if you have replication slot then there is no need of restore_command . please correct me If I am wrong ?

  • @adammulla9181
    @adammulla9181 5 лет назад

    Hi,
    Thanks for your tutorial..
    Can we do switchover and switchback without adding parameter recovery _target_timeline='latest' in 9.4
    My friend told me he has done switchover and switchback in 9.5 without adding recovery _target_timeline=latest. is it possible ?

  • @decipheringthematrix56
    @decipheringthematrix56 5 лет назад

    Nice! I can't wait to try this.

  • @saintsun90
    @saintsun90 3 года назад

    Hello. Its not working v12 do you have any solution about it

    • @mrmik82
      @mrmik82 3 года назад

      Version 12 doesn't use recovery.conf but recovery.signal, standby.signal and postgresql.auto.conf.

  • @davebrunkow9194
    @davebrunkow9194 5 лет назад

    Everything works great until I remove the replication slot. I immediately get replication terminated by primary server. Only a pg_basebackup gets me out of it.

    • @davebrunkow9194
      @davebrunkow9194 5 лет назад

      I did not add recovery_target_timeline = 'latest' to the recovery.conf on the replica which caused all kinds of funkiness; WAL streaming at LOG: replication terminated by primary server DETAIL: End of WAL reached on timeline. DOH!