Earlier quoted context omitted.
I think I've heard a saying about this, something about premature optimisation...
Sure you shouldn't care about scaling at the beginning. But why should you start using a system that you already know won't scale in the future?
Things I hate about PostgreSQL (2020)
41–50 of 255 posts
Re: Things I hate about PostgreSQL (2020)
#42Maybe there are some core PostgreSQL hackers here: I know this probably sounds silly but for the transaction ID thing, it does seem like a big deal, is it really insurmountable to make it a 64 bit value? It would probably push this problem up to a level where only very, very few companies would ever hit it and from a (huge) distance the change shouldn't be a huge problem.
Re: Things I hate about PostgreSQL (2020)
#43Earlier quoted context omitted.
The problem is that you want to build something that can scale in the future.
ffs, this attitude causes massively more problems than it solves. 1. You can always change later. Uber switched from Postgres to MySQL when they had already achieved massive scale. 2. You don't know what scaling problems you're going to get until you've scaled. 3. Systems designed to scale properly sacrifice other abilities in order to do that. You're actively hurting your velocity with this attitude. 4. Every single…
That said, the database is the one part of the system that is very tricky to evolve after the fact. Data migrations are hard. It's worth investing a little bit of time upfront to get it right.
Re: Things I hate about PostgreSQL (2020)
#44Earlier quoted context omitted.
I think I've heard a saying about this, something about premature optimisation...
Sure you shouldn't care about scaling at the beginning. But why should you start using a system that you already know won't scale in the future?
For a hobby project that might take off or might not, there's really no point in making everything "webscale"[0] just in case.
Re: Things I hate about PostgreSQL (2020)
#45Earlier quoted context omitted.
ffs, this attitude causes massively more problems than it solves. 1. You can always change later. Uber switched from Postgres to MySQL when they had already achieved massive scale. 2. You don't know what scaling problems you're going to get until you've scaled. 3. Systems designed to scale properly sacrifice other abilities in order to do that. You're actively hurting your velocity with this attitude. 4. Every single…
I am partial to the "don't solve problems you don't have" argument which holds true in a lot of cases. That said, the database is the one part of the system that is very tricky to evolve after the fact. Data migrations are hard. It's worth investing a little bit of time upfront to get it right.
Yes, which is exactly why you shouldn't go with a highly scalable database solution. All of the solutions for really big scale involve storing data in non-normalised form, which mean the pain of data migrations frequently while developing features.
Best to avoid this until you have to.
Re: Things I hate about PostgreSQL (2020)
#46Earlier quoted context omitted.
I am partial to the "don't solve problems you don't have" argument which holds true in a lot of cases. That said, the database is the one part of the system that is very tricky to evolve after the fact. Data migrations are hard. It's worth investing a little bit of time upfront to get it right.
> Data migrations are hard. Yes, which is exactly why you shouldn't go with a highly scalable database solution. All of the solutions for really big scale involve storing data in non-normalised form, which mean the pain of data migrations frequently while developing features. Best to avoid this until you have to.
Re: Things I hate about PostgreSQL (2020)
#47Earlier quoted context omitted.
ffs, this attitude causes massively more problems than it solves. 1. You can always change later. Uber switched from Postgres to MySQL when they had already achieved massive scale. 2. You don't know what scaling problems you're going to get until you've scaled. 3. Systems designed to scale properly sacrifice other abilities in order to do that. You're actively hurting your velocity with this attitude. 4. Every single…
ffs, this attitude causes massively more problems than it solves. I don't think that it causes so many problems to just use MySQL instead of Postgres from the very beginning of a project. I like using Postgres and I understand that I shouldn't care about scaling but if a make a good decision from the very beginning it can't hurt.
Re: Things I hate about PostgreSQL (2020)
#48Earlier quoted context omitted.
What's that system? MySQL? Are there any other OSS RDBMSes which are comparable and scale better?
I would only have thought of MySQL.
Re: Things I hate about PostgreSQL (2020)
#49Earlier quoted context omitted.
ffs, this attitude causes massively more problems than it solves. 1. You can always change later. Uber switched from Postgres to MySQL when they had already achieved massive scale. 2. You don't know what scaling problems you're going to get until you've scaled. 3. Systems designed to scale properly sacrifice other abilities in order to do that. You're actively hurting your velocity with this attitude. 4. Every single…
ffs, this attitude causes massively more problems than it solves. I don't think that it causes so many problems to just use MySQL instead of Postgres from the very beginning of a project. I like using Postgres and I understand that I shouldn't care about scaling but if a make a good decision from the very beginning it can't hurt.
For example, query your table „picture“ with a first column „uuid“ (varchar) with the following query:
SELECT * FROM picture WHERE uuid = 123;
I don‘t know what you expect, I expect the query to fail because a number is not a string. MySQL thinks otherwise.
Re: Things I hate about PostgreSQL (2020)
#50Had the same feeling when I was reading that thread. And has been for quite some time when the hype is over the top.
The problem is seemingly Tech is often a cult. On HN, mentioning MySQL is better at certain things and hoping Postgres improve will draw out the Oracle haters and Postgres apologist. Or they are titled in Silicon valley as evangelist.
And I am reading through all the blog post from the author and this [1] caught my attention. Part of this is relevant to the discussion because AWS RDS solves most of those shortcomings. What I didn't realise, were the 78% premium over EC2.
[1] RDS Pricing Has More Than Doubled
https://rbranson.medium.com/rds-pricing-has-more-than-double...