Re:PostgreSQL is the worlds’ best database
by guiriduro on Friday April 03, 2020 @04:43AM
(#22767342)
I wouldn't say PostgreSQL was the analogue of golang: go's initial popular growth for being 'good enough' while being arguably oversimplified, where simplicity masks problems, under the pretence that YANGNI always applies (initial N emphasizing the Not of Aren't), seems much closer to MySQL's history.
PG was driven by engineering correctness, by considering what DBAs 'Are Going to Need'. Sometimes that strictness worked against popular growth but in the end it has worked out well, as many programmers figured out they also needed it. I'd say the programming language analogue would likely be Rust, lets see in 10 years where the 90% case lies.
Re:PostgreSQL is the worlds’ best database
by KptMarchewa on Friday April 03, 2020 @10:18AM
(#22769335)
Rust is too complicated for 90% cases. 90% of cases are simpler with GC.
Re:PostgreSQL is the worlds’ best database
by jansense on Friday April 03, 2020 @11:14AM
(#22770042)
I'd argue that what you're saying is true, in its current state. High-level Rust libraries take longer to write, and so they don't exist yet. As soon as Rust gets more powerful tools that abstract away the work, I suppose it might alleviate a large part of the churn.
Rust is more complicated than some languages with GC.
However, if you are writing some code with multi-threading (who isn't these days), then you may eventually want the help Rust gives you there as far as correctness goes.
Re:PostgreSQL is the worlds’ best database
by jfkebwjsbx on Friday April 03, 2020 @11:25AM
(#22770171)
Multithreading is only needed in very few fields. Multiprocessing is way easier and works fine for most. And the majority of programmers still only need to write serial code.
And if not serial.. embarrassingly parallel
Could you expand on the issues with PostgreSQL full text search for Korean?
I'b be interested to know about the limits of the full text feature.
Re:PostgreSQL is the worlds’ best database
by andrewflnr on Friday April 03, 2020 @10:14AM
(#22769297)
I'm interested in why you would choose Scylla over Cassandra. Does it have advantages/differences besides performance? I remember Scylla being approximately a C++ rewrite of Cassandra, but lost track of the community opinion of them.
Re:PostgreSQL is the worlds’ best database
by manigandham on Friday April 03, 2020 @03:31PM
(#22773160)
ScyllaDB is far faster, more stable, and requires less config, maintenance and tuning. There's no reason to use standard Cassandra unless you need it for compatibility.
Re:PostgreSQL is the worlds’ best database
by innocentoldguy on Friday April 03, 2020 @03:38PM
(#22773219)
What issues are you having with Korean indexing? I work with Japanese data in PostgreSQL all the time and have never noticed any issues. Japanese is more complicated that Korean, in my opinion.
In the same way that Golang claims it's the 90% language ( https://talks.golang.org/2014/gocon-tokyo.slide#1 ), I'd say Postgres is the perfect 90% database.
However, we're still using at least four other databases in production, and the reason why is that because it's doing something of everything, there are lots of niches that it doesn't fill well. It's all about tradeoffs.
If you've got a Full Text Search problem, PG is "good enough", that is until you need to index more challenging languages like Korean or need more exotic scoring functions. For that, Elastic is better.
You can do small scale analytics on PG, but at larger sizes, the transactional setup gets in the way and you're better off with BigQuery/Redshift/Snowflake.
You can scale vertical pretty big these days, but if you need linear scalability while still guaranteeing single digit ms access, you're better off with ScyllaDB.
However, there isn't a single project I wouldn't not start on a Postgres these days, that's how much I love it.