How to Setup Mongo DB Sharding

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

  • @SunPackSys
    @SunPackSys 3 ปีที่แล้ว +3

    Simple and Awesome … complete setup demonstrated in 12 min video

    • @vemarahub
      @vemarahub  3 ปีที่แล้ว

      Thank you for watching🙂

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

    This serious like a paid course. Thanks share this with us. Great Job. Keep it up

    • @vemarahub
      @vemarahub  ปีที่แล้ว

      Thank you for watching😃

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

    Simple and Excellent explanation. I really Like your blog also.
    Finished such a big and Complex setup within 12:23 mins.

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

      Thank you for watching😊

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

    Excellent Demo and very clear Explanation...Thank you ..Sir..😎👌

    • @vemarahub
      @vemarahub  ปีที่แล้ว

      thank you for watching😊

  • @Phyx1u5
    @Phyx1u5 8 หลายเดือนก่อน

    damn this was so good. 12 minutes, all meat no fat. thanks so much

    • @vemarahub
      @vemarahub  8 หลายเดือนก่อน

      Thank you so much for watching😊.Subscribe for more such videos.

  • @ecki0800
    @ecki0800 3 ปีที่แล้ว

    So you‘re telling me that I just forgot to Shard the Collection.. awesome Video! Trank you very much!

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

      thank you for watching

  • @abdullahsalim817
    @abdullahsalim817 ปีที่แล้ว

    simple and to the point
    thanks bro

    • @vemarahub
      @vemarahub  ปีที่แล้ว

      Thank you for watching😊

  • @KrishKhare-yz7wn
    @KrishKhare-yz7wn ปีที่แล้ว +1

    Very good explanation, please also make a video for different machines sharding😊

    • @vemarahub
      @vemarahub  ปีที่แล้ว

      Thank you for watching😊

  • @pavan1006
    @pavan1006 8 หลายเดือนก่อน

    Excellent man!!

    • @vemarahub
      @vemarahub  8 หลายเดือนก่อน

      Thank you for watching.subscribe for more such vidoes😊

  • @thisissharief7651
    @thisissharief7651 ปีที่แล้ว

    wonderful, you've got a new subscriber

  • @vinaykumarmaurya4956
    @vinaykumarmaurya4956 3 ปีที่แล้ว

    i'm so happy to see this video, very useful, very thanks

    • @vemarahub
      @vemarahub  3 ปีที่แล้ว

      thank you for watching!:)

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

    Very Good Explanation ..

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

      How to Do in AWS Instance with different instances ?

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

      thanks for watching 😊. You can install 3 instances on 3 different ec2 instances and try setting up sharded cluster.

  • @sumanthrai4640
    @sumanthrai4640 2 หลายเดือนก่อน

    Im not able to connect using mongo --port 26050 in my local machine im using gitbash. When i tried using cloud it was working

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

    0:58 what is that application using config server in this video?

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

      its a Virtual machine linux server

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

      @@vemarahub for windows what we will use that application?

  • @awssoorinje747
    @awssoorinje747 ปีที่แล้ว

    Sir, could you please create an end-to-end video on a real-time MongoDB project? This would greatly benefit those looking to gain practical experience. Thank you!

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

    excellent work

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

      Thank you for watching😊

  • @mayankjoshi1398
    @mayankjoshi1398 3 หลายเดือนก่อน

    If I do this sharding in single server as you did will it help in data retrieval speed and performance?

    • @vemarahub
      @vemarahub  3 หลายเดือนก่อน

      The point of using sharding is using multiple small systems ( with small cpu and ram configurations) to distribute your data instead of a huge single machine.Keeping one system is only good for testing/ POC setup.

  • @sumanthrai4640
    @sumanthrai4640 2 หลายเดือนก่อน

    every time my instance gets stuck after running replicas of shard b server why??please help

    • @vemarahub
      @vemarahub  2 หลายเดือนก่อน

      Thank you for watching and trying the demo.
      Could you check the mongod logs and check rs.status() in shard b to debug further.

    • @sumanthrai4640
      @sumanthrai4640 2 หลายเดือนก่อน

      @@vemarahub no im not able to type anything it gets stuck,even if i restart my console it says cannot start something went wrong, it will be fine till i create shard b

  • @saripallicreations
    @saripallicreations ปีที่แล้ว

    How to create a Mongo instance that can be dynamically configured and deployed by an ADO pipeline

  • @gauravchauhan-en9kc
    @gauravchauhan-en9kc 8 หลายเดือนก่อน

    Hi. Recently i got task to work on mongo shard & boy this video helps me a lot to understand the whole picture of configurations.
    But i am facing issue, during accessing the mongos docker container " I have setup the shard cluster on docker ". All the containers are on same docker network driver, which make all the containers to talk to each other. Even mongos container is also able to connect to the mongo config container, but when i am trying to connect the mongos, it through " MongoServerSelectionError " error.
    Need some help on this error, Thanks in advance.

    • @vemarahub
      @vemarahub  7 หลายเดือนก่อน

      Thank you for watching.
      could you try with directConnection param
      mongodb://localhost:27017/mydb?replicaSet=rs0&retryWrites=true&w=majority&directConnection=true

  • @nawazmohammed9746
    @nawazmohammed9746 4 หลายเดือนก่อน

    The video is very informative, however you should create one README file to share all the commands with description

    • @vemarahub
      @vemarahub  4 หลายเดือนก่อน

      Thank you for your feedback.Will be creating one.

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

    explanation excellent, can u make video for different servers(config-server, shard1-server, shard2-server, mongos-server) then, how to connect each server

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

      thank you for watching

  • @vinay8677
    @vinay8677 3 ปีที่แล้ว

    Brilliant 👍

    • @vemarahub
      @vemarahub  3 ปีที่แล้ว

      Thank you🙂

  • @kudaykumar1261
    @kudaykumar1261 4 ปีที่แล้ว

    Sir by seeing the steps i did it in windows 10 sir, its working only problem is - - fork not support and the make a0, a1 are any as server , need to open many terminal for this any way I was done. Thank you so much sir.

  • @kudaykumar1261
    @kudaykumar1261 4 ปีที่แล้ว

    Sir can you do it in the window 10 for shard configuration set up please

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

    Tim 12:13

  • @brayanpadrino393
    @brayanpadrino393 4 ปีที่แล้ว

    great job

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

    where is the shard key, can u explain about shard key

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

      shard key is the field you choose to distribute your shard.While sharding a collection you have an option to select the shard key.Only condition is that the field has to be indexed.Once selected you cannot change the shard key for a collection.

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

      @@vemarahub thank you

  • @zensic
    @zensic 3 ปีที่แล้ว

    Thank you so much

    • @vemarahub
      @vemarahub  3 ปีที่แล้ว

      thank you for watching

  • @kirindev
    @kirindev ปีที่แล้ว

    thank you.

    • @vemarahub
      @vemarahub  ปีที่แล้ว

      thanks for watching

  • @Ramkumar-vp4ue
    @Ramkumar-vp4ue 3 ปีที่แล้ว

    Excellent presentation if you would used containers instead of one machine that would be realistic. Thank you though.

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

      Thank you for watching and thank you for the feedback.Have plans for containers as a seperate platylist would add to list.

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

    {_id:1}, this is ur shard key