How To Choose The Right Database?

  Рет қаралды 315,687

ByteByteGo

ByteByteGo

Күн бұрын

Weekly system design newsletter: bit.ly/3tfAlYD
Checkout our bestselling System Design Interview books:
Volume 1: amzn.to/3Ou7gkd
Volume 2: amzn.to/3HqGozy
Other things we made:
Digital version of System Design Interview books: bit.ly/3mlDSk9
Twitter: bit.ly/3HqEz5G
LinkedIn: bit.ly/39h22JK
ABOUT US:
Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

Пікірлер: 196
@Nikolai4567
@Nikolai4567 2 жыл бұрын
GREAT video. I expected you to just suggest what you use yourself. You didn't. You describe general experience, stuff that is actually important and useful regardless of the technology. Respect
@TheHaughtsauce
@TheHaughtsauce 2 жыл бұрын
Man, the wisdom in these videos is unmatched
@chandragie
@chandragie Жыл бұрын
Totally agree with "when it comes to database though, boring is good." I remember exactly Josh Long from Spring also mentioned about boring allows us to sleep peacefully at night, boring allows us to spend weekend with our family, boring allows us to go to holiday without worrying about work, I LOVE BORING! 😁
@gergelyszakacs
@gergelyszakacs Жыл бұрын
I'd like to add one more thing to the selection process: if you're tasked with designing a new system, make sure that you are absolutely sure about the actual load of the database and not the claimed one coming from the business stakeholders. Those guys tend to have overly ambitious goals (rather: dreams) about the growth of their businesses, which would make you choose a database technology and size the infrastructure under it that is a total overkill for a potentially much smaller problem. Besides that, great video, I love how down-to-earth your attitude is!
@kakkoi_goru
@kakkoi_goru Жыл бұрын
Amazing video💯.This wants me buy your book
@samus4799
@samus4799 Жыл бұрын
I'd rather have too much capacity than not enough. If I were in a position where my businesses' critical structures were bottlenecked by an overzealous IT guy, they might actually get strangled.
@imiebaka
@imiebaka 2 жыл бұрын
Very informative, sometimes companies just switch DB and later discovered the existing solution was still gold. In summary, study is key
@JohnDoe-my5ip
@JohnDoe-my5ip Жыл бұрын
Try explaining that to your idiot product owner with an MBA who only thinks in sprint cycles… it’d be so nice to have a job where they let engineers do actual engineering…
@anupamgh0sh
@anupamgh0sh 2 жыл бұрын
"developers are naturally drawn to the new & shiny, like moths to a flame" 2:49 🤣😅
@rumplstiltztinkerstein
@rumplstiltztinkerstein 2 жыл бұрын
Just here learning everything that I wanted to learn when going to university.
@leanpilar
@leanpilar 9 ай бұрын
I like your videos, including this one. However, I believe the title should be 'How To Choose The Next Database?' instead of 'How To Choose The Right Database?' because I was expecting to see which requirements fit with which database, and less how to migrate problems.
@joeng7424
@joeng7424 2 жыл бұрын
This channel knows me from inside out. I was fed with promises from PlanetScale and CockroachDB straight up for days and this drops off at the right moment.
@bhooshan25
@bhooshan25 Жыл бұрын
Totally agree with "when it comes to database though, boring is good. The fancier the claim, the longer the disclaimer in the back.
@djdankmemes9257
@djdankmemes9257 Жыл бұрын
By far this is one of my favorite programming channels. Extremely easy to understand and great visual presentation.
@BrunoGabrielAraujoLebtag
@BrunoGabrielAraujoLebtag 2 жыл бұрын
That's focus on Principles not technologies. Principles are timeless... technologies are not (and usually improvements from previous ones).
@just_A_doctor
@just_A_doctor Жыл бұрын
So u want me to listen to u and ignore the discord software architect???????????????????😉
@zixing467
@zixing467 6 ай бұрын
@@just_A_doctoryou fail to understand the point the writer was trying to make, it has nothing to do with credentials but rather how we approach problems in a philosophical manner as software engineers
@Brajgamer
@Brajgamer 5 ай бұрын
​@@just_A_doctor😂 Yeah, here is one more from quora
@alpiepho
@alpiepho 2 жыл бұрын
All of your videos are very well done. Thank you! Here is an idea for another video...show how to create these videos. A huge part of system design is "showing" the idea. It would be great to learn how you put these together, both from how they flow to the tools used for the awesome data visualization.
@okaydoubleu
@okaydoubleu 2 жыл бұрын
A lot of the tricks here apply beyond choosing databases. A gem of a video😉
@noamanahmed1
@noamanahmed1 2 жыл бұрын
Appreciate your content. I just cleared an interview where I was just asked one technical question regarding system design and your videos were big help.
@JeremyChone
@JeremyChone 2 жыл бұрын
Good video as usual. Our rule of thumb is "Lame Is the New Cool" as far as database choice.
@JohnDoe-my5ip
@JohnDoe-my5ip Жыл бұрын
Just make sure that rule of thumb doesn’t lead you to Oracle’s sales department and you’re all good!
@JeremyChone
@JeremyChone Жыл бұрын
@@JohnDoe-my5ip Fair point. We like PostgreSQL.
@최강재-y9c
@최강재-y9c 2 жыл бұрын
So informative. Always dive right into the real contents without bs. Thank you!
@AlexKashie
@AlexKashie 3 ай бұрын
Jeez, I am so grateful to come across your channel... We don't deserve such content and explanantion. Thank you!
@georgelza
@georgelza Жыл бұрын
love the fact that you say at 1:30... look t what you have and if how you using it is not broken/problem before jumping on band wagon to simply pick a new db... as if you don't know whats wrong/how it is wrong you are liable to just end with the same problem again...
@andriram5719
@andriram5719 Жыл бұрын
Best video on a channel so far, this real-life experience and wisdom is really important
@tharnendil
@tharnendil 2 жыл бұрын
I love your "try to play with what you have" first ❤️
@nikitapodshivalov3573
@nikitapodshivalov3573 2 жыл бұрын
This channel is a gem.
@longbranchgooberdapple2238
@longbranchgooberdapple2238 2 жыл бұрын
I was expecting general info on how to choose database for new project but that works too, thank you :)
@dinkopehar982
@dinkopehar982 2 жыл бұрын
This is expertise. To try everything for the current stack you have to make it work better before making decision to swap it for something else.
@navitelogger
@navitelogger 5 ай бұрын
As a junior project manager, your videos help me a lot
@glebbondarenko67
@glebbondarenko67 2 жыл бұрын
Thank you. I like the initial idea "are we really need to change the DB?"
@pauldudley1273
@pauldudley1273 3 ай бұрын
this is such a great video, it answered a lot of my questions.
@11vag
@11vag 2 жыл бұрын
This channel is gold. Thank you.
@morpheus4445
@morpheus4445 21 күн бұрын
Thanks for the video. I do wish it was much more specific though when considering different use cases for system design interviews.
@xikusyaa
@xikusyaa 3 ай бұрын
your video on KZbin is just like a gem!
@a314
@a314 Жыл бұрын
Very informative. What software do you use to create animations for these videos? Looks thorough and stunning
@codegreenie3429
@codegreenie3429 Жыл бұрын
Old is Gold. I use MYSQL for my software. Approaching 200K users and still runs under 1 second
@robbybankston4238
@robbybankston4238 Жыл бұрын
Agreed. Sometimes you do not need a new database platform. Sometimes you need to rewrite your application.
@rohanpashankar8619
@rohanpashankar8619 7 ай бұрын
Thank you. This really helped me understand the complexities involved in migrating databases.
@OOnhar
@OOnhar Жыл бұрын
Such an effective, yet simple video on selecting the right database. Thank you.
@TrippSC2
@TrippSC2 8 ай бұрын
Seeing the MS Access icon on here brings back some really bad memories. I worked for a company as pretty green sysadmin once that had a "homegrown" (in the sense that they paid to have it developed and didn't retain any source code) timekeeping software written in BASIC with an MS Access database as data persistence. Because Access has no real multi-user support, the software did a bunch of "clever" things to make locking work with multiple concurrent users. If there was ever an unexpected loss in connectivity to the database, at best the database lock was not removed and at worst the database was left in an inconsistent state and the lock was not removed. The databases needed a "Compact and Repair" operation run on it frequently, either for the reasons above or because the size of the database impacted performance, and that frequency accelerated the more data was in the database.
@javisartdesign
@javisartdesign 2 жыл бұрын
very short and concise explanation. thanks for share it
@zachgoll
@zachgoll Жыл бұрын
This channel is a goldmine of info. Really great job!
@mileselam641
@mileselam641 5 ай бұрын
Simpler decision tree: Postgres by default. A Postgres offshoot for specific use cases like TimescaleDB for time series, Yugabyte for distributed, etc. If and only if you have a requirement that cannot be solved natively by Postgres like temporal tables in MS SQL Server or MariaDB, then choose the other engine. NoSQL only when you know for a fact that no SQL engine can adequately handle your problem (and you've already tried).
@TRK--xk7bb
@TRK--xk7bb Жыл бұрын
When in doubt, postgres
@henriquecapozzi
@henriquecapozzi 2 жыл бұрын
very good presentation and tips thanks
@mohali4338
@mohali4338 Жыл бұрын
Only touches the surface for multiple problems (switching db, selecting db). By the way, I love your content, and I learn from it. Please continue the work.
@charlesopuoro5295
@charlesopuoro5295 Жыл бұрын
Thanks always for your insightful videos. They sure are a charitable contribution to our Industry.
@DJazium
@DJazium 5 ай бұрын
This is a wonderful video. Thanks I needed to watch this!
@davidbeauchemin3046
@davidbeauchemin3046 Жыл бұрын
To add a little nuance about transactional guarantees, it mostly does not remove one (or few) of the transactional guarantees. Is it more that it is untimely ACID. You might, on writing time, not be ACID, but untimely the database will become ACID. And the real question is, do you need ACID on write all the time for all the use cases? Maybe not.
@raymondmichael4987
@raymondmichael4987 2 жыл бұрын
Very powerful stuff you got here. I wish to learn how to do those benchmark testing
@phildewar5446
@phildewar5446 2 жыл бұрын
Firebird SQL DB is a powerful and free versioning option
@aungmyooo9692
@aungmyooo9692 Жыл бұрын
All of your tutorial is very clear and easy to understand because of animation explanation.I always wonder which tool you use to create this animation? Could you please share?
@ReflectionOcean
@ReflectionOcean Жыл бұрын
Mitigation before migration. Boring is good. Read "Limits" and "FAQ" in manual. Understand the trade-offs.
@TJDeez
@TJDeez 6 ай бұрын
Sharting is never acceptable 😂 In all seriousness, thanks for this great video sir.
@Zizaco
@Zizaco Жыл бұрын
Portability (not bound to 1 cloud provider), Open-source, Battle tested, Horizontally scalable, Performant, Easy/Built-in Replication (high-availability), Powerful schema definition, Excelente querying/aggregation capabilities, ACID Compliant, Change streams, and Productive (dev speed) = MongoDB MongoDB has been the to-go choice on most of the projects that I've worked on recently. Other DBs that we've chosen often are: Redis and Neo4j. Postgres is perhaps the best SQL choice. But SQL/Relational no longer makes much sense in application/operational use cases. An "ALTER TABLE" is enough to take a whole application down.
@JohnDoe-my5ip
@JohnDoe-my5ip Жыл бұрын
Multicloud is a convenient lie we tell ourselves. That vendor lock-in is largely unavoidable and can only be mitigated. Migrating cloud providers is only marginally less challenging than migrating database engines.
@paulurban2
@paulurban2 23 күн бұрын
Yeah zero downtime schema changes are essential.
@Zizaco
@Zizaco 22 күн бұрын
@@JohnDoe-my5ip Portability also means being able to run it in a CI / CD / Dev / Local environnement. Good luck with that if you are using DynamoDB or some exclusive flavor of postgres.
@carolinegr
@carolinegr 2 жыл бұрын
Sharding an existing database also takes considerable effort though. Especially if it means the clients to the db need to piece together data from different shards.
@ByteByteGo
@ByteByteGo 2 жыл бұрын
Great point. It is really about tradeoffs, isn't it?
@jamejame8244
@jamejame8244 Жыл бұрын
how about scylladb? i never use before, normaly use mongodb in project.
@KashfiFahim
@KashfiFahim 2 жыл бұрын
whoa look at that new intro. Very nice.
@wilfred-almeida
@wilfred-almeida 2 жыл бұрын
Apart from the awesome knowledge💯 the animation is fantastic. Kudos to the editor!🤌👏
@ByteByteGo
@ByteByteGo 2 жыл бұрын
Have to agree. Our editors for the illustration and animation are talented. 🙌
@CarlosWashingtonMercado
@CarlosWashingtonMercado Жыл бұрын
Thank you, sir, for sharing your knowledge in this video.
@rodneylives
@rodneylives 2 жыл бұрын
This is good information! I love your style and straight-forward presentation of facts.
@ByteByteGo
@ByteByteGo 2 жыл бұрын
Thank you for the feedback. We try our best to respect our viewer's time investment in our contents.
@rahulsrma26
@rahulsrma26 2 жыл бұрын
Great video. Love new animations. 👍
@GetMarvelDeals
@GetMarvelDeals Ай бұрын
@bytebytego I think you could split the vidoes into chapters for easy access.
@xzdasx
@xzdasx Жыл бұрын
I have a hate/love relationship with this Guy. I love how much I am learning every time I see any video. Also, I hate much much I don't know.
@alexanderpoplooukhin7448
@alexanderpoplooukhin7448 Жыл бұрын
Very cool video. You gave a lot of useful information in so short video. Thank you.
@ravindranaths513
@ravindranaths513 5 ай бұрын
Could you please make a video on Wide column vs column family vs columnar vs column oriented DB
@stachowi
@stachowi 2 жыл бұрын
Fantastic video.
@king0s
@king0s Жыл бұрын
I revisit this and learn something new every time. Also has more deep System design in his channel, every single one is a gem. awesome visuals along with awesome audio direction. . ❤ and 🙏 🙇🏾‍♂️ from Chennai 🇮🇳
@jibin7277
@jibin7277 Жыл бұрын
where do I find invitation link for the Slack channel mentioned in the video?
@leomysky
@leomysky Жыл бұрын
Wonderful video, thank you
@RaghuRam2k14
@RaghuRam2k14 Жыл бұрын
Rare gem!! Thank you for the video
@mubarhackk
@mubarhackk Жыл бұрын
I want to design e-commerce web site. Which DB do you prefer?
@YogeshDorbala
@YogeshDorbala 2 жыл бұрын
@bytebytego These videos are great, thank you! Could you please add a video explaining the benefits of each major database and their drawbacks? Would love to see a comparative discussion on the options available from you. Thanks!
@sachinsuryavanshi3
@sachinsuryavanshi3 5 ай бұрын
Do we have a tools where we can do the animation using code?
@malhaar707
@malhaar707 8 ай бұрын
can you let us know how do you create your videos, i mean interactive diagrams that you use in the videos.
@pankist
@pankist Жыл бұрын
Sounds like a meditation. I almost closed my eyes while still following the words on the unconscious level.
@garrettross7987
@garrettross7987 5 ай бұрын
Anyone know the software he uses to make the diagrams?
@fotiusciante
@fotiusciante Жыл бұрын
Couldn't agree more with this video!
@YudhaTPutra
@YudhaTPutra Жыл бұрын
Very informative and useful video,thanks
@walid7189
@walid7189 4 ай бұрын
that was just beautiful
@guliyevshahriyar
@guliyevshahriyar 2 жыл бұрын
thanks for precious advice!
@allezvenga7617
@allezvenga7617 Жыл бұрын
Thanks for your sharing
@rajatbansal3769
@rajatbansal3769 Жыл бұрын
What tools you are using to create these system design videos?
@ThangTran-hi3es
@ThangTran-hi3es Жыл бұрын
Thank you so much.
@hammadahmed5363
@hammadahmed5363 2 жыл бұрын
Great video. Could you please tell me which tool you use to created these animated slides. Thanks
@ByteByteGo
@ByteByteGo 2 жыл бұрын
It takes a team. We have some talented editors for illustration and animation, with the help of tools like Adobe After Effects, Adobe Illustrator, etc. It takes many hours for each video.
@fk33t29x
@fk33t29x Жыл бұрын
I want to know the answer and think about this topic long long long time ago, thanks!
@michaeledwardharris
@michaeledwardharris Жыл бұрын
Lol that was really useful. The limits page is a jam indeed.
@chaitu5736
@chaitu5736 Жыл бұрын
Excellent advice
@primingdotdev
@primingdotdev 2 жыл бұрын
sage advice, thanks.
@gopinathpavani74
@gopinathpavani74 Жыл бұрын
considered DB2 on zos or linux unix windows . We have all features we are discussing
@rahulaga
@rahulaga 2 жыл бұрын
superb !! you mentioned `join chat room for discussions` which chat room you refer to ?
@VishalSharma-dn8ob
@VishalSharma-dn8ob Жыл бұрын
I see there is a discord server mentioned in the video. What's the invite link for that ?
@juamsv
@juamsv 2 жыл бұрын
thank you, its as very clarify.
@SanjayKumar-rn8eh
@SanjayKumar-rn8eh Жыл бұрын
I expected comparisons between different database offerings in this video based on the title of the video. Good stuff though.
@jaimecarranza2509
@jaimecarranza2509 2 жыл бұрын
This content is very nice, thank you for making it.
@ByteByteGo
@ByteByteGo 2 жыл бұрын
Thank you for the encouragement. This is hard work, and this is very much appreciated.
@KuopassaTv
@KuopassaTv Жыл бұрын
Many cases the most suitable db is flat file, because instead of millions of users it's just the dev and googlebot.
@terrencewells2131
@terrencewells2131 2 жыл бұрын
I love the channel
@sivanagarajupachipulusu
@sivanagarajupachipulusu Жыл бұрын
it would be great to know if had references or papers
@deekshaprusty
@deekshaprusty 2 жыл бұрын
I heard many terms which I don't understand. E.g P99. Is there any other video where you talk about different parameters with which DB should be measured? Or with other db concepts?
@Bump2310
@Bump2310 2 жыл бұрын
Take the opportunity to search these terms and understand and make notes about them - while these guys are very helpful, you can't expected them to present this technical content at a completely ELI5 level.
@ByteByteGo
@ByteByteGo 2 жыл бұрын
We do plan to make some videos on system design fundamentals in the future. In the meantime, like others have suggested, write down the terms you don’t understand, do a bit of homework on your own, and don’t hesitate to come back for more questions. We are all beginners on some things and at some point. We have all been there. Hang in there.
@deekshaprusty
@deekshaprusty 2 жыл бұрын
@@ByteByteGo👍 thank you
@max3446
@max3446 7 ай бұрын
"Measure p99 of everything - average is not relevant", would anyone mind elaborating on this? I would imagine average latency is still pretty important in most cases.
@paulurban2
@paulurban2 23 күн бұрын
The truth is you need to look at both.
@ethanendures
@ethanendures Жыл бұрын
What do you think about surrealdb?
@dominikvonlavante6113
@dominikvonlavante6113 Жыл бұрын
Also, as a general piece of advice, unless you absolutely know, to 100% certainty, that a relational database won't work for your use-case, just stick to a relational database and spend a lot of thought into data modeling.
@ochibella9562
@ochibella9562 Жыл бұрын
Great content 👍🏾
@smriet
@smriet 11 ай бұрын
It would be useful to retitle the video to "When and how to migrate your existing DB"
The Secret Sauce Behind NoSQL: LSM Tree
7:35
ByteByteGo
Рет қаралды 203 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 216 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 50 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 43 МЛН
7 Must-know Strategies to Scale Your Database
8:42
ByteByteGo
Рет қаралды 107 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 444 М.
Design LeetCode - System Design Interview by a Google Engineer
12:11
System Design School
Рет қаралды 3,3 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 152 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,1 МЛН
Top 7 Ways to 10x Your API Performance
6:05
ByteByteGo
Рет қаралды 331 М.
What are AI Agents?
12:29
IBM Technology
Рет қаралды 448 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
They Enabled Postgres Partitioning and their Backend fell apart
31:52
Hussein Nasser
Рет қаралды 41 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 216 МЛН