PostgreSQL Streaming Replication Tutorial

Поділитися
Вставка
  • Опубліковано 4 лип 2024
  • 0:00 - What is Streaming Replication?
    2:12 - Asynchronous vs. Synchronous Replication
    4:45 - Hands-on - Initialise Primary Database
    6:14 - Configuring the Primary for Replication
    10:01 - Configuring the Replica Instance
    13:01 - Testing Replication Setup
    🐘 Want to find out MORE about Scaling PostgreSQL?
    Use the link below to get 60% OFF on the Entire Course.
    www.udemy.com/course/postgres...
  • Наука та технологія

КОМЕНТАРІ • 42

  • @plaintext7288
    @plaintext7288 11 місяців тому +5

    Spent ~5 hours reading the docs and still couldn't set up replication, while you can teach it in under 20 minutes!
    Amazing!

  • @zaidpatel4465
    @zaidpatel4465 2 роки тому +8

    Crystal clear explanation dude !!!
    Keep it up , keep the content coming you are doing great !!!

  • @ant-bytes
    @ant-bytes 2 роки тому +1

    Excellent demo clear concise and very informative

  • @ramsiddu007
    @ramsiddu007 2 роки тому +2

    Very Informative and Clear Explanation, thank you for sharing this.

  • @freetrainingvideos
    @freetrainingvideos 8 місяців тому +1

    Excellent demonstration! Thanks

  • @biagiola
    @biagiola 2 роки тому

    I have postgres, one of the last, but I dont have installed the initdb tool, neither in my ubuntu and debian system by default. And I read that we dont need that really btw I like your channel and your vids. Very concise and straightforward.

  • @leomysky
    @leomysky Рік тому

    Thanks for such a concentrated information

  • @codegist3048
    @codegist3048 7 місяців тому +1

    Amazing work my friend

  • @ashishrao3069
    @ashishrao3069 Рік тому

    Please keep them postgres videos coming. Subscribed and shared your channel across my peers. Cannot wait for more content

  • @alisvo2766
    @alisvo2766 Рік тому +3

    wal_keep_size and max_slot_wal_keep_size must be configured in order to prevent possible replication fails (Network failure, system crash etc.)

  • @TheRahulkolan
    @TheRahulkolan Рік тому

    Very good explanation .

  • @sandipkumarnandi
    @sandipkumarnandi Рік тому

    wonderful video, could you please make a video on configuring the same on two different servers, it would be of great help.

  • @evertonpila73
    @evertonpila73 Рік тому

    The best!! Thanks for the explication

  • @user-ep9zl9xl3x
    @user-ep9zl9xl3x 4 місяці тому

    Excellent turorial. I've been reading some similar tutorials and some of them uses Docker instead of initdb. Is there an adavantage using Docker ? Is possible to create replica instances without using initdb ?

  • @ashokpatil4027
    @ashokpatil4027 Рік тому

    Very nicely explained.. clear voice.. it seems it is for Linux.. is same available for windows?

  • @ekonurmuhrodin1187
    @ekonurmuhrodin1187 Місяць тому

    amazing videos, Thanks very clear and helpfull

  • @minhhieple6483
    @minhhieple6483 11 місяців тому

    Can you clarify the difference between streaming replication and logical replication ?

  • @eli1801
    @eli1801 Місяць тому

    two Spanish students owe you our database project score

  • @medAmineRg
    @medAmineRg 4 місяці тому

    great explanation thankyou

  • @candycrushteamplayers4649
    @candycrushteamplayers4649 Рік тому

    so please for a big company wich architecture is the best

  • @muhammadriansyahtohamba3062

    thanks
    what if I want to do replication in a different server IP ?

  • @user-pm8yq1vg7y
    @user-pm8yq1vg7y 4 місяці тому

    So Helpful 👍

  • @mikhatanu
    @mikhatanu 11 місяців тому

    Can you write to replica in this setup? Will it show on primary?

  • @maheshshetty4088
    @maheshshetty4088 2 роки тому

    hi can you share the slides used.

  • @AP-eh6gr
    @AP-eh6gr 3 місяці тому +1

    slide at 3:14 is super important

  • @nachoci6876
    @nachoci6876 6 місяців тому

    Dont you have to change the data files owner in the replica?

  • @kiranpatil2596
    @kiranpatil2596 Рік тому

    Please one video postgres replication with master and docker slave container asynchronously

  • @durgaprasadpj
    @durgaprasadpj 11 місяців тому

    without restarting master server shall i able to scale the multiple slaves...?

  • @dataxorg4359
    @dataxorg4359 9 днів тому

    gr8 tutorial , and what is archive_moce, archive_command, restore_command etcc........

  • @denmarkgarcia5153
    @denmarkgarcia5153 8 місяців тому +1

    Isn't dangerous to put the config in /tmp? Linux must automatically wipe it off? Anyway nice explanation 😊

  • @Bhupindersingh-qt1fh
    @Bhupindersingh-qt1fh 8 місяців тому

    I am not able to create clusters with different ports and initdb is not working as well. Help me If possible. Thanks

  • @arunreji4950
    @arunreji4950 7 місяців тому

    How to do it in two laptops connected to same wifi?

  • @ericgestopa6420
    @ericgestopa6420 Місяць тому

    does this replication works in version 10, too?

  • @rafael0s782
    @rafael0s782 Рік тому +3

    which postgres version did you use?

  • @amritbehera2523
    @amritbehera2523 Рік тому +1

    Kindly clarify the version of "Postgresql" ,for which this explanation applies.

  • @amartuvshinbadnainymbuu4674
    @amartuvshinbadnainymbuu4674 6 місяців тому

    is it working postgresql 10 version

  • @ashutoshgamingboy3683
    @ashutoshgamingboy3683 5 місяців тому

    bro, i am trying this on the windows.
    psql postgres --port=5435
    while connecting it is asking me for the password which i have not even passed.

  • @Hemanthkumar-ic1fu
    @Hemanthkumar-ic1fu Рік тому

    how to do on windows sir

  • @Delicatamente
    @Delicatamente 3 місяці тому

    huge thanks!