How To Choose The Right Database?

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 198

  • @Nikolai4567
    @Nikolai4567 2 года назад +250

    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 года назад +91

    Man, the wisdom in these videos is unmatched

  • @chandragie
    @chandragie Год назад +48

    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 2 года назад +63

    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 2 года назад +1

      Amazing video💯.This wants me buy your book

    • @samus4799
      @samus4799 Год назад +2

      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.

  • @joeng7424
    @joeng7424 2 года назад +7

    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 Год назад +7

    Totally agree with "when it comes to database though, boring is good.
    The fancier the claim, the longer the disclaimer in the back.

  • @anupamgh0sh
    @anupamgh0sh 2 года назад +35

    "developers are naturally drawn to the new & shiny, like moths to a flame" 2:49 🤣😅

  • @imiebaka
    @imiebaka 2 года назад +53

    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…

  • @navitelogger
    @navitelogger 8 месяцев назад

    As a junior project manager, your videos help me a lot

  • @BrunoGabrielAraujoLebtag
    @BrunoGabrielAraujoLebtag 2 года назад +79

    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 Год назад +1

      So u want me to listen to u and ignore the discord software architect???????????????????😉

    • @zixing467
      @zixing467 8 месяцев назад +1

      @@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 7 месяцев назад

      ​@@just_A_doctor😂 Yeah, here is one more from quora

  • @dinkopehar982
    @dinkopehar982 2 года назад +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.

  • @djdankmemes9257
    @djdankmemes9257 Год назад +6

    By far this is one of my favorite programming channels. Extremely easy to understand and great visual presentation.

  • @noamanahmed1
    @noamanahmed1 2 года назад +6

    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.

  • @georgelza
    @georgelza Год назад +1

    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...

  • @rumplstiltztinkerstein
    @rumplstiltztinkerstein 2 года назад +17

    Just here learning everything that I wanted to learn when going to university.

  • @mileselam641
    @mileselam641 7 месяцев назад

    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).

  • @okaydoubleu
    @okaydoubleu 2 года назад +8

    A lot of the tricks here apply beyond choosing databases. A gem of a video😉

  • @andriram5719
    @andriram5719 2 года назад +1

    Best video on a channel so far, this real-life experience and wisdom is really important

  • @최강재-y9c
    @최강재-y9c 2 года назад +21

    So informative. Always dive right into the real contents without bs. Thank you!

  • @nikitapodshivalov3573
    @nikitapodshivalov3573 2 года назад +2

    This channel is a gem.

  • @robbybankston4238
    @robbybankston4238 Год назад

    Agreed. Sometimes you do not need a new database platform. Sometimes you need to rewrite your application.

  • @leanpilar
    @leanpilar 11 месяцев назад +6

    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.

  • @AlexKashie
    @AlexKashie 5 месяцев назад +1

    Jeez, I am so grateful to come across your channel... We don't deserve such content and explanantion. Thank you!

  • @alpiepho
    @alpiepho 2 года назад +14

    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.

  • @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.

  • @tharnendil
    @tharnendil 2 года назад +2

    I love your "try to play with what you have" first ❤️

  • @JeremyChone
    @JeremyChone 2 года назад +15

    Good video as usual. Our rule of thumb is "Lame Is the New Cool" as far as database choice.

    • @JohnDoe-my5ip
      @JohnDoe-my5ip Год назад +3

      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.

  • @longbranchgooberdapple2238
    @longbranchgooberdapple2238 2 года назад +2

    I was expecting general info on how to choose database for new project but that works too, thank you :)

  • @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.

  • @ReflectionOcean
    @ReflectionOcean Год назад

    Mitigation before migration.
    Boring is good.
    Read "Limits" and "FAQ" in manual.
    Understand the trade-offs.

  • @TrippSC2
    @TrippSC2 11 месяцев назад

    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.

  • @Cant_think_of_any
    @Cant_think_of_any 5 месяцев назад

    your video on RUclips is just like a gem!

  • @glebbondarenko67
    @glebbondarenko67 2 года назад +2

    Thank you. I like the initial idea "are we really need to change the DB?"

  • @11vag
    @11vag 2 года назад +1

    This channel is gold. Thank you.

  • @OOnhar
    @OOnhar Год назад

    Such an effective, yet simple video on selecting the right database. Thank you.

  • @rohanpashankar8619
    @rohanpashankar8619 9 месяцев назад

    Thank you. This really helped me understand the complexities involved in migrating databases.

  • @charlesopuoro5295
    @charlesopuoro5295 Год назад

    Thanks always for your insightful videos. They sure are a charitable contribution to our Industry.

  • @zachgoll
    @zachgoll Год назад

    This channel is a goldmine of info. Really great job!

  • @Zizaco
    @Zizaco 2 года назад +5

    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 Год назад +3

      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 2 месяца назад +1

      Yeah zero downtime schema changes are essential.

    • @Zizaco
      @Zizaco 2 месяца назад

      @@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.

  • @davidbeauchemin3046
    @davidbeauchemin3046 2 года назад +2

    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.

  • @codegreenie3429
    @codegreenie3429 Год назад +1

    Old is Gold. I use MYSQL for my software. Approaching 200K users and still runs under 1 second

  • @javisartdesign
    @javisartdesign 2 года назад +1

    very short and concise explanation. thanks for share it

  • @TJDeez
    @TJDeez 8 месяцев назад +1

    Sharting is never acceptable 😂
    In all seriousness, thanks for this great video sir.

  • @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 🇮🇳

  • @a314
    @a314 2 года назад +5

    Very informative. What software do you use to create animations for these videos? Looks thorough and stunning

  • @carolinegr
    @carolinegr 2 года назад +3

    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 года назад +1

      Great point. It is really about tradeoffs, isn't it?

  • @DJazium
    @DJazium 7 месяцев назад

    This is a wonderful video. Thanks I needed to watch this!

  • @CarlosWashingtonMercado
    @CarlosWashingtonMercado Год назад

    Thank you, sir, for sharing your knowledge in this video.

  • @morpheus4445
    @morpheus4445 2 месяца назад

    Thanks for the video. I do wish it was much more specific though when considering different use cases for system design interviews.

  • @henriquecapozzi
    @henriquecapozzi 2 года назад +1

    very good presentation and tips
    thanks

  • @phildewar5446
    @phildewar5446 2 года назад +1

    Firebird SQL DB is a powerful and free versioning option

  • @pauldudley1273
    @pauldudley1273 5 месяцев назад

    this is such a great video, it answered a lot of my questions.

  • @aungmyooo9692
    @aungmyooo9692 2 года назад +1

    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?

  • @KashfiFahim
    @KashfiFahim 2 года назад +1

    whoa look at that new intro. Very nice.

  • @alexanderpoplooukhin7448
    @alexanderpoplooukhin7448 Год назад

    Very cool video. You gave a lot of useful information in so short video. Thank you.

  • @mubarhackk
    @mubarhackk 2 года назад +1

    I want to design e-commerce web site. Which DB do you prefer?

  • @dominikvonlavante6113
    @dominikvonlavante6113 2 года назад +2

    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.

  • @rahulsrma26
    @rahulsrma26 2 года назад +1

    Great video. Love new animations. 👍

  • @fotiusciante
    @fotiusciante Год назад

    Couldn't agree more with this video!

  • @rajatbansal3769
    @rajatbansal3769 2 года назад +1

    What tools you are using to create these system design videos?

  • @YudhaTPutra
    @YudhaTPutra 2 года назад

    Very informative and useful video,thanks

  • @jamejame8244
    @jamejame8244 Год назад +1

    how about scylladb?
    i never use before, normaly use mongodb in project.

  • @jibin7277
    @jibin7277 2 года назад +1

    where do I find invitation link for the Slack channel mentioned in the video?

  • @leomysky
    @leomysky Год назад

    Wonderful video, thank you

  • @RaghuRam2k14
    @RaghuRam2k14 2 года назад

    Rare gem!! Thank you for the video

  • @malhaar707
    @malhaar707 10 месяцев назад

    can you let us know how do you create your videos, i mean interactive diagrams that you use in the videos.

  • @rodneylives
    @rodneylives 2 года назад +4

    This is good information! I love your style and straight-forward presentation of facts.

    • @ByteByteGo
      @ByteByteGo  2 года назад +6

      Thank you for the feedback.
      We try our best to respect our viewer's time investment in our contents.

  • @chaitu5736
    @chaitu5736 Год назад

    Excellent advice

  • @stachowi
    @stachowi 2 года назад +1

    Fantastic video.

  • @SanjayKumar-rn8eh
    @SanjayKumar-rn8eh Год назад

    I expected comparisons between different database offerings in this video based on the title of the video. Good stuff though.

  • @KuopassaTv
    @KuopassaTv 2 года назад

    Many cases the most suitable db is flat file, because instead of millions of users it's just the dev and googlebot.

  • @hammadahmed5363
    @hammadahmed5363 2 года назад +1

    Great video.
    Could you please tell me which tool you use to created these animated slides. Thanks

    • @ByteByteGo
      @ByteByteGo  2 года назад +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.

  • @guliyevshahriyar
    @guliyevshahriyar 2 года назад

    thanks for precious advice!

  • @fk33t29x
    @fk33t29x 2 года назад

    I want to know the answer and think about this topic long long long time ago, thanks!

  • @allezvenga7617
    @allezvenga7617 2 года назад

    Thanks for your sharing

  • @sachinsuryavanshi3
    @sachinsuryavanshi3 7 месяцев назад

    Do we have a tools where we can do the animation using code?

  • @VishalSharma-dn8ob
    @VishalSharma-dn8ob 2 года назад +1

    I see there is a discord server mentioned in the video. What's the invite link for that ?

  • @pankist
    @pankist 2 года назад

    Sounds like a meditation.
    I almost closed my eyes while still following the words on the unconscious level.

  • @rahulaga
    @rahulaga 2 года назад

    superb !! you mentioned `join chat room for discussions` which chat room you refer to ?

  • @ravindranaths513
    @ravindranaths513 7 месяцев назад

    Could you please make a video on Wide column vs column family vs columnar vs column oriented DB

  • @primingdotdev
    @primingdotdev 2 года назад

    sage advice, thanks.

  • @kqvanity
    @kqvanity Месяц назад

    I thought you'd devle into the intricacies into each and every one of them!

  • @michaeledwardharris
    @michaeledwardharris 2 года назад

    Lol that was really useful. The limits page is a jam indeed.

  • @ThangTran-hi3es
    @ThangTran-hi3es 2 года назад

    Thank you so much.

  • @garrettross7987
    @garrettross7987 7 месяцев назад

    Anyone know the software he uses to make the diagrams?

  • @YogeshDorbala
    @YogeshDorbala 2 года назад +6

    @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!

  • @ochibella9562
    @ochibella9562 2 года назад

    Great content 👍🏾

  • @terrencewells2131
    @terrencewells2131 2 года назад +1

    I love the channel

  • @ethanendures
    @ethanendures Год назад

    What do you think about surrealdb?

  • @juamsv
    @juamsv 2 года назад

    thank you, its as very clarify.

  • @TRK--xk7bb
    @TRK--xk7bb 2 года назад +1

    When in doubt, postgres

  • @sivanagarajupachipulusu
    @sivanagarajupachipulusu 2 года назад

    it would be great to know if had references or papers

  • @deekshaprusty
    @deekshaprusty 2 года назад +1

    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 года назад +1

      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 года назад +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

  • @danielniels22
    @danielniels22 2 года назад

    database ~ boring is good
    i love this

  • @GetMarvelDeals
    @GetMarvelDeals 3 месяца назад

    @bytebytego I think you could split the vidoes into chapters for easy access.

  • @pm71241
    @pm71241 2 года назад +1

    This topic is often the litmus test for tech pundits. ... And they often fail. You passed.
    One of the things I hate is when they throw all "NoSQL" products in the same category. They are very different.

  • @walid7189
    @walid7189 6 месяцев назад

    that was just beautiful

  • @gopinathpavani74
    @gopinathpavani74 2 года назад

    considered DB2 on zos or linux unix windows . We have all features we are discussing

  • @Han-ve8uh
    @Han-ve8uh 2 года назад +1

    Is the slack at 4:57 open to public?

    • @ByteByteGo
      @ByteByteGo  2 года назад +1

      We have a private discord server for those who purchased our books or subscribed to our online course at bytebytego.com. The info to join is in the book and online course.

  • @qedua5399
    @qedua5399 2 года назад

    how do you make such awesome presentation?