Why I don't use MongoDB

Why I don't use MongoDB

Ben Awad

6 лет назад

41,858 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

samsonsam
samsonsam - 19.05.2023 02:43

This is the worst video that compares dbs.

Ответить
Nom
Nom - 27.10.2022 10:06

I switched to it a few months ago. Then I switched back. There's so much functionality you'd think it'd provide, of which it does not. So it really doesn't solve many problems. But it can actually introduce them. In fact, just about everything, you could do with a SQL JSON type. SQL feels old, but MongoDB feels like it was made in the early 00's and abandoned mid way through development.

Ответить
Robert Fowler
Robert Fowler - 15.06.2022 14:29

All totally wrong

Ответить
Marat Isaev
Marat Isaev - 10.06.2022 17:05

There is only one reason for mongo. It's free to use for learning todo apps. Because of it, there are billions shity courses like React+Mongo+Mongoose+other junk. Only human greed keeps this shit alive.

Ответить
ArifDev Coding
ArifDev Coding - 09.06.2022 09:42

I don't use mongodb because I don't know about it

Ответить
Jonathan Gamble
Jonathan Gamble - 16.04.2022 07:22

Aggregations is how you handle joins. This is something Firebase doesn’t have without manual functions. Graph databases are where it is at. Try redisgraph, neo4j, and if all else fails supabase.

Ответить
Brandon's Excel Tutorials
Brandon's Excel Tutorials - 11.04.2022 04:14

Love the video and the perspective!!!!

Ответить
Seo marshal
Seo marshal - 26.01.2022 16:51

How about Supabase? Supabase vs Mongodb. Which would be good for a react native / flutter app?

Ответить
Bobby Bundlez
Bobby Bundlez - 10.06.2021 22:14

wouldn't graphql with mongoDB solve a lot of those problems (ie. no schema and being able to query a bunch of data with one query)... im new to any kind of persistent data storage so just wondering!

Ответить
Harsh Vishwakarma
Harsh Vishwakarma - 05.06.2021 18:50

I am currently working with mongodb Atlas free cluster
It is very slow for getting data and maximum time the database is not connected
Mongodb is giving very hard time

Ответить
Orhan
Orhan - 16.05.2021 19:43

I wonder is this kid knows something called "aggregation" in MongoDB

Ответить
omemester
omemester - 03.04.2021 12:49

What's your updated opinion on this

Ответить
Sardorbek Aminjonov
Sardorbek Aminjonov - 02.04.2021 20:02

But there are refs in there

Ответить
Mark Brindle
Mark Brindle - 25.03.2021 14:47

Of course you can do joins in MongoDB! $Lookup in the aggregate pipeline. Your statement about consistency is totally BS. You have full ACID transactions even across shards. Do some research before making a bunch of crap statements.

Ответить
Brian Burns
Brian Burns - 20.03.2021 02:59

Where are you hosting your PostgreSQL databases?

Ответить
Mosseab Chakrani
Mosseab Chakrani - 21.01.2021 17:57

almost everything you said about mongodb is wrong

Ответить
Imperiumkiller
Imperiumkiller - 29.12.2020 02:59

Mongodb is garbage

Ответить
Helder Araujo
Helder Araujo - 13.11.2020 19:24

Neo4js

Ответить
faresar
faresar - 19.07.2020 00:35

You can query alot of dable (table with data in mind :D). I had to pause and finish laughing. Funny how the brain works.

Ответить
Hussein Nasser
Hussein Nasser - 08.06.2020 00:05

So Funny that I made a video last week with the exact same title. But my reasons are completely different.

Ответить
Neo Mashego
Neo Mashego - 07.06.2020 00:05

'datle'

Ответить
Mahendra Goyal
Mahendra Goyal - 16.04.2020 19:42

Dislikes tells more if you want to know Why not! :D

Ответить
Anselminos
Anselminos - 26.12.2019 19:45

now a days mysql tries to market it self as nosql + sql

Ответить
R K
R K - 29.11.2019 15:20

I've given a like to the video only for the opportunity to read some great comments. Thanks, Ben

Ответить
Carousel Blind.
Carousel Blind. - 18.10.2019 04:08

postgres is both nosql and sql

Ответить
zej at VLSgg
zej at VLSgg - 01.09.2019 17:08

You can do a manual join where you put a FK in a field and they manually reference it via query

Ответить
lamerchun
lamerchun - 02.04.2019 01:42

This is plain stupid an one of the most senseless talking i ever heard.

Ответить
Ashutosh Panda
Ashutosh Panda - 27.02.2019 15:14

so you did it just get a viral video... isn't it... click bait stuff....... you dump.....

Ответить
Israel
Israel - 06.02.2019 20:04

Exactly!!! Mongodb is nothing but pure hype

