Live data from Hacker News

The Great Migration from MongoDB to PostgreSQL

infisical.com

311–320 of 339 posts

Re: The Great Migration from MongoDB to PostgreSQL

#311
post #190

Earlier quoted context omitted.

The price of persistent storage and memory was the same for Mongo as it was for Postgres back when the NoSQL movement happened. Mongo wasn't made of magic scaling fairies and still needed resources. As soon as you cranked up the safety of Mongo to a nearly acceptable level it's performance fell through the floor. The only reason people though it performed amazingly was because of Mongo's rather deceptive marketing. I…

I am certainly not going to defend mongo ever having being a good choice; I was referring to other "NoSQL" databases (namely, the large number of highly scalable key-value stores).

But you wouldn’t use a key value data store as your main store. It’s a specialized kind of store. Of course Redis and friends have their place. Just not as a main store.

Re: The Great Migration from MongoDB to PostgreSQL

#312
post #225
post #177

Earlier quoted context omitted.

I didn't even know about that; I checked his Twitter, and first thing is a reply to the Baltimore bridge collapse: > Doors and wheels fall off airplanes. Hundreds of illegal immigrants assault and overrun border guards in Texas. We can’t even muster support for our allies in the security council. But at least our pronouns are in order. https://twitter.com/unclebobmartin/status/177262869295654553... You really need to…

From the other side, people like me, see your odd dismissive behaviour in the same light. This bridge and hundreds of other things going wrong throughout the world atm are all symptoms of some sort of rotten problem, and I honestly don't know why you guys are so adamant about dismissing it. Almost as if you want to see it all come crashing down. Pure evil, as Trump would call it.

>From the other side, people like me, see your odd dismissive behaviour in the same light. This bridge and hundreds of other things going wrong throughout the world atm are all symptoms of some sort of rotten problem

Just one problem, huh?

This illustrates what I meant about black and white thinking.

Re: The Great Migration from MongoDB to PostgreSQL

#313
post #312
post #225

Earlier quoted context omitted.

From the other side, people like me, see your odd dismissive behaviour in the same light. This bridge and hundreds of other things going wrong throughout the world atm are all symptoms of some sort of rotten problem, and I honestly don't know why you guys are so adamant about dismissing it. Almost as if you want to see it all come crashing down. Pure evil, as Trump would call it.

>From the other side, people like me, see your odd dismissive behaviour in the same light. This bridge and hundreds of other things going wrong throughout the world atm are all symptoms of some sort of rotten problem Just one problem, huh? This illustrates what I meant about black and white thinking.

Not sure what angle you're going with. If you want to say there that there is more than one rotten problem at the core of society, go for it. I'd be the first to agree with you.

This is not black and white reasoning. Each problem can be on a continuous plane, from "slightly bothersome" to "there is an absolutely horrible evil lurking here".

Re: The Great Migration from MongoDB to PostgreSQL

#314
post #311

Earlier quoted context omitted.

I am certainly not going to defend mongo ever having being a good choice; I was referring to other "NoSQL" databases (namely, the large number of highly scalable key-value stores).

But you wouldn’t use a key value data store as your main store. It’s a specialized kind of store. Of course Redis and friends have their place. Just not as a main store.

[dead]

Re: The Great Migration from MongoDB to PostgreSQL

#315

Earlier quoted context omitted.

Oracle is a giant mess, is the sense I got from trying to work with it in the past. While I am loathe to recommend any Microsoft product, SQL Server is at least coherent, and has actual transactions like Oracle (and not just "checkpoints")

Aren't MSSQL and Oracle just doing redo logs, like MySQL? What do you consider not actual transactions? Postgresql keeps dead tuples in place until vacuumed, which seems optimized for rollbacks. But isn't so bad if you're inserting much more than deleting or updating.

Nestable transactions = “real transactions” to me, I guess.

I almost don’t see the point in non-nestable transactions

Re: The Great Migration from MongoDB to PostgreSQL

#316

Earlier quoted context omitted.

Aren't MSSQL and Oracle just doing redo logs, like MySQL? What do you consider not actual transactions? Postgresql keeps dead tuples in place until vacuumed, which seems optimized for rollbacks. But isn't so bad if you're inserting much more than deleting or updating.

Nestable transactions = “real transactions” to me, I guess. I almost don’t see the point in non-nestable transactions

SQL standardizes SAVEPOINT for such nesting. Is that not sufficient? FWIW Postgres supports it.

Re: The Great Migration from MongoDB to PostgreSQL

#317
post #89

Earlier quoted context omitted.

I do scaling and performance work, mostly with Rails apps, but a significant amount of the work is database level and not language specific. I've used both postgres and MySQL (and a few other databases) going back to 2000. The best thing I can hear from a company when I start is "We use Postgres". If they're using postgres then I know there's likely a far smoother path to performance than with MySQL. It has better to…

Two paragraphs about yourself and ending with a very vague sentence that “answers” their question. 10/10

It's context and weight for what would otherwise be just another opinion.

Re: The Great Migration from MongoDB to PostgreSQL

#318
post #64

If you like this kind of thing, I also migrated from mongodb to postgresql and wrote about it here: https://blog.stuartspence.ca/2023-05-goodbye-mongo.html My post is more technical, with examples and graphs, and less business-y.

I like your custom prompt. I'll be trying it out for a while!

Re: The Great Migration from MongoDB to PostgreSQL

#319

Earlier quoted context omitted.

Citus is open source and well financed. This comment may have made sense a few years ago, but no longer.

By "well financed" you mean "owned by Microsoft"? That situation raises a separate set of concerns, especially in the context of Microsoft's main database cash cow being SQL Server, not Postgres/Citus.

How is that different than owned by Oracle?

Re: The Great Migration from MongoDB to PostgreSQL

#320
post #319

Earlier quoted context omitted.

By "well financed" you mean "owned by Microsoft"? That situation raises a separate set of concerns, especially in the context of Microsoft's main database cash cow being SQL Server, not Postgres/Citus.

How is that different than owned by Oracle?

Yep, exactly. Apologies, my previous comment was semi-sarcastic but in retrospect that was way too vague :)

On average, HN leans anti-MySQL, with concerns about Oracle ownership frequently cited in these discussions (mixed in with some historic distrust of MySQL problems that were solved long ago). But I rarely see the same sentiment being expressed about Citus, despite some obvious similarities to their ownership situation.

Personally I don't necessarily think the ownership is a huge problem/risk in either case, but I can understand why others feel differently.

Post reply on HN