News for hackers. Stuff that matters.
Re:PostgreSQL is the worlds’ best database by Jonnax on Friday April 03, 2020 @03:15AM (#22766928)
This is advertising of course. But if I had to select an SQL DB postgres is my only choice.

Perhaps I don't know enough about databases and their differences.

Anyone have some pros and cons of others?

Like why would I pick MySQL, Microsoft, Oracle, Maria etc over Postgres?

Apart from support that you gotta pay for.

Re:PostgreSQL is the worlds’ best database by endymi0n on Friday April 03, 2020 @03:29AM (#22766993)
Having worked with dozens of different databases over lots of years, I can certainly say that Postgres is my go-to _default_ database over all the other relational ones.

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.

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.
Re:PostgreSQL is the worlds’ best database by ansible on Friday April 03, 2020 @10:37AM (#22769556)
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.
Re:PostgreSQL is the worlds’ best database by setr on Friday April 03, 2020 @01:09PM (#22771584)
And if not serial.. embarrassingly parallel
Re:PostgreSQL is the worlds’ best database by LunaSea on Friday April 03, 2020 @08:35AM (#22768535)
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.
Re:PostgreSQL is the worlds’ best database by juped on Friday April 03, 2020 @03:56AM (#22767109)
SQLite is also extremely useful, but it fills a different niche. (One of SQLite's slogans is "SQLite does not compete with client/server databases. SQLite competes with fopen().")
Re:PostgreSQL is the worlds’ best database by yjftsjthsd-h on Friday April 03, 2020 @09:29AM (#22768923)
> SQLite competes with fopen()

... and wins, which surprised me when I found out.

Re:PostgreSQL is the worlds’ best database by drdaeman on Friday April 03, 2020 @03:22AM (#22766963)
Replication, failover and high availability are complicated matters. I believe there are other SQL databases that may be said to handle this better than PostgreSQL.

At the very least, CockroachDB is much simpler to set up and manage. Cannot vouch for its stability and complexity of abnormal emergency recoveries, though - haven't used it long enough, only had simplest outages (that it had handled flawlessly).

Re:PostgreSQL is the worlds’ best database by xdanger on Friday April 03, 2020 @03:58AM (#22767120)
I've been following YugabyteDB ( https://www.yugabyte.com/ ) with interest for similar reasons. It's build on postgresql so it supports more features than CockroachDB. They just forked PG on top of their clustered document store. And the newest version (2.1) is production ready (their words).

Just haven't had the reason to dive in yet, but seems good. Their PR department just isn't as good as CockroachDBs one.

Re:PostgreSQL is the worlds’ best database by ksec on Friday April 03, 2020 @04:56AM (#22767402)
>Replication, failover and high availability are complicated matters.

I wonder why Postgre hasn't improved in these areas and instead leaving it to third party solution. I mean every year these few points are still listed as something that flavours MySQL.

Re:PostgreSQL is the worlds’ best database by nicoburns on Friday April 03, 2020 @06:20AM (#22767811)
It might be partly because Postgres is largely developed by the providers of "3rd-party" solutions for features like this. You could see it as an open-core model of sorts.
Re:PostgreSQL is the worlds’ best database by yxhuvud on Friday April 03, 2020 @08:44AM (#22768613)
Why are you saying they have not improved? That is flat out false - postgres provides a lot better tools for this now than 10 years ago. They still leave a lot of the plumbing to third parties, but they are now at least giving those third parties a lot better tools than they used to.
Re:PostgreSQL is the worlds’ best database by ksec on Friday April 03, 2020 @02:27PM (#22772521)
I think a more accurate way to put it, why isn't there any default solution? But I guess the Open Core model another comment pointed out makes sense.
Re:PostgreSQL is the worlds’ best database by pjc50 on Friday April 03, 2020 @10:12AM (#22769276)
Microsoft SQL Server is an obvious default choice if you're an all-Microsoft shop; it has all the Azure and Visual Studio integrations, etc. and comes with your MSDN.

Oracle is the choice of organisations with money to burn who don't believe that free products can be good. An Oracle installation nearly always comes with some consultants to write your application for you, and define your application for you, and write your invoices for you ...

Re:PostgreSQL is the worlds’ best database by mrweasel on Friday April 03, 2020 @04:16AM (#22767198)
I think the only reason I wouldn't choose Postgresql is if I need master-master replication.

It's not that you can't create a master-master setup using Postgresql, I believe 2ndquadrant have and add-on that allows this. It just feels like it's messing with the fundamentals of the database on such a low level that I really only trust it, if it's part of Postgresql it self.

Re:PostgreSQL is the worlds’ best database by yrro on Friday April 03, 2020 @06:26AM (#22767830)
Logical replication has been in PostgreSQL itself for a while now.

There are naturally caveats: sequences don't get replicated, so you need to configure each replica with a non-overlapping range for each sequence. And DDL statements are also not replicated, so you have to migrate database schemas by hand on each replica.

Re:PostgreSQL is the worlds’ best database by jeremyjh on Friday April 03, 2020 @10:23AM (#22769397)
Logical changeset extraction itself does not in itself provide a replication feature from what I can see of the wiki [1]. 2ndQuadrant sells BDR which is built on top of it.

[1] https://wiki.postgresql.org/wiki/Replication,_Clustering,_an...

Re:PostgreSQL is the worlds’ best database by anarazel on Friday April 03, 2020 @01:36PM (#22771959)
> Logical changeset extraction itself does not in itself provide a replication feature

It is however a building block for logical replication, and used by https://www.postgresql.org/docs/current/logical-replication....

> from what I can see of the wiki [1

I really wish we'd just shut off the wiki. There's random pages starting to be maintained by someone that then stops at some point. Leads to completely outdated content, as in this case.

Re:PostgreSQL is the worlds’ best database by onion2k on Friday April 03, 2020 @03:39AM (#22767029)
One of Postgres's biggest pros (over other commonly used dbs in web dev) is Row Level Security. Controlling what data a user can access at the database rather than the application or as part of a query makes the application logic a lot simpler. That's a big win.
Re:PostgreSQL is the worlds’ best database by BiteCode_dev on Friday April 03, 2020 @06:12AM (#22767770)
But that also means that:

- the code is not reusable outside of a database setting. So not cacheable.

- the code is not reusable accross different storage layers. So not portable.

- the code may needs updating if the schema change, you can't abstract that

- changing the logic means a db migration

- testing the code requires a DB

- tooling support to check that code si limited to SQL tooling, which is very weak, especially for code completion, refactor and debugging.

That's a lot of constraints for just making the application logic a lot simpler.

Re:PostgreSQL is the worlds’ best database by onion2k on Friday April 03, 2020 @10:04AM (#22769219)
the code is not reusable accross different storage layers. So not portable.

In my 23-and-a-bit years of web development I've literally never changed the database engine on a project. Maybe that happens on other people's projects, but it's not something I consider important or even useful really. The notion that you can swap out your database for a different one without changing the application code to take advantage of the db you're moving to is ludicrous. Of course your database code isn't portable.

Websites that used MySQL and Myisam tables with raw SQL statements written as strings in PHP for the first decade of the web is one of the reasons why so many web developers still don't use things like transactions, stored procedures, views, etc. That's a bit of a tragedy. The web would be much better today if everyone had been using Postgres's features from the beginning.

Re:PostgreSQL is the worlds’ best database by BiteCode_dev on Friday April 03, 2020 @12:25PM (#22770869)
If you write a project, you probably won't change the database. But you may add new data layer services such as a cache backend, a search engine with, a secret server, a session store, a permission micro service, etc. They will all interact with permissions and change where you source the data from.

Then there is the case where you don't write a project, but a lib. Or the case where you extract such a lib from a project. In that case, you limit the use case of your lib to your database. Because if you don't change database during your project life time, the users of your lib may start a new project with a different database.

This is why Django ORM allowed such a vibrant ecosystem: not because it allows changing the data base of one project (although it's nice to have and I used it several times), but also because it allow so called "django pluggable apps" to be database independant.

Re:PostgreSQL is the worlds’ best database by Deadron on Friday April 03, 2020 @12:22PM (#22770846)
I have never seen anybody migrate out of PostgreSQL, but I HAVE seen people migrate out of Oracle, and DB2 because they are so expensive its worth the cost to migrate.
Re:PostgreSQL is the worlds’ best database by bernawil on Friday April 03, 2020 @11:55AM (#22770534)

  I've literally never changed the database engine on a project
And some of us do it several times a day because we deploy to prod with Postgres but run testing and CI with SQLite.
Re:PostgreSQL is the worlds’ best database by Matrixik on Friday April 03, 2020 @12:28PM (#22770927)
Me too, until I found how fast Postgres is starting in Docker and for different languages there are now libraries helping you writing tests using Docker containers.
Re:PostgreSQL is the worlds’ best database by patrec on Friday April 03, 2020 @05:11PM (#22773993)
Well, you're doing it wrong. It's easy and fast to run tests against real postgres (takes a fraction of a second to spin up the DB for your tests if you do it right).
Re:PostgreSQL is the worlds’ best database by Joeri on Friday April 03, 2020 @07:02AM (#22767981)
I agree, but I also see the benefits from the other side, so I’ll play devil’s advocate:

- it is cached, in the database’s memory, where the cache can be invalidated automatically. It is better to cache views than data anyway.

- it is portable to every platform postgres runs, which in practice means it will run everywhere. Portability between databases is overrated because it rarely happens in practice.

- the access control logic evolves together with the schema, guaranteeing they have an exact correspondence. This is a good thing.

- integration tests should involve a live database

- have you looked at jetbrains datagrip?

Re:PostgreSQL is the worlds’ best database by BiteCode_dev on Friday April 03, 2020 @09:31AM (#22768943)
> it is cached, in the database’s memory, where the cache can be invalidated automatically. It is better to cache views than data anyway.

The cache may not be for the data in the data base, but for something else (task queue, calculation, user session, pre-rendering, etc). You effectively split your cache into several systems.

> it is portable to every platform postgres runs, which in practice means it will run everywhere. Portability between databases is overrated because it rarely happens in practice.

As I mentioned, for a project it doesn't matter. For a lib it does.

> the access control logic evolves together with the schema, guaranteeing they have an exact correspondence. This is a good thing.

Not always. Your access control logic could be evolving with your model abstraction layer, which frees you to make changes to the underlying implementation without having to change the control logic every time. It's also a good for your unit tests, as they are not linked to something with a side effect.

> integration tests should involve a live database

Integration tests are slow. You can run them as you develop.

> Have you looked at jetbrains datagrip?

It's fantastic. If you are willing to pay the price of it for and force it on your entire team. If you are on an open source project, will your expect that from all your contributors ?

High barrier of entry, with no modularity. Linters, formatters, debuggers, auto-importers, they all depend on that one graphical commercial product that is not integrated with your regular IDE and other tools.

Not to say it's not a good editor if you do write a lot of SQL, as JetBrains products are always worth their price.

Re:PostgreSQL is the worlds’ best database by sscarduzio on Friday April 03, 2020 @07:55AM (#22768260)
The tooling is just fine for me, DataGrip or not: I wrote a ton of PostgreSQL triggers and utility functions in Javascript thanks to the excellent plv8 (free) extension. Development and unit tests for these functions is as easy as plain Javascript.
Re:PostgreSQL is the worlds’ best database by BiteCode_dev on Friday April 03, 2020 @09:38AM (#22769004)
> Development and unit tests for these functions is as easy as plain Javascript.

Since most popular product in the JS world are product to avoid writing Javascript (webpack+babel, typescript, coffeescript, jsx, etc), and plv8 supports non of that nor does it support standard unit tests framework like Jest, I'm not convinced.

To make things even worst, remote debugging is not supported anymore: https://github.com/plv8/plv8/issues/131#issuecomment-2377111...

Re:PostgreSQL is the worlds’ best database by sscarduzio on Friday April 03, 2020 @10:45AM (#22769669)
I personally this time around, I found no need to even use a framework for unit testing a single javascript function.

If I had to do something that feels too complex, I'd write some interfaces in TypeScript to represent the tuples, then implement the function in TS, and compile it into plain JS in order to deploy it to plv8.

Re:PostgreSQL is the worlds’ best database by remus on Friday April 03, 2020 @08:24AM (#22768459)
It also means you need a per-user database connection which isn't feasible in many applications as the recommended number of concurrent connections is typically quite low.
Re:PostgreSQL is the worlds’ best database by chatmasta on Friday April 03, 2020 @08:38AM (#22768549)
Not necessarily. You can SET ROLE at beginning of transaction and DISCARD afterward. This is what postgraphile and postgrest do, for example.
Re:PostgreSQL is the worlds’ best database by remus on Friday April 03, 2020 @04:55PM (#22773866)
Oh cool, I didn't know that. Good to learn!
Re:PostgreSQL is the worlds’ best database by steve-chavez on Friday April 03, 2020 @11:51AM (#22770476)
postgrest actually does a `SET LOCAL ROLE`(transaction scoped, so no need to DISCARD), but yes, that's the gist of it.
Re:PostgreSQL is the worlds’ best database by BenjieGillam on Friday April 03, 2020 @10:07AM (#22769251)
This absolutely isn't required; I think you might be getting confused with RBAC rather than RLS. Handy infosheet: https://learn.graphile.org/docs/PostgreSQL_Row_Level_Securit...
Re:PostgreSQL is the worlds’ best database by devit on Friday April 03, 2020 @08:45AM (#22768622)
You can just change the user for every query.
Re:PostgreSQL is the worlds’ best database by jbergens on Friday April 03, 2020 @08:06AM (#22768331)
All times I have seen systems using db security as the main security solution they have gotten into a lot of problems later and most of them changed.
Re:PostgreSQL is the worlds’ best database by jsmith99 on Friday April 03, 2020 @11:17AM (#22770068)
MS SQL has row level security too.
Re:PostgreSQL is the worlds’ best database by willvarfar on Friday April 03, 2020 @04:42AM (#22767336)
The main reason I use MySQL over Postgres is storage engines. MySQL has storage engines with transparent compression, which allow me to keep an order of magnitude more data than using Postgres. These days its MyRocks, in the past it was TokuDB.

Historically Postgres has thought that the job of the file system, which is basically a bad choice for dbs. MyRocks wipes the floor with it.

TimescaleDB is an interesting new Postgres storage choice. I'm evaluating it. But the free version doesn't do compression on-demand nor transparently. Anyway, it can only get better.

Re:PostgreSQL is the worlds’ best database by mfreed on Friday April 03, 2020 @11:49PM (#22776069)
Hi @willvarfar: Just to avoid any confusion, TimescaleDB's compression is available in our community edition, which is fully free to use. Once you specify some compression configs, it's automated and transparent.

https://www.timescale.com/products/features https://docs.timescale.com/latest/using-timescaledb/compress...

(The "community" edition is available under our Timescale License. It's all source available and free-to-use, the license just places some restrictions if you are a cloud vendor offering DBaaS.)

Re:PostgreSQL is the worlds’ best database by willvarfar on Saturday April 04, 2020 @05:51AM (#22777304)
The cool thing about timescaledb is that timescale not Postgres controls the partitions, so who says they all have to be done the same way?

In my use cases I have got recent partitions that are upsert heavy, so row-based works best. But as the partitions age, column-based would be better. What every DB seems to force me to do is use the same underlying format for all partitions. What I’d like is a storage engine that automates everything; instead of me picking partition size, it picks on the fly and makes adjustments. Instead of me picking olap vs oltp, it picks and migrates partitions over time etc.

Re:PostgreSQL is the worlds’ best database by mfreed on Saturday April 04, 2020 @11:02PM (#22783410)
TimescaleDB mostly does exactly that: Recent data/partitions are maintained in row-based form, and after they reach some age, they are converted into more columnar compressed form.
Re:PostgreSQL is the worlds’ best database by rrickardt on Friday April 03, 2020 @07:50AM (#22768236)
Postgres with timescaledb extension (community) along with zfs compression works flawless for me. Different approach than Myrocks, but worth a try!
Re:PostgreSQL is the worlds’ best database by willvarfar on Friday April 03, 2020 @09:31AM (#22768948)
Have you tried using the timescaledb compression instead of zfs? And how does this compare to uncompressed and to native Postgres tables?

I think that if timescaledb can support time-based or mru-based compression and even row-store partitions then it would take things to the next level.

Re:PostgreSQL is the worlds’ best database by mfreed on Friday April 03, 2020 @11:52PM (#22776079)
You've probably seen this, but reposting:

https://blog.timescale.com/blog/building-columnar-compressio...

Our own experience was that most users were getting 3-6x compression running TimescaleDB with zfs.

With our native compression -- which does columnar projections, where a type-specific compression algorithm is applied per column -- we see median compression rates across our users of 15x, while 25% of our users see more than 50x compression rates.

Re:PostgreSQL is the worlds’ best database by wlll on Friday April 03, 2020 @06:03AM (#22767715)
Do these satisfy the compression requirement?

https://stackoverflow.com/questions/1369864/does-postgresql-...

Re:PostgreSQL is the worlds’ best database by ddorian43 on Friday April 03, 2020 @06:14AM (#22767785)
No. LSM/Rocksdb databases do "block compressions". Even better is dynamic dictionary compression: https://github.com/facebook/rocksdb/wiki/Dictionary-Compress...
Re:PostgreSQL is the worlds’ best database by willvarfar on Friday April 03, 2020 @08:28AM (#22768481)
No, that's a compressed row format, not a compressed block format.

MySQL's innodb, for example, supports per-row-compression. Its completely ineffective. Block compression in tokdub and myrocks etc is a completely different class.

MySQL's innodb also supporta kind of 'page compression' using the file-system's sparse pages. Its also naff.

The closest postgres can get is using zfs with compression. Its a lot better than nothing.

Re:PostgreSQL is the worlds’ best database by wlll on Friday April 03, 2020 @01:25PM (#22771809)
Yeah, one of the suggestions on that page was a compressed filesystem.
Re:PostgreSQL is the worlds’ best database by jbergens on Friday April 03, 2020 @08:11AM (#22768368)
SQL Server can also do storage compression. I assume Oracle can too. It used to be that the commercial offerings had the most advanced features first and the OSS systems copied them later.
Re:PostgreSQL is the worlds’ best database by timmy-turner on Friday April 03, 2020 @03:39AM (#22767026)
I did use MySQL/MariaDB in production for a couple of years, and now I'm using Postgres.

PG sure seems to have better foundations and generally a more engineered approach to everything. This leads to some noteworthy outcomes in the tooling or the developer UX, for example: PG won't allow a union type (like String or Integer) in query arguments. PGs query argument handling is rather simple (at least the stuff provided with libpq), it only allows positional arguments.

Sometimes, MySQL by extending or bending SQL here and there allows for some queries to be written terser, like an update+join over multiple tables. Also I did actually enjoy that MySQL had less advanced features, so it seemed to be easier to reason about performance and overall behaviour.

Re:PostgreSQL is the worlds’ best database by jabl on Friday April 03, 2020 @03:27AM (#22766979)
Well, (unfortunately) plenty of applications support only one DB backend. For FOSS software, MySQL/MariaDB support is very common, and even if those apps support pgSQL it might be that pgSQL support is not as robust and well-tested as mysql.

And in plenty of situations, sqlite is perfectly adequate, and saves you from the extra work of managing yet another service.

But yes, I agree if I'd start from a blank sheet and need a network-accessible SQL DB, pgSQL would be my first choice. Now if I had some very high end requirements, maybe one of those big commercial DB's would have an advantage.

Re:PostgreSQL is the worlds’ best database by m0skit0 on Friday April 03, 2020 @04:01AM (#22767128)
Yahoo uses PostgreSQL. I think that's pretty high-end requirements an debunks the myth of "commercial software is better for high end requirements".
Re:PostgreSQL is the worlds’ best database by redis_mlc on Friday April 03, 2020 @04:49AM (#22767374)
First of all, Yahoo historically used Oracle Enterprise and MySQL for RDBMS, roughly 50% each.

Large companies use some of everything, but I never saw PG in use there.

Re:PostgreSQL is the worlds’ best database by mulmen on Friday April 03, 2020 @05:42AM (#22767621)
Re:PostgreSQL is the worlds’ best database by redis_mlc on Friday April 03, 2020 @06:17AM (#22767798)
No, it wasn't legendary.

That's just one data warehouse application.

The one I administered, just as big, was Saturn. And it was MySQL.

Source: worked at Yahoo, saw way more MySQL than PG.

Re:PostgreSQL is the worlds’ best database by mulmen on Friday April 03, 2020 @06:30AM (#22767845)
You just said you never saw Postgres at Yahoo. Yet Yahoo had possibly the world’s largest Postgres installation. I consider that legendary. I’ve certainly been aware of it for over a decade. It was also an early (?) columnar store which is now commonplace among OLAP databases. Seems like if it didn’t start a trend it was at least an early adopter. I’d say that’s legendary too. Even today the scale is impressive.

Now you say you did see some Postgres but there was more MySQL. Fine, you were there, I’ll take your word for it. But I can’t reconcile your own statements on this. Yahoo very clearly used Postgres.

You ran a 2PB MySQL install. Cool, I’d love to hear about that, truly. Do you have any written accounts or talks about that?

Re:PostgreSQL is the worlds’ best database by jacques_chester on Friday April 03, 2020 @12:26PM (#22770898)
I believe the database described is Greenplum[0], which was a fork of PostgreSQL at 8.3, I think. It handles truly enormous datasets.

There's been an ongoing multi-year project to merge Greenplum up to the mainline so that it's no longer a hard fork.

Disclosure: I work for VMware, which sponsors development and sells commercial offerings of Greenplum.

[0] https://greenplum.org/

Re:PostgreSQL is the worlds’ best database by mulmen on Friday April 03, 2020 @02:28PM (#22772533)
The article says Yahoo bought Mahat Technologies for their columnar version of Postgres. That sounds similar to Redshift or Greenplum but I think it is different. I can’t find a clear history of Greenplum’s origins or what happened to Mahat. Looks like Redshift came from ParAccel which was a separate project. From what I can find there were a lot of similar projects at the time.
Re:PostgreSQL is the worlds’ best database by DeathArrow on Friday April 03, 2020 @07:11AM (#22768022)
We picked SQL server by Microsoft for one of our projects because it was easier to integrate it when we started (ASP.NET core 2.0) and it has very nice tools like SSMS, better than DBeaver. For a new project we picked Postgres. We might in the future use any of the two.

We also have other DB tech in the company: Teradata, Oracle, Redis, Cassandra.

Re:PostgreSQL is the worlds’ best database by neop1x on Sunday April 05, 2020 @07:23PM (#22789583)
I am quite surprised MySQL or MariaDB is not mentioned more. It seems like a standard to me. Almost every serious software supports it. Of course it doesn't have some extra features like GIS but for generic RDB it performs well. And there is also Galera cluster btw...
Re:PostgreSQL is the worlds’ best database by JacKTrocinskI on Friday April 03, 2020 @05:35AM (#22767592)
Oracle is currently moving in the direction of autonomous databases. It's no longer just about having great automation features but about the database being able to do things for you like create or drop an index in order to improve ETL performance, and it's all done autonomously.
Re:PostgreSQL is the worlds’ best database by jbergens on Friday April 03, 2020 @08:13AM (#22768387)
SQL Server also has some parts of that. Will probably be expanded in the future.
Re:PostgreSQL is the worlds’ best database by redwood on Friday April 03, 2020 @07:00AM (#22767974)
Oracle has not managed the shift to cloud so if you look at where the puck is going, it's moving away from Oracle.
Re:PostgreSQL is the worlds’ best database by JacKTrocinskI on Friday April 03, 2020 @07:18AM (#22768050)
Oracle has their own cloud platform and a great database to go along with it, if anything history has shown us that Oracle is able to adapt their database offerings to cater to current enterprise needs and I think this time will be no different.
Re:PostgreSQL is the worlds’ best database by redwood on Friday April 03, 2020 @07:25PM (#22774895)
The database is not the cloud platform. There is a lot of gravity there but it's not enough.
Re:PostgreSQL is the worlds’ best database by kube-system on Friday April 03, 2020 @10:57AM (#22769812)
The largest enterprise SaaS application in the world runs on Oracle.
Re:PostgreSQL is the worlds’ best database by redwood on Friday April 03, 2020 @07:26PM (#22774900)
Is that application built and sold by Oracle as well?
Re:PostgreSQL is the worlds’ best database by kube-system on Saturday April 04, 2020 @10:53AM (#22778545)
No
Re:PostgreSQL is the worlds’ best database by redwood on Saturday April 04, 2020 @11:27AM (#22778782)
What app, out of curiosity? SFDC?
Re:PostgreSQL is the worlds’ best database by kube-system on Saturday April 04, 2020 @11:51AM (#22778970)
You guessed it.
Re:PostgreSQL is the worlds’ best database by redwood on Saturday April 04, 2020 @11:27AM (#22778781)
What app, out of curiosity?