How to Choose a Database (SQL vs. NoSQL)

  Рет қаралды 39,467

Marko

Marko

Ай бұрын

In this video I will describe my process of choosing a database between row and column oriented SQL databases, as well as NoSQL databases.
For convenience here are the chapters:
00:30 - SQL databases
00:38 - Row oriented databases
03:41 - Column oriented databases
05:14 - NoSQL databases
05:25 - Document databases
08:00 - Sharding
09:16 - Streaming databases
=== Links ===
☕️ Discord
links.withmarko.com/discord
☕️ My free Mac window manager
links.withmarko.com/one-menu
☕️ My Notion Template
links.withmarko.com/notion-te...
☕️ Wallpapers:
withmarko.com/wallpapers
=== Business Inquiries ===
Email: business@withmarko.com
Instagram: @withmarko

Пікірлер: 124
@sidorrobert
@sidorrobert 28 күн бұрын
Great stuff, +1 for next episode about vector, graph, object oriented etc. databases!
@anashe5417
@anashe5417 28 күн бұрын
uuuuh something about vectors or graphs would be nice
@richardkraus5557
@richardkraus5557 23 күн бұрын
yes please! make a video about graph databases
@gborgesw
@gborgesw 6 күн бұрын
Totally! Would love one about these!
@danielgilleland8611
@danielgilleland8611 23 күн бұрын
For others out there, normalization isn't there just because of "limited disk space". The reduction of data duplication is to help prevent anomalies (i.e.: potential corruption) from inserts, updates and deletes. I'm sure Marko knows that, but for those just learning, that's another aspect to why normalization is often done.
@Andrew-wh7uy
@Andrew-wh7uy 28 күн бұрын
Nice explanation, Marko! Personally, I choose pretty simply: if I need joints I stick to SQL, if not, I choose NoSQL :)
@withmarko
@withmarko 28 күн бұрын
Fair 👍
@uriastriumph4780
@uriastriumph4780 28 күн бұрын
Absolutely love how you broke these down so, YES! I would definitely appreciate a video or videos on other database types. As an AI Engineer, I work with vector databases a lot. Hearing another perspective on how they are built and how they work would definitely be of benefit. Cheers.
@withmarko
@withmarko 26 күн бұрын
Hey thanks for the comment! :) I would love to do another deep dive soon! :)
@raptisj
@raptisj 23 күн бұрын
Definitely want a follow-up video. I really like the way you explan things and would enjoy watching a deep dive.
@reecey1504
@reecey1504 28 күн бұрын
Thanks Marko, I test the builds of SQL based scripts so it’s great to get an understanding of the design choices behind them.
@latch909
@latch909 28 күн бұрын
honestly super helpful high level summary for me! Love to see more of this style
@xvekii3236
@xvekii3236 28 күн бұрын
That was awesome, Marko! I'd love to see more content about databases and their use cases for sure! Hvala i lijep pozdrav! :)
@AugustoKalahary
@AugustoKalahary 23 күн бұрын
Mannn what a class you just gave. Great explanations!!
@vengrinv
@vengrinv 28 күн бұрын
This is really nice. Nice byte sized (pun intended), cohesive and straight to the point. It doesnt get into unwanted depth and focuses on the important distinction between the DB types. Well done
@withmarko
@withmarko 28 күн бұрын
Hey thanks, I really appreciate this comment 🙏
@beatricecapelli7634
@beatricecapelli7634 27 күн бұрын
Amazing video! I'd really love to see the second part with the other types of database. Really good format in my opinion!
@1MelkaZ
@1MelkaZ 28 күн бұрын
this was very informative, thank you marko. Keep em coming!
@KarunJose-hb8ou
@KarunJose-hb8ou 28 күн бұрын
A great explanation of different types of databases. Great work, Marko!!
@withmarko
@withmarko 26 күн бұрын
Thanks!
@kodfam
@kodfam 27 күн бұрын
This is a masterpiece, I have not seen different DB engines broken down in a simplest form like this. Great video ❤️
@withmarko
@withmarko 26 күн бұрын
Hey thank! I'm glad you enjoyed the video :)
@sl3mey
@sl3mey 28 күн бұрын
Bro this video came perfect, i'm about to choose a databse
@HABIBMUHD92
@HABIBMUHD92 23 күн бұрын
Great explanation! Love this type of content.
@vishaltambi1400
@vishaltambi1400 27 күн бұрын
whoo great video@Marko you really did explain it well !!!
@Mo_ali2905
@Mo_ali2905 20 күн бұрын
Hey Man. I am living in Oslo, and I've been following you in your page since a year. Thanks for the valuable information 🙂.
@WhiteRickRoss
@WhiteRickRoss 27 күн бұрын
Awesome! Keep going with this format.
@danielgilleland8611
@danielgilleland8611 23 күн бұрын
Nice overview! Gotta show my students this.
@perlhacker
@perlhacker 25 күн бұрын
awesome explaination, thanks for that, it made all the documentation that i have read more clear.
@hapaise2924
@hapaise2924 28 күн бұрын
this was a very nice video, really enjoyed it
@brunomaia6253
@brunomaia6253 27 күн бұрын
Nice and simple explanation. TOP!
@md.manzeralam6508
@md.manzeralam6508 26 күн бұрын
Great video and explanation!
@sugarod_
@sugarod_ 25 күн бұрын
loving the more technicals vids!
@humaizuddinahmed2946
@humaizuddinahmed2946 26 күн бұрын
Would definitely like to see more videos like this.
@faizansaleem4423
@faizansaleem4423 27 күн бұрын
I have always had a bit of hard time in understanding the reasoning behind choosing a right database. I am like 3.5 years into software engineering profession and I recently started studying a book on this very topic as I want to be able to answer questions like why I chose a certain database. Your explanation made me understand that, been following you from start and love your videos as always. Looking forward to the next episode.
@withmarko
@withmarko 26 күн бұрын
Hey thank you for such a nice comment! I'm glad the video was useful :) Good luck on your dev journey :)
@faizansaleem4423
@faizansaleem4423 26 күн бұрын
@@withmarko Thank you :)
@datascience_azamat
@datascience_azamat 25 күн бұрын
Great videos educational and entertaining!
@lazarkap
@lazarkap 27 күн бұрын
Great video, learned some new stuff 🙌
@UserFH9698
@UserFH9698 27 күн бұрын
Wow, I learn something new and interesting today, thanks.
@josem3363
@josem3363 28 күн бұрын
Great explanation about the different databases :) With that title I was expecting some real example about some specific use case, the db you choose and why.
@withmarko
@withmarko 28 күн бұрын
Oh, thanks for the comment :) I changed it to "How to Choose a Database" to be clearer!
@user-le2tz1wj6v
@user-le2tz1wj6v 28 күн бұрын
this is really great video Thank you
@maxreuv
@maxreuv 28 күн бұрын
Interesting take on message brokers as databases...
@TE_-.-
@TE_-.- 26 күн бұрын
Is there perhaps an app on the iPad that can do this too, where you can start a screen recording and the background is removed?
@NihadBadalov
@NihadBadalov 27 күн бұрын
Hi, amazing video. What graphics tablet are you using?
@cody_codes_youtube
@cody_codes_youtube 27 күн бұрын
Side note: I think the chapters need to be 00:00 format for the video to update the chapters on the video itself. The 0:00 still behave as links to those parts of the video, but you get the visual chunking on the play timeline if you do 00:30
@withmarko
@withmarko 26 күн бұрын
Hey thanks, updated :)
@cody_codes_youtube
@cody_codes_youtube 26 күн бұрын
@@withmarkoOH!! That wasn’t it. It didn’t chapter because you didn’t have a beginning. You need to include 00:00
@elav6899
@elav6899 24 күн бұрын
Hi Marko, love you videos, they are great!! Anther thing, can you tell me please what is the name of your draw program that you used in this video? Thanks!!
@lyndontheman4093
@lyndontheman4093 28 күн бұрын
Nice! good info to take note! As always superb content marko! From Philippines! (Amping = "take care")
@bryanwi09
@bryanwi09 27 күн бұрын
Thank you so much for making this video and explaining it in detail. I am a novice at using DBs and this helped clear some questions I had. Please make more videos like this on different subjects. I have used PrismaDB (SQL) in a React app that I have made for a URL shortener I wrote in TypeScript. I like the interface Prisma uses does noSQL offer an interface like this?
@Foodie-Techie
@Foodie-Techie 28 күн бұрын
It was an interesting and informative video.
@ginger-viking
@ginger-viking 27 күн бұрын
Great video, thanks!
@zoran.stojkovic
@zoran.stojkovic 24 күн бұрын
super video Marko
@Master-lo5df
@Master-lo5df 21 күн бұрын
Amazing Video!
@inakisanchez2552
@inakisanchez2552 2 күн бұрын
big stuff,.. also the background video would be perfect as a separated video to just chill
@sathyanarayanan1654
@sathyanarayanan1654 28 күн бұрын
Bro we need this kind of vlogs also
@code_with_rares
@code_with_rares 27 күн бұрын
That's it. I'm getting a drawing tablet! What model did you get?
@parcidioandre914
@parcidioandre914 27 күн бұрын
this is great... now it makes sense that kafka would be used for a payment processing application
@govnewchewskees
@govnewchewskees 28 күн бұрын
Please make this kind of videos more often
@erickisee
@erickisee 28 күн бұрын
Great explanation. The streaming dbs are used for notifications? What are the different use cases for them?
@withmarko
@withmarko 28 күн бұрын
Thanks, yes notifications are one use case for sure, if there is any communication between 2 services where one of them is expected to be unavailable for some time, or not be able to process data as quickly as it’s arriving, it’s a good idea to have a streaming database in between
@abhinavghosh725
@abhinavghosh725 26 күн бұрын
I cant tell you how many people I have seen just by default go with NoSQL as its just "better" than SQL, and for some reason the popular notion is SQL is outdated. Good, short video btw !!
@swarupmahata9717
@swarupmahata9717 28 күн бұрын
Very Helpful Video:)
@ankbG
@ankbG 16 күн бұрын
What is a drawing table you acquired? How it feels to use so far, would you suggest for someone else to use?
@LoranMaes
@LoranMaes 28 күн бұрын
Hahaha insane, tomorrow I have a meeting with my internship to choose a DB for my bachelor thesis hahahaha. I'll enjoy this one :p
@withmarko
@withmarko 28 күн бұрын
Awesome, great coincidence 😃
@JDMAnt
@JDMAnt 28 күн бұрын
Great video, what tablet did you get?
@withmarko
@withmarko 28 күн бұрын
Hey thanks 🙏 I got the Wacom intuos 😃
@simbolmina
@simbolmina 25 күн бұрын
Hmm i just noticed i used mongodb like a sql db with refs all over place lol. So usage of mongodb for ecommerce i would save actual user data in documents where they are always used together, keep track of that use cases and update all of them if user changed these data, correct?
@withmarko
@withmarko 25 күн бұрын
Hey that's a good question! If you have a very high number of reads and you are always reading a few documents together, it makes sense to just bundle them up in a single document. But if you don't have very many reads, it's not worth it.
@simpingsyndrome
@simpingsyndrome 24 күн бұрын
Now i'm using Graph Relational Database like EdgeDB foe my project
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 28 күн бұрын
Keep posting like this
@j.h.a6254
@j.h.a6254 27 күн бұрын
Hi! What are the specs of your MacBook? 🙂
@muurimc
@muurimc 28 күн бұрын
Great video
@uchmd9302
@uchmd9302 28 күн бұрын
Did u delete some video in ur channel, cus i remember there is a rainy day vlog which i really enjoy to watch has disappeared😢
@ApurvoPal
@ApurvoPal 28 күн бұрын
Do your laptop gets warm?
@Simple_OG
@Simple_OG 28 күн бұрын
What's your view on using Golang as a backend?
@withmarko
@withmarko 28 күн бұрын
It’s a great choice, I wish I knew that language better, but I really like the design philosophy of it
@eytanbenittah
@eytanbenittah 19 күн бұрын
What Tablet Is That?
@ermarscaster4553
@ermarscaster4553 28 күн бұрын
bro can you talk about internship offers ?
@jimprix179
@jimprix179 28 күн бұрын
You know, just asking, but where do you work now??
@Iker_Tech
@Iker_Tech 28 күн бұрын
He's working at kahoot
@Le0chkh4idze
@Le0chkh4idze 28 күн бұрын
I'm Pretty Sure He Works At The Kahoot Office In Norway!
@withmarko
@withmarko 28 күн бұрын
Yep that’s true 😃
@hezypubgmobile
@hezypubgmobile 28 күн бұрын
Bro which mac are you using?
@withmarko
@withmarko 28 күн бұрын
Hey this is an M1 Pro 16in
@hezypubgmobile
@hezypubgmobile 25 күн бұрын
@@withmarko Thanks:)
@justinkim7202
@justinkim7202 23 күн бұрын
Normalisation does have the advantage of saving disk space but the question is, was normalisation designed with the main goal of saving disk space? I don't think so. I'd argue that the main design goal was avoiding data inconsistency due to data redundancy over space efficiency. So I personally wouldn't claim that "normalisation" was designed as a means to save disk space.
@ChristopherState
@ChristopherState 27 күн бұрын
Great explanation! Thank you! 🌟
@svmrat14
@svmrat14 28 күн бұрын
Hey Marko !
@withmarko
@withmarko 28 күн бұрын
Hey 😃
@Gabriel-ue3jf
@Gabriel-ue3jf 28 күн бұрын
How many hours of coding does your laptop lasts on battery?
@withmarko
@withmarko 28 күн бұрын
Hey if I’m just coding, not running some crazy docker containers, then 10 hours easy
@IgorBondarenko
@IgorBondarenko 28 күн бұрын
wow, so cool
@jamesfraser1622
@jamesfraser1622 28 күн бұрын
I'm learning SQL, want to be a Data Analyst
@AliImam-cs9ni
@AliImam-cs9ni 28 күн бұрын
Hello Marko
@aaaaanh
@aaaaanh 28 күн бұрын
If anyone wants to get into the nitty gritty things of exchanging/storing/mutating data between systems, highly recommend the enterprise integration patterns book
@withmarko
@withmarko 28 күн бұрын
Hey thanks for the recommendation 🙏
@DontAsk12
@DontAsk12 28 күн бұрын
hi
@webcoderph
@webcoderph 28 күн бұрын
Oh yeaaaah🎉
@gourabsarker9552
@gourabsarker9552 28 күн бұрын
Sir if you earn 800k Kroners a year before taxes then what is your take home pay after taxes and deductions in Norway? Plz reply. Thanks a lot.
@withmarko
@withmarko 28 күн бұрын
Hey please google “income tax in Norway” 😃
@karliszemitis3356
@karliszemitis3356 28 күн бұрын
Depends on tax deductions. But generally around 45k nok/month
@NodeWanted
@NodeWanted 28 күн бұрын
I thought Cassandra was a NoSQL database?
@znydd
@znydd 28 күн бұрын
@nikichashadow
@nikichashadow 28 күн бұрын
hi marko :)
@withmarko
@withmarko 28 күн бұрын
Hello 😃
@chedilahmer
@chedilahmer 28 күн бұрын
@@withmarko please more of this videos i learned so much 🥰
@MarlonRibunal
@MarlonRibunal 26 күн бұрын
If I am asked, I always say SQL. I'm a SQL DBA damnit!
@Elisei178
@Elisei178 28 күн бұрын
second
@rayansattarkhan6807
@rayansattarkhan6807 28 күн бұрын
I guess I am the first.
@Elisei178
@Elisei178 28 күн бұрын
fest
@Apenschi
@Apenschi 28 күн бұрын
This explanation is far too simplified, even though I know it's difficult to do in 11 minutes. SQL databases have many decades of optimization behind them and what they do cannot be done any faster! If a system claims to be faster, it leaves out essential functions (see “ACID”). The decision in favor of NoSQL should probably mainly made in the case of unstructured or weakly structured data. You also have to be sure in advance that you won't need complex queries later on. I fear that the decision in favor of NoSQL is mainly made because it is easier to use... which is the wrong reason! By the way, the reason for normalization is not storage space, but speed and data integrity.
@nikichashadow
@nikichashadow 28 күн бұрын
thankks for explaing
@withmarko
@withmarko 28 күн бұрын
It’s very oversimplified of course haha, KZbin is not university. The sentence “what they do cannot be done any faster”doesn’t carry much information. Don’t criticize and then hedge like that🙃 I totally agree I missed the point with data integrity, that’s a big one. Thanks for the comment, I appreciate it 🙏
@Fran-kc2gu
@Fran-kc2gu 28 күн бұрын
Yeah, pretty basic information every developer should know
@Apenschi
@Apenschi 27 күн бұрын
@@withmarko “what they do cannot be done any faster” carries the information that a database can't be faster without loosing essential features. If you don't need these features, because you have document-like data and only need primitive read requests, it's absolutely fine to choose a NoSQL Database, BUT you should be aware of what you are loosing. So, in a video that is comparing the two, you should at least mention the advantages of SQL Databases, what would cost only 2 mins more. That said, I appreciate your work and already watched a lot of your videos and enjoyed them!
@TheLukasz222
@TheLukasz222 28 күн бұрын
I think that explaining how SQL / NoSQL databases work is a bit insulting to your viewers :D
@nikichashadow
@nikichashadow 28 күн бұрын
i am pesonaly not good with backend so it kinda helped me
@withmarko
@withmarko 28 күн бұрын
Haha, didn’t mean to insult 😃 I know people in my audience are smart, but then again… I wanted to try the drawing tablet 🤓
@nikichashadow
@nikichashadow 28 күн бұрын
@@withmarko I hope it serves you well
A Day in The Life of a Software Engineer (ep. 45)
7:50
Marko
Рет қаралды 72 М.
Procedurally Generating Icons for my Farming Game
18:50
ThinMatrix
Рет қаралды 125 М.
She’s Giving Birth in Class…?
00:21
Alan Chikin Chow
Рет қаралды 8 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 57 МЛН
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 1,1 МЛН
Linus Torvalds: Why Choose a Career in Linux and Open Source
1:18
OpenTech Institute
Рет қаралды 19 М.
Which Is Better? SQL vs NoSQL
9:43
Web Dev Simplified
Рет қаралды 277 М.
60% Mechanical Wireless Gaming Keyboard | Portronics Hydra 10
6:20
Venom's Tech
Рет қаралды 283 М.
Mechanical Keyboard Soldering Tutorial
7:08
Keebio
Рет қаралды 11 М.
What Your GitHub Says About You | LIVE from Brazil
19:00
ThePrimeTime
Рет қаралды 145 М.
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 13 МЛН
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 132 М.