What is Database Sharding?

  Рет қаралды 156,563

Be A Better Dev

Be A Better Dev

Күн бұрын

Пікірлер: 223
@RandomShowerThoughts
@RandomShowerThoughts Жыл бұрын
honestly might be the most complete and thorough explanation of sharding.
@BeABetterDev
@BeABetterDev Жыл бұрын
Thanks so much for your kind words!
@hamadaparis3556
@hamadaparis3556 2 жыл бұрын
You've simplified your explanation like google engineers do when they give lectures, I'm sorry if that sounds strange but I've realized that the people who simplify complex things they really know what they are doing awesome man Cheers.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you so much for the kind words!
@mohamedshehata3979
@mohamedshehata3979 Жыл бұрын
Nice words
@cameronmccoy2204
@cameronmccoy2204 21 күн бұрын
😊😅😊😊pp
@cameronmccoy2204
@cameronmccoy2204 21 күн бұрын
@@BeABetterDevpppp
@cameronmccoy2204
@cameronmccoy2204 21 күн бұрын
@@BeABetterDevp Pop p p pppp
@Aidanhyland
@Aidanhyland 3 жыл бұрын
I am burning through all your videos. You are making me a better SAAS Test Engineer! Keep up this great work!
@abhishekghosh5550
@abhishekghosh5550 2 жыл бұрын
This is seriously such a great video man. I spent the entire Sunday understanding Sharding. Not that I didn't get started with the concept, however, this video just made everything clear at the end of the day. Thank You.
@cd92606
@cd92606 3 жыл бұрын
Great video, especially your description about the non-uniformity problem.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Rotary Dialer! Yea the non-uniformity issue is one I've been personally bitten by in the past. Glad you enjoyed the video!
@v.m.5850
@v.m.5850 Жыл бұрын
Watched countless videos and barely understood the concept. Your video on the other hand explained everything along with pros and cons super simply. Thanks a ton.
@MohammedMubashshir-q8v
@MohammedMubashshir-q8v Ай бұрын
Awesome explanation of sharding, one of the best videos out there. Thanks brother!
@yfzhangphonn
@yfzhangphonn Жыл бұрын
Best lesson about database scalability I found, so easy to understand.
@rjjlucy
@rjjlucy 3 жыл бұрын
In most ~20min videos, I get tired soon and close them after 5min. I can’t believe your video is so good that I totally forgot time and finish watching all of it
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you so much Jingyi! Its these kinds of comments that keep me motivated to make more content :) Stay safe Daniel
@sn-wg9gp
@sn-wg9gp Ай бұрын
Been studying system design for interviews. All the videos handwave to sharding. We would shard the db across different regions. I had rough idea what it is that we split the db in to smaller pieces, but nothing concrete. Now it make perfect sense with this amazing video
@poloska9471
@poloska9471 2 жыл бұрын
Dude you make some really awesome content. Please please keep making videos! I love the clarity of your speech, voice, and presentation. I understand and can follow along in your videos a lot better than more other channels. Earned my subscription and likes! Keep killing it homie!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you so much for your kind words and welcome to the channel!
@ase713
@ase713 5 ай бұрын
Dude, this was outstanding! Super helpful and covered everything I needed to know!
@Bhaskarlnm
@Bhaskarlnm 2 жыл бұрын
Daniel, no words.. looking at your playlists content and videos …amazing. Great great effort to help people. Kudos to you 👏👏👌👌👌
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@filesopen6188
@filesopen6188 3 жыл бұрын
this video entails very good explanation and this also entails complex understanding.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you!
@saiaussie
@saiaussie 6 ай бұрын
Hey dude, you're a star! Very clear and upto the point! I cant thank you enough.
@mathisinav4267
@mathisinav4267 2 жыл бұрын
Hands down! the best explanation I've seen on database sharding, excellent!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're so welcome. Glad you enjoyed.
@Alexan6548
@Alexan6548 Жыл бұрын
Very clear. One of the best tutorial I have ever seen
@wlcheng
@wlcheng 2 жыл бұрын
Great video! Such a clear explanation of how database sharding works.
@JayPatel12928
@JayPatel12928 3 жыл бұрын
Watched some of your random videos on sys design, and now im hooked. Great content!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks so much J! Glad you enjoyed!
@amrikmalhans
@amrikmalhans 2 жыл бұрын
@@BeABetterDev yes
@devdewboy
@devdewboy Жыл бұрын
Thanks for the straight forward easy to grasp concept of sharding. Give this to someone else and we would have gotten a bunch of technical wordy mumbo-jumbo.
@ChauDuong1982
@ChauDuong1982 3 жыл бұрын
Thanks for the videos. Great explaination.
@JamesQQuick
@JamesQQuick 2 жыл бұрын
This was awesome. Thanks!
@Lordnoashi
@Lordnoashi 2 жыл бұрын
Amazing explanation, loved it. Thank you, it will help for the future interviews I have.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad I could help!
@bahot9057
@bahot9057 2 ай бұрын
Very well explained, great video!
@ВладимирЛапенков-г1э
@ВладимирЛапенков-г1э 3 жыл бұрын
best explanation of sharding i've heard!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you very much!
@codespace747
@codespace747 6 ай бұрын
Best video ever made on sharding
@eugeniosp3
@eugeniosp3 2 жыл бұрын
Bro I'll watch anything you make. If you made a video teaching me how to watch paint dry I'd take notes. Keep up the damn good work my mans.
@IQUE928
@IQUE928 3 ай бұрын
incredible explanation, thank you!
@eternalnight9453
@eternalnight9453 3 жыл бұрын
New here. Loved your talk! Your presentation and teaching is elegant and simple. Really appreciate it, thank you!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You are so welcome!
@Anton_Rozhanskii
@Anton_Rozhanskii 3 жыл бұрын
Great explanation, Daniel. Thank you
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You're very welcome Anton!
@lucasarbex926
@lucasarbex926 2 жыл бұрын
Great content man!! It helped me a lot!! Keep up with the good work!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you!
@harishbendale6818
@harishbendale6818 Жыл бұрын
Very clear, and simple explanation.
@BeABetterDev
@BeABetterDev Жыл бұрын
Glad it was helpful!
@mivel9763
@mivel9763 2 жыл бұрын
Had a hard time grasping on what database sharding actually meant but your video really helped me understand it, thanks! :)
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@drew4980
@drew4980 3 жыл бұрын
Are there any database tools that make this easier? Couldn't someone write some software to create a wrapper around a sharded DBMS that could handle the routing and re-sharding with a given hashing key?
@patrick1778
@patrick1778 2 жыл бұрын
you are so good at explaining concepts
@arikedada
@arikedada Жыл бұрын
great video, I understand what idempotency operations entails, thank you
@quang.luu.179
@quang.luu.179 Жыл бұрын
Good stuff man. I love the clarity you bring to a subject. Subscribed.
@RajuGupta-st1hj
@RajuGupta-st1hj 2 жыл бұрын
Thank you so much for the post. Good work. Keep it up.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome Raju!
@sharonleibel
@sharonleibel 2 жыл бұрын
Great explanations! Thanks, Keep it coming!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks Sharon!
@rajt1998
@rajt1998 2 жыл бұрын
Very well explained. Thank you
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@tamaraamanda2483
@tamaraamanda2483 2 жыл бұрын
Prepping for Amazon TPM interview and this is so helpful!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks Tamara and good luck on your interview! Make sure you focus on those leadership principles !
@santoshlml
@santoshlml 3 жыл бұрын
Well explained. Thank you!!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You're very welcome Santosh! Glad you enjoyed.
@taniaasim
@taniaasim 2 жыл бұрын
This is great and super clear. Thank you!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome
@OscarMartinez-nt6zn
@OscarMartinez-nt6zn 5 ай бұрын
Great explanation!
@shubhamchandra9258
@shubhamchandra9258 2 жыл бұрын
Awesome video. Very clearly explained.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks!
@donaldkennedy7993
@donaldkennedy7993 Жыл бұрын
superb explanation of DB scaling & sharding & W/R databases for a non DB person ;)
@panggrayta
@panggrayta 3 жыл бұрын
woww...!! great videos, great presentation, great explanation. thank you, keep sharing..
@andrewkicha1628
@andrewkicha1628 Жыл бұрын
Great job on this one, I came here to know more about sharding, but I learned lots of useful information before you even dived into the topic ;)
@BeABetterDev
@BeABetterDev Жыл бұрын
Glad it was helpful!
@chandnisaini9176
@chandnisaini9176 2 жыл бұрын
Well explained!!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you!
@estebanquintana156
@estebanquintana156 2 жыл бұрын
Great explanation. Thank you
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You are welcome!
@rschmidtzalles
@rschmidtzalles 3 жыл бұрын
clear and concise. subscribed
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Libert and welcome!
@saifmohamed1776
@saifmohamed1776 3 жыл бұрын
which better to start with for database basics: - introduction to database systems c.j date . - database internals. // if there are any better or recommended books or materials pls mention. * Great explanation.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hi Saif, This is a tough question to answer. I would step back for a moment to ask why are you trying to learn about databases? I think the answer will guide how/what to tackle first. For example, if you're just planning on using dbs, the database internals may be a bit overkill (but good to know overall). Could you tell me more about why you're learning db's and maybe I can guide you more? Thanks, Daniel
@saifmohamed1776
@saifmohamed1776 3 жыл бұрын
@@BeABetterDev to be aware of the basics in general like concepts physical logical at first And in backend specific. I'm very grateful for your concern
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hi Saif, I briefly looked at the two resources you mentioned, I think a better choice is to read Database Internals. I feel that it is much more modern and covers some of the important aspects of database challenges today such as distributed systems and availability. The other book is quite dated and although I'm sure would be beneficial, I think things have changed so rapidly recently that I'm concerned the content will be a bit stale. One thing to note is to not get too bogged down with the details. To be a great developer with database understanding you don't always need to understand the low level details. Knowing how things work at a high level with the ability to dive deep when you need to is much more valuable. Hope this insight helps and I wish you best of luck on your studies. Daniel
@saifmohamed1776
@saifmohamed1776 3 жыл бұрын
@@BeABetterDev thank you
@SofiaGoyal
@SofiaGoyal 3 жыл бұрын
Really good work man... such a detailed video...
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Sofia! Glad you enjoyed :)
@nodrift9503
@nodrift9503 Жыл бұрын
Perfect explanation. Thank you
@hpandeymail
@hpandeymail 2 жыл бұрын
Very well formed content .. thanks 🙏
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome!
@samlinsell900
@samlinsell900 3 жыл бұрын
Vids are awesome, really enjoy them. Interesting that you didn't touch on the lack of thought to database design, indexing and maintenance etc as a way to improve performance. Interested to know why? Especially given the cost of scaling in serverless environments.
@AnilKumar-lb3qf
@AnilKumar-lb3qf 2 жыл бұрын
Excellent presentation, very good explanation 👍👍
@willemplug3366
@willemplug3366 Жыл бұрын
Super clear. Thank you!
@milequinze
@milequinze 2 жыл бұрын
Awesome! Thanks a lot!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome
@rayprusia4753
@rayprusia4753 3 жыл бұрын
Your videos are awesome! Thanks
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks ray!
@Tiparium_NMF
@Tiparium_NMF 3 ай бұрын
I love this breakdown, but it does somewhat leave me wondering when Sharding would be a good vs a bad idea. The cons seem pretty hefting in comparison to the pros. It would have been nice to run through a few specific different use cases and when one strategy would be better than another.
@subhasishhalder4817
@subhasishhalder4817 2 жыл бұрын
How come I didn't find your channel before?
@duzgunkenan
@duzgunkenan 4 ай бұрын
Great content, thank you
@jeevaengg
@jeevaengg Жыл бұрын
good explanation!!
@trantrongty8065
@trantrongty8065 3 жыл бұрын
Thank you that really helpful great video
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You're very welcome Tran!
@francoisbourdages2906
@francoisbourdages2906 2 жыл бұрын
très bien expliqué, merci
@random-characters4162
@random-characters4162 Жыл бұрын
God bless you, sir ✌️
@فيافيالتأملمهمةإصلاح
@فيافيالتأملمهمةإصلاح 3 жыл бұрын
great explanation thank u so much
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You are welcome!
@simonemariottini1011
@simonemariottini1011 3 жыл бұрын
Really useful content! Keep it up!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks so much Simone!
@ihateorangecat
@ihateorangecat Жыл бұрын
Best of the best explantion I kinda start to understand the Sharding in just video.Thank You and I subbed!
@markryan430
@markryan430 Жыл бұрын
OMG, I just Sharded myself!
@itiscinnamoncafe
@itiscinnamoncafe Жыл бұрын
Love longer videos ❤
@poketopa1234
@poketopa1234 4 ай бұрын
What I always miss in these videos is, doesn’t introducing a routing layer just kick the can down the road? Now you have all traffic going to a singular routing node, which is not scalable and can fail. What happens when you need to scale the routing node?
@GrzegorzPiotrowski-g4s
@GrzegorzPiotrowski-g4s Жыл бұрын
Thanks a lof for this video!
@peterroger249
@peterroger249 Жыл бұрын
Much thank you for your great KZbin help. I am new to Excel and Chatbot. How can I migrate the Excel database, export it from Microsoft Azure WebApp, and import it into AWS Chabot? Keep having errors missing QID and others on the AWS Chabot console. Please help show me the fastest way to convert the Excel and make it compatible with AWS Chatbot?
@dushyantchaudhry4654
@dushyantchaudhry4654 Жыл бұрын
questions: 1. Database is a slightly misleading term.. when we say database don't we really mean the software (RDBMS / NoSQL) that logically organises the data stored in storage SSDs? 2. If yes are we not splitting the responsibility of the software? i,e. The data still is in the SSD library right? Just the database management software is loaded in different servers and each DBMS server given responsibility for only some of the queries.
@alexeykorovko6704
@alexeykorovko6704 Жыл бұрын
very good explanation, thank you one point is not clear - do we really have advantage of availability / fault tolerance, in case we have an intermediate layer that routes the requests? for me it is like the same, isn't it?
@kgcpk
@kgcpk 2 жыл бұрын
Superb explanation 😍
@r-rtz
@r-rtz Жыл бұрын
A more interesting concept though is how you generate these unique id's that are used in the sharding / partitioning and ensure uniqueness
@channuangadi7504
@channuangadi7504 9 ай бұрын
and there is another complex thing is the id generation (here Customer ID) when we shard we have to make sure duplicate ID should not be generate, can we have video on ID generation in distributed computing
@geekaffairs6475
@geekaffairs6475 3 жыл бұрын
very well explained
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks so much!
@3042640426
@3042640426 Жыл бұрын
Thank you so much
@royal4210
@royal4210 2 жыл бұрын
Thank you programmer charlie
@loaizar95
@loaizar95 2 жыл бұрын
amazing video!! Understood almost everything and am not a it guy.. the only thing I did not get is the difference between partition mapping and routing :(
@asian1599
@asian1599 5 күн бұрын
doesn't the routing layer introduce single point of failure as well though?
@skmahaboobbasha6059
@skmahaboobbasha6059 3 жыл бұрын
Great vedio please make vedio on opsmanager installation on production environment
@cyclomiha
@cyclomiha 6 ай бұрын
Hmm..how about PITR? For analytics you could have replica with multi-master approach to each shard, right?
@drummerboi4eva
@drummerboi4eva Жыл бұрын
excellent video
@socialawareness1643
@socialawareness1643 Жыл бұрын
i HAVE A Question: What if the Shards returns the incomplete information . Means If customer queries the DB and shard returns the incomplete info ?? Then whats the use . Why NOT the backup is a good option ?
@HeavensMeat
@HeavensMeat 3 жыл бұрын
I know you have had other dynamodb videos here but would it be possible to have a more in depth video dealing with sharding in dynamodb and also utilizing this with python/boto3 vs the cli? I know it's not really the same type of sharding per se but this video reminded me that I am interested in seeing that kind of thing
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hey HeavensMeat! You're suggestion is a great idea for a new video idea, thanks you! I'll work on incorporating this into my todo list. Cheers!
@kishoretvk
@kishoretvk 2 жыл бұрын
Great vidoe, keep up the good work
@SuperWhatusername
@SuperWhatusername 3 ай бұрын
Great content
@HemitPatel-s3f
@HemitPatel-s3f 2 ай бұрын
is the sharding process explained in this vid the same as in redis clusters?
@얀고양이-f9h
@얀고양이-f9h Жыл бұрын
What if one of the shard node is down. For HA, we still replica for each shard node .
@shivakumarranjithn5584
@shivakumarranjithn5584 3 жыл бұрын
Great content!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks so much Shivakumar!
@rishiraj2548
@rishiraj2548 Жыл бұрын
Thanks
@benhunt2023
@benhunt2023 2 жыл бұрын
This feels like the khan academy of coding. Well done.
@gunnerandersen4634
@gunnerandersen4634 2 жыл бұрын
Hi there, a nerdy engineer here, I think you could bind some kind of hash or unique ID to your queries, and then track this as a state, then you can verify that a replica has gone through that particular state to make sure the values you are using are at a valid state for the new given query. Not saying this is any good at all, don't get me wrong, as a matter of fact, I think performance-wise might be actually very bad, but it kind of solves the event problem somehow.
@atacoonthis
@atacoonthis 3 жыл бұрын
This dude is the Cr1tikal of databases
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Haha thank you Daniel!
@Anonimus_13
@Anonimus_13 2 жыл бұрын
Cool video) What app do you use for drawing?
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Adobe Photoshop and a Veikk drawing tablet!
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 2,5 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 24 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 2,5 МЛН