News for hackers. Stuff that matters.
Re:NoSQL: The Baby and the Bathwater by senttoschool on Tuesday February 07, 2023 @03:59AM (#34690395)
Back in the early 2010s, NoSQL hype was at an all-time high. One of the things that I never understood was how did organizations that chose to use a NoSQL as the primary business database deal with analytics?

You know, analyzing sales, user data, etc. With MySQL or Postgres, business analysts can just write SQL and get the data they need. But what about with MongoDB? Do you expect business analysts to write Javascript? Or that every data request needs to go through a product engineer? Or maybe you need to create data pipelines from MongoDB to MySQL just for analysts?

Dealing with analytics was the primary reason I never chose a NoSQL database as my main data store.

Re:NoSQL: The Baby and the Bathwater by jd_mongodb on Tuesday February 07, 2023 @06:50AM (#34691535)
You knowledge of MongoDB is a little out of date.

MongoDB supports SQL queries. Tableau has an MongoDB connector. You can connect MongoDB to Excel via our DataAPI and of course our Cloud platform provides embeddable charts.

Only the DataAPI is a relatively recent addition. The rest are very mature features.

Re:NoSQL: The Baby and the Bathwater by senttoschool on Tuesday February 07, 2023 @07:13AM (#34691707)
So it's no longer a NoSQL database. ;)
Re:NoSQL: The Baby and the Bathwater by zX41ZdbW on Tuesday February 07, 2023 @08:25PM (#34702805)
I did not find a reliable way to query MongoDB with SQL: https://github.com/ClickHouse/ClickBench/blob/main/mongodb/q...

It looks like it's only available in the Atlas service. Please correct me if I'm wrong.

Writing analytic queries in JS is painful.

Re:NoSQL: The Baby and the Bathwater by emptysea on Wednesday February 08, 2023 @06:40PM (#34717389)
Problem with mongo is if you start using more SQL like things like pipelines and aggregations your perf goes out the window

you really have to think about how you structure your data in mongo for it to work with lots of queries since joins are untenable (even if aggregations support them)