Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/3YTjsjH
@jay_wright_thats_right10 ай бұрын
Animations to visualize what she is saying would make this video perfect!
@chellamgmoorthy Жыл бұрын
I didn't knew what a database sharding was. This video gave me good amount of topics for me to research and learn. Thanks for the video!
@harshita99362 ай бұрын
This video was great. Short. Crisp. To the point.
@AhsanTirmiziVlogs4 күн бұрын
❤
@MuhammadAsif-nx7om Жыл бұрын
Great and to the point explanation, No bluff Thanks
@tryexponent Жыл бұрын
Glad you liked it!
@JacquesJoubert-c8zАй бұрын
This was an amazingly informative video to get a high level overview of what database sharing is, thank you!
@Deepz007 Жыл бұрын
Great video on sharing, but partitioning wasn't mentioned or discussed.
@oefzdegoeggl Жыл бұрын
a few things to add. i prefer partitioning based on a guaranteed key in the sense it will not distribute badly ... so the "first letter of name" is a bad idea. better use the record id and group 100k of them or what into a partition. then before storing partitions on different servers, there are a few more things to do first. one is to split modifying queries from read-only queries (which has to be done on the application level) so a simple read-replica-server (which is trivially to be setup in postgres) can be used. next what is possible is a db split on the logical level. i mean for example keep the user's core data on db1 and chat messages on db2. leaving out foreign keys and using weak references instead, with a periodic cleanup job that resolves broken links is a good idea, eliminating issues on backup restore when cut in a bad moment as well.
@goofballbiscuits36478 ай бұрын
Coming from a decade+ of data work with health records, I have to bump this comment. Name, location and birthdate combined still aren't unique. Messing up data with potential tromps like this is straight up lethal in some fields. Remember, friends: bad data is worse than no data.
@AbhishekKumar-b1j1x9 ай бұрын
Some people are very beautiful with a helping hand , thanku❤
@edmoregosha89377 ай бұрын
The video script explains the basics of database sharding and partitioning in system design. It discusses how sharding can help manage large amounts of data by breaking it up into smaller partitions spread across multiple servers. The script also highlights the advantages and disadvantages of sharding in terms of scalability, performance, and operational complexity. Key moments: 00:32 Traditional databases encounter limitations with increasing data size, necessitating sharding to enhance scalability and performance. -Geobase sharding partitions data based on user locations, reducing latency by routing users to the closest node. -Range-based sharding divides data by key value ranges, simplifying partition computation but potentially leading to uneven splits. -Hash-based sharding uses hashing algorithms to evenly distribute data across partitions, reducing hotspots but potentially separating related rows. -Automatic sharding dynamically manages data partitioning for higher performance and scalability, but manual sharding at the application layer increases development complexity. 03:55 Sharding enables scaling, faster queries, and system availability, but poses challenges like complex management, hot spots, and high operational costs. -Advantages of sharding include scalability, faster queries, and improved system availability during outages. -Disadvantages of sharding involve complex data relationships, potential hot spots, and operational costs for maintaining high availability. Generated by sider.ai
@octavian0704 Жыл бұрын
very well described, thanks for sharing.
@DesireStockhausen2 ай бұрын
Thanks for the interesting content! 😍 Just a small off-topic question: 😅 I have these words 🤨. (behave today finger ski upon boy assault summer exhaust beauty stereo over). Not sure how to use them, would appreciate help. 🙏
@KelliWestwood12 күн бұрын
Great analysis, thank you! Could you help me with something unrelated: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
@ayushgogna97329 ай бұрын
you guys are amazing i recently found your channel i am learning a lot and i am loving it
@IuisZeledon2 ай бұрын
Thanks for sharing such valuable information! I have a quick question: I have a SafePal wallet with USDT, and I have the seed phrase. (air carpet target dish off jeans toilet sweet piano spoil fruit essay). How should I go about transferring them to Binance?
@devkiosk Жыл бұрын
Awesome explanation.
@tryexponent Жыл бұрын
Thanks!
@bantamchick23 күн бұрын
Do watch this video with closed captioning on for unintentional comic effect, because for some reason CC does not always know what sharding is, so it sometimes captions it as "sharting". So you get to learn about "manual vs automatic sharting".
@cristinasanchez9029 Жыл бұрын
Greatly explained, I subbed
@netspie5 ай бұрын
Just memorize every word and say in the job interview.. unbelievable..
@josephkabemba3211 Жыл бұрын
Crystal clear
@SankalpCollege-f2o8 ай бұрын
Great video!
@robbybankston423810 ай бұрын
I would think that another potential disadvantage would be if you are using commercial rather than OpenSource operating systems or databases where the licensing costs increase as the number of servers increase also.
@pieter546611 ай бұрын
Good video but confusing use of the term 'partition', which is different than 'shard'.
@vaishnaves1723Ай бұрын
Sharding is also data partitioning. Partitioning can mean different things based on context, similar to “consistency” (which is different in the context of ACID and CAP)
@samislam2746Ай бұрын
you're strong
@altruistization3 ай бұрын
you did not mention eventual consitency as a drawback of sharding?
@vladyslavsosnov8412 Жыл бұрын
Awesome, thanks
@mandydawson6199 Жыл бұрын
Who is she and how do we get more videos with her?
@rmuneeb17 ай бұрын
Untill her hands moved I thought she was an AI robot 😂
@goofballbiscuits36478 ай бұрын
Sorry, everyone... I parted *_and_* sharded 😢
@AvinashRaj Жыл бұрын
Well thanks for reading the script.
@vivekkaushik95089 ай бұрын
😂😂😂
@codermccoderson8 ай бұрын
A lot of these YT educators write down the material before speaking to the camera. What’s your point?
@daphenomenalz41005 ай бұрын
Every single youtuber has to be prepared bruh, they can't just speak everything from mind and stutter when thinking :| It's not a reaction video
@caitlinmclaren2695 Жыл бұрын
Monolithic Databases??
@sriranjitharaghuraman164610 ай бұрын
Some visualization would have gone a long way
@tryexponent10 ай бұрын
Thanks for the feedback!
@junyulu46483 ай бұрын
今天的油管就看到这儿了
@marcello4258 Жыл бұрын
It sounds you messed up partitioning with sharding. And commodity hardware does not have ECC - don’t run a db on it.
@mick7827 Жыл бұрын
Each partition is stored within the same database server SO it's easier because sharding require multiple database servers ?
@deletevil4 ай бұрын
"commodity hardware does not have ECC - don’t run a db on it" SQLite is a file based database. It doesn't have to reside into the non-paged part of the RAM. High energy cosmic radiation can corrupt only the volatile memory cells, not the storage. Also modern commodity hardware have some level of ECC for CPU cache memory. Single bit ECC support for L2 cache, and multi-bit ECC for L1 cache (at least my 10 year old Intel i7 has). A whole query operation will probably fit into the cache size of the CPU unless the data size for columns exceeds the L2 cache size of the CPU (good luck exceeding that, for example say L2 cache is 256 KB and even if we have half of it available for our query operation at this moment with all the data for columns, it would take more than 100 columns each containing >1000 bytes to surpass that cache boundary, domain corresponding these kinda large query is not a thing of commodity hardware anyways. Hospital billing, hotel management, restaurant billing? Nah). Taking worst case memory access time say 100 nano-seconds to fetch the data from RAM to L2 cache memory. Radiation will have to corrupt those exact memory bits inside the RAM within that 100 nano-seconds during the fetching cycle. Then it will take another 100 or so nano-seconds to write the data back to the disk (worst case disk access time of 50ms (0.005 ns) is assumed). It's extremely unlikely; almost next to impossible for that radiation to randomly flip those specific memory cells inside the RAM out of billions of memory cells pertaining to the SQLite update/delete query executing function that will complete it's execution and save the data into the disk within like 10 milliseconds at most (including all network overhead of system calls). SQLite for Desktop is your friend. However, if you intend to use any of the client-server architecture based database like MySQL etc then your statement is valid indeed.
@lakshminarayanacharan8376 ай бұрын
You are looking so cute 🥰
@junyulu46483 ай бұрын
her name pls
@MJ-cf9nl2 ай бұрын
It is: NoneOfYourBusiness
@sk-vs9nt5 ай бұрын
am in love with this lady what her id
@satvikkhare1844 Жыл бұрын
reading for a teleprompter is not teaching!! sure it gave me topics that I can refer myself
@codermccoderson8 ай бұрын
A lot of youtube educators have their material scripted before speaking to the camera? What’s your point?
@KeshavmurthyRamachandra8 ай бұрын
you got the definition of Sharding wrong. understood you never did sharding in your life.