Earlier quoted context omitted.
> The JSON operations are not atomic I hear this today the first time. What exactly os not atomic, and is there a resource with more details?
Not sure if this is what the above comment means by "atomic", but a shortcoming of Postgres' JSON support is that it will have to rewrite an entire JSON object every time a part of it gets updated, no matter how many keys the update really affected. E.g. if I update an integer in a 100MB JSON object, Postgres will write ~100MB (plus WAL, TOAST overhead, etc.), not just a few bytes. I imagine this can be a no-go for c…
The Great Migration from MongoDB to PostgreSQL
61–70 of 339 posts
Re: The Great Migration from MongoDB to PostgreSQL
#62Earlier quoted context omitted.
Because schemas. The whole point of nosql is that you can alter your data model without having to reload the whole database
Which is great in the early stages of development, but people actually deploy like this
Re: The Great Migration from MongoDB to PostgreSQL
#63Earlier quoted context omitted.
Generally with these migrations biggest problem in my experience is that all the operational learnings are not transferrable. You often want to create expertise and achieve operational excellence with the tech that you start out.
Back in the day we used to say "you choose your database once". You can swap in/out a lot of things, but your data store is really the core. It is shockingly hard to change your storage engine once you are serving customers, so you really want to get that right.
Re: The Great Migration from MongoDB to PostgreSQL
#64My post is more technical, with examples and graphs, and less business-y.
Re: The Great Migration from MongoDB to PostgreSQL
#65Can someone hit me with a few reasons why you would use Postgres over MySQL? I don’t have any familial affinity to any database, but I’m not sure what the benefits to Postgres are relative to MySQL.
Re: The Great Migration from MongoDB to PostgreSQL
#66Earlier quoted context omitted.
Why do you choose EBITDA? Last I heard it was utter nonsense”, at least according to Warren Buffet. https://m.youtube.com/watch?v=tvnKylAyLbQ
You'd probably save time if you directly suggest what income metric you want to use. In the video, Buffet is basically saying he cares about income after interest, tax, depreciation and amortisation. In other words, that he cares about actual income. That'd be very on-brand for Buffet. That measure won't be good for MongoDB Inc. either; they've been millions in the red for years. Losing $100 million in a year would b…
Re: The Great Migration from MongoDB to PostgreSQL
#67I use MySQL for everything - always have. Can someone hit me with a few reasons why you would use Postgres over MySQL? I don’t have any familial affinity to any database, but I’m not sure what the benefits to Postgres are relative to MySQL.
Re: The Great Migration from MongoDB to PostgreSQL
#68I use MySQL for everything - always have. Can someone hit me with a few reasons why you would use Postgres over MySQL? I don’t have any familial affinity to any database, but I’m not sure what the benefits to Postgres are relative to MySQL.
Re: The Great Migration from MongoDB to PostgreSQL
#69The one unsolicited piece of tech advice I always give is “Just use Postgres”. Postgres Is Enough: https://gist.github.com/cpursley/c8fb81fe8a7e5df038158bdfe0f... There’s some Mongo/json alternatives in the list if you really need unstructured data. And there’s a huge plug-in ecosystem as well for just about anything you could imagine.
Re: The Great Migration from MongoDB to PostgreSQL
#70Earlier quoted context omitted.
Postgres is no hype, it was already in plateau of productivity when MongoDB came to the web scale scene. Hadoop just like Mongo had their hyped time in the sun, but RDBMS are far too advanced and versatile than any of them were.
I am not calling Postgres hype - it should have never been NOT hype. It's a reasonable default for most problems, Now all I read about is how Postgres is awesome, as if it's this great new thing. I guess that makes sense, as the new generation of engineers is rediscovering stable, reliable, lean technologies after a decade of excesses with "exotic" tech. For grey beards, it's all very odd. Like, "where have you all b…
I love Postgres and it's been my go-to default since 2014 and you can pry it from my cold dead hands, but it's more contemporary with Perl 6 than Perl 5 if we're talking grey beards.