MongoDB Replication | AWS EC2 instances | Replication in MongoDB

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 18

  • @Vaibhavjogdand2806
    @Vaibhavjogdand2806 ปีที่แล้ว +1

    Thanks for the explaination!

  • @shishanshurai96
    @shishanshurai96 2 ปีที่แล้ว +1

    Thankyou

  • @aircraftmoments5384
    @aircraftmoments5384 2 หลายเดือนก่อน +1

    Great it works perfectly. I wish you could show us on how to add this to mongo config file since this will stop working once you restart the instance.

    • @NeerajGarg
      @NeerajGarg  26 วันที่ผ่านมา

      will try to take out sometime to address this.

  • @puneetsaini2950
    @puneetsaini2950 2 ปีที่แล้ว +2

    Nice explanation of MongoDB Replication 👍

    • @NeerajGarg
      @NeerajGarg  2 ปีที่แล้ว

      Thank you puneet

  • @khangle-g168
    @khangle-g168 6 หลายเดือนก่อน +1

    any downside, latency if add members using public IP sir?

    • @NeerajGarg
      @NeerajGarg  6 หลายเดือนก่อน +1

      Hi, thank you for sharing your query. Can you please elaborate your use case and the requirement. That will help me to suggest in an appropriate way.

  • @amitroy-cx2qb
    @amitroy-cx2qb 11 หลายเดือนก่อน +1

    Hello Sir,
    Could you please let me know the entire process for do the mongodb database point in time restore using the mongodb opps manager console?

    • @NeerajGarg
      @NeerajGarg  11 หลายเดือนก่อน

      Thank you so much for your query. In case you haven't found any solution around this, I can check and confirm. Please let me know.

    • @amitroy-cx2qb
      @amitroy-cx2qb 11 หลายเดือนก่อน +1

      @@NeerajGarg Please do sir.
      Because I am not able to find any documents regarding this.
      Hence requesting you to please share if you have any documents with you please.

  • @TechPuzzle_Haven
    @TechPuzzle_Haven 10 หลายเดือนก่อน +1

    Great Explanation sir
    I have one question sir if I have around 27 gb of data in mongodb database and we have some huge collections which contains 80lacs data for all different projects and users are facing buffering issues, loading issues so is it good if we go with the replica set approach or we can create separate collection for different projects.
    Our server has configuration of 64 gb of RAM and 6cores.
    Please suggest some approach or solutions to resolve this issue.

    • @NeerajGarg
      @NeerajGarg  10 หลายเดือนก่อน +1

      Thank you for your kind words.
      In order to help you, need more details as mentioned below:
      Have you considered using indexes. If not, please create the indexes on the slow collection. If these indexes have been created, try using explain to understand the query which is running slow. th-cam.com/video/8dd52h-M7x8/w-d-xo.html
      th-cam.com/video/TfJgBbTf1RQ/w-d-xo.html
      Have you considered sharding your collection. If not, please select the appropriate shard key and then observe for a certain timeframe. This should help as well. th-cam.com/video/zGF_7kQBLq4/w-d-xo.html
      Check my videos on schema design best practices and see if there are any issues related to schema design.
      th-cam.com/video/ZeTwxU4C07o/w-d-xo.html
      th-cam.com/video/lZDxMjHtaOY/w-d-xo.html
      All the above points are so critical and can help you to get rid of performance issues.
      If these don't help, please feel free to share your concern again with more details like sample documents, kind of queries you have been running, indexes created, output of explain command.
      Hope this helps. Best wishes !!

    • @TechPuzzle_Haven
      @TechPuzzle_Haven 10 หลายเดือนก่อน +1

      @@NeerajGarg Thanks alot sir for helping me out.

  • @avnishrai5001
    @avnishrai5001 2 ปีที่แล้ว +1

    Is it mandatory to bind IP through nohup commnad or we can directly edit the mongod.conf and change the bindIP value?

    • @NeerajGarg
      @NeerajGarg  2 ปีที่แล้ว

      Hi Avnish, as per my understanding, it is not mandatory if the IPs are bind through mongod.conf .

  • @pradipkumar8498
    @pradipkumar8498 2 ปีที่แล้ว +1

    👌