We're writing a postgres-compatible database that doesn't use any postgres code: https://github.com/dolthub/doltgresql/ We're doing this because our main product (Dolt) is MySQL-compatible, but a lot of people prefer postgres. Like, they really strongly prefer postgres. When figuring out how to support them, we basically had three options: 1) Foreign data wrapper. This doesn't work well because you can't use non-nati…
I can totally understand this. Your feature set isn’t compelling enough for me to switch to MySQL when, as the original article states, Postgres basically does everything under the sun, well enough that I can keep my stack simple. But if it allows me to use my existing Postgres tools, drivers, code, and knowledge then I’d consider it.
Postgres is eating the database world
131–140 of 147 posts
Re: Postgres is eating the database world
#132Earlier quoted context omitted.
That feels a bit like hindsight talking. Linux perhaps, but were Python and Postgres really the obvious good judgement choices 25 years ago? Every other choice was poor judgement?
Around 20 years ago when I was trying to decide on what database to use my requirement were that it should store data reliably. I learned that MySQL in contrast to PostgreSQL: 1. wasn't ACID 2. didn't have foreign key constraints 3. could loose/corrupt committed data (no WAL) Despite me not knowing much about databases it seemed like an obvious choice.
Postgres has been great all around.
Re: Postgres is eating the database world
#133Earlier quoted context omitted.
> Some ancient design decisions have aged poorly, such as its one connection per process model Oracle uses the same model by default on Linux. Since 19 (or maybe earlier) it is configurable though, but the default is still one process per connection if I'm not mistaken.
It's actually quite impressive they were willing & able to make such a drastic change in such an old and conservative codebase.
Re: Postgres is eating the database world
#134Re: Postgres is eating the database world
#135Earlier quoted context omitted.
Around 20 years ago when I was trying to decide on what database to use my requirement were that it should store data reliably. I learned that MySQL in contrast to PostgreSQL: 1. wasn't ACID 2. didn't have foreign key constraints 3. could loose/corrupt committed data (no WAL) Despite me not knowing much about databases it seemed like an obvious choice.
Hell, 10 years ago (in a multi database project) I got bit by MySQL not supporting check constraints, but returning successfully when I ran the create check constraint statements. Postgres has been great all around.
Re: Postgres is eating the database world
#136Postgres is still single-node-first, and while Citus exists I'm skeptical that it can ever become as easy to administer as a true HA-first datastore. For me the reason to use something like Cassandra or Kafka was never "big data" per se, it was having true master-master fault tolerance out of the box in a way that worked with everything.
You should look at CocroachDB: it tries to be PG compatible (not there yet), but true HA-first.
Re: Postgres is eating the database world
#137Earlier quoted context omitted.
You should look at CocroachDB: it tries to be PG compatible (not there yet), but true HA-first.
At often 10x the latency and significant query compatibility issues. That's a hard pill to swallow
Re: Postgres is eating the database world
#138I would like to keep my data in Postgres (OLTP purposes), but run analytical queries against the same datafiles in Snowflake/DuckDB fashion. The analytics part should scale independently. Often this is only needed occasionally, so scale-to-zero (like Snowflake) would be great.
Clickhouse supports it too https://clickhouse.com/docs/en/sql-reference/table-functions...
Re: Postgres is eating the database world
#139Postgres is such a great tool. The feature I'd love to see added that has been kicking around the mailing list for ages now would be incremental view maintenance. Being able to keep moderately complex analysis workloads fresh in realtime would be such a boon.
Re: Postgres is eating the database world
#140Earlier quoted context omitted.
Well 25 years ago was pretty much (December 1998) when "LAMP"[1] was defined and that was originally Linux, Apache, MySQL and PHP. So Postgres and Python were not the obvious choices back then. [1] https://en.wikipedia.org/wiki/LAMP_(software_bundle)
Still, by 15 years ago Linux, Nginx, Postgres, Python had become a clearly better choice than the default LAMP stack for more complex applications.