The tragedy of SQL

From: Guyren Howe <guyren(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: The tragedy of SQL
Date: 2021-09-14 05:31:41
Message-ID: d61c6062-32ae-4892-8993-9ad932e10b91@Spark
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A fun philosophical discussion.

I am no fan of “worse is better”, and particularly its poster child, SQL.

The world’s economic output would be substantially higher (5%?) if our industry had settled on almost anything other than SQL for relational databases.

So much of the design of *almost everything* in our industry is a reaction to SQL. ORMs fucking *everywhere* so you don’t have to use SQL. Bad query and database design. Inefficient system designs that use ORMs rather than relations. NoSQL databases. Countless hours on hours of developer time trying to work out how to write something in SQL that would be trivial in, say, Datalog.

If I had $5 million to invest in a startup, I would hire as many of the core Postgres devs as I could to make a new database with all the sophistication of Postgres but based on Datalog (or something similar). (Or maybe add Datalog to Postgres). If that could get traction, it would lead in a decade to a revolution in productivity in our industry.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guyren Howe 2021-09-14 05:51:54 Re: The tragedy of SQL
Previous Message Ben Chobot 2021-09-13 22:10:46 To JIT (or not!) in Ubuntu packages