How to Setup Mongo DB Sharding

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • A part of set of Mongo database Videos.This video will give you a hands on session regarding Mongo Database Sharding.
    This video is continuation to basic explaination of Mongo DB Sharding.Check it out before watching this video:
    • Mongo DB Sharding Basi...
    Here's what you will learn :
    First i'll be giving you an introduction to the configuration setup of sharding.I would be then providing you hands on explaination using a single test server about how you can configure Mongo DB Sharding in a real environment.
    This video is part of a playlist of videos on Mongo, you can subscribe to my channel and explore more videos on programming, database administration and much more.
    You can follow me on twitter @HubVemara.
    Check out my blog : csrepo.blogspo...

Komentáře • 53

  • @SunPackSys
    @SunPackSys Před 3 lety +2

    Simple and Awesome … complete setup demonstrated in 12 min video

  • @Phyx1u5
    @Phyx1u5 Před 4 měsíci

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

    • @vemarahub
      @vemarahub  Před 4 měsíci

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

  • @rajununna6939
    @rajununna6939 Před rokem +1

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

  • @uzzalbasak2517
    @uzzalbasak2517 Před 2 lety +1

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

  • @ecki0800
    @ecki0800 Před 2 lety

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

  • @codebuilder1897
    @codebuilder1897 Před rokem

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

  • @KrishKhare-yz7wn
    @KrishKhare-yz7wn Před rokem +1

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

  • @awssoorinje747
    @awssoorinje747 Před 10 měsíci

    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!

  • @nawazmohammed9746
    @nawazmohammed9746 Před měsícem

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

    • @vemarahub
      @vemarahub  Před měsícem

      Thank you for your feedback.Will be creating one.

  • @AbhiGamerz7
    @AbhiGamerz7 Před rokem +1

    Tim 12:13

  • @abdullahsalim817
    @abdullahsalim817 Před rokem

    simple and to the point
    thanks bro

  • @vinaykumarmaurya4956
    @vinaykumarmaurya4956 Před 2 lety

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

  • @thisissharief7651
    @thisissharief7651 Před 10 měsíci

    wonderful, you've got a new subscriber

  • @kudaykumar1261
    @kudaykumar1261 Před 3 lety

    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.

  • @demulupusarla9248
    @demulupusarla9248 Před 2 lety +1

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

  • @pavan1006
    @pavan1006 Před 5 měsíci

    Excellent man!!

    • @vemarahub
      @vemarahub  Před 5 měsíci

      Thank you for watching.subscribe for more such vidoes😊

  • @niketpatel7935
    @niketpatel7935 Před rokem

    Very Good Explanation ..

    • @niketpatel7935
      @niketpatel7935 Před rokem

      How to Do in AWS Instance with different instances ?

    • @vemarahub
      @vemarahub  Před rokem +1

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

  • @gauravchauhan-en9kc
    @gauravchauhan-en9kc Před 4 měsíci

    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  Před 4 měsíci

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

  • @vadim566
    @vadim566 Před rokem

    excellent work

  • @saripallicreations
    @saripallicreations Před rokem

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

  • @brayanpadrino393
    @brayanpadrino393 Před 3 lety

    great job

  • @zensic
    @zensic Před 2 lety

    Thank you so much

  • @vinay8677
    @vinay8677 Před 3 lety

    Brilliant 👍

  • @kirindev
    @kirindev Před rokem

    thank you.

  • @kudaykumar1261
    @kudaykumar1261 Před 3 lety

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

  • @Ramkumar-vp4ue
    @Ramkumar-vp4ue Před 3 lety

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

    • @vemarahub
      @vemarahub  Před 3 lety +1

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

  • @pradeepkumark1768
    @pradeepkumark1768 Před 2 lety

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

    • @vemarahub
      @vemarahub  Před 2 lety

      its a Virtual machine linux server

    • @pradeepkumark1768
      @pradeepkumark1768 Před 2 lety

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

  • @demulupusarla9248
    @demulupusarla9248 Před 2 lety

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

    • @vemarahub
      @vemarahub  Před 2 lety

      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 Před 2 lety

      @@vemarahub thank you

  • @demulupusarla9248
    @demulupusarla9248 Před 2 lety

    {_id:1}, this is ur shard key