Ответить
Michael Scott Howard
Michael Scott Howard - 29.08.2018 17:59

Mongo is NOT a Database.... It's just that simple... I did not DIG databases in Grad school but ended up taking 3 classes --I use what I learned from that daily and that was back in 1999 when I finished... So learn E-R Database theory, and then sharpen your SQL skills --you'll thank COBB (google him...)

Ответить
Andrés Montoya
Andrés Montoya - 12.07.2018 18:18

I'm working on one project for my University, and it's about to manage a lot Excel files and use that data to edit, delete, chart, and things like that. and each Excel has 3000 data or more and MongoDB Is a good option in this application, because when they upload the Excel only with one query I can save all this data. And database like MySQL or PostgreSQL, are very slow...

Ответить
arada123
arada123 - 16.06.2018 21:26

you don't know what NoSQL is and try to use mongodb.This is wrong. You can not be a pilot becouse you drove a car before.

Ответить
Mahdi Pedram
Mahdi Pedram - 28.05.2018 05:55

You should consider using GraphDB databases

Ответить
Santiago Donoso
Santiago Donoso - 01.05.2018 14:35

just talk... nothing preactical

Ответить
Ignas Račkus
Ignas Račkus - 14.01.2018 00:21

In mongoDB is similar thing like joint called populate

Ответить
Pe Mi
Pe Mi - 19.09.2017 06:28

momgo is best db ever no stupid joins tables problems

Ответить
halved bagel
halved bagel - 18.09.2017 19:58

cool video, I'm interested in your further findings.
and the rumor your were talking about, as far as I know is actually not a rumor, it's possible because of one of the NoSql database's BASE properties: eventual consistency. which means that the transaction finalizes over time. unlike the atomicity of transactions in relational databases. people usually compare ACID vs BASE when comparing SQL and NoSQL databases, take a look if you are interested.

Ответить
EQuimper
EQuimper - 15.09.2017 05:40

What you thought of DynamoDB ? :) Thank you for the video.

Ответить
Adam Jones
Adam Jones - 12.09.2017 22:24

You can build a Schema in Mongo. (And other NoSQL solutions)
Relational and NoSQL have two completely different use cases, and should be used accordingly.
And as you mentioned, NoSQL solutions scale much more betterer than relational.
GridFS can't be done easily in relational afaik. If at all. I mean blobs are cool and all. But document store is pretty rad.

Ответить
Dennis Tennis
Dennis Tennis - 12.09.2017 22:20

Hi Ben, i have used mongodb in production. Still do actually with a current project. But if I could choose now I would go for pg too. Do you know firebase? I have played with it and it is really nice. For fast online project with offline support and live updating out of the box. I am actually waiting for graphql with neo4j. They are working on it as we speak. That will be the best I think. The schema can be used one on one with the graph database. It is all about relations. We just have to be a little patient for that. Till that time pg. 😃

Ответить
Scott
Scott - 12.09.2017 21:16

Mongoose which is a wrapper around MongoDB has relationships which is similar to joins, actually with Mongoose, you just need one reference in your Schema and use a function called populate and it will automatically bring data from multiply Schema together, also it has type checking and enforced structure as-well, also amazing at scaling, just like attaching onto a prototype of a JS object and that's it, also has life hooks as-well.

Mongoose really improves on MongoDB.

Ответить
D3FKON Music™
D3FKON Music™ - 12.09.2017 21:00

I'm afraid you're wrong. Mongoose solves almost all the problems you talked about in this video. Joins is actually possible btw, overall It's really simple and effecient​.

Ответить
Frank Spin
Frank Spin - 12.09.2017 18:38

I don't see any reason to use MongoDB over PostgreSQL. You can store json data in PostgreSQL if you want!

Ответить
ShrimplyTheBeast
ShrimplyTheBeast - 12.09.2017 18:22

One option to address MySQL and Postgres scalability is AWS Aurora. Mongo gets all the attention in the NoSQL world but Cassandra seems to be much faster and more scalable. It would be interesting to see your strategies for testing SQL performance. Great vid!

Ответить
Tjark Kühl
Tjark Kühl - 12.09.2017 17:46

I mean nosql db's use a ton of ram. And there is no point in using this because you have to upgrade ur server just for the database and have to pay extra for it. What was it 2 years ago 4gb minimum for mongodb

Ответить
Steve Reid
Steve Reid - 12.09.2017 17:44

Thanks for this. It was very interesting to hear your views on MongoDB.
I agree that you really need to think about the database design to keep it efficient. Ironically though, I nearly always build a schema with my MongoDB models for validation.
Does the lack of joins issue still apply if one is using GraphQL?
Hopefully a GraphQL/MongoDB/Redis video is still on your list?
I'm also interested in learning a graph database. I was thinking of Neo4j?

Ответить