Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQfIx-0006qH-F3 for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 00:31:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQfIw-0006XT-DR for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 00:31:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQfIw-0006XL-3d for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 00:31:06 +0000 Received: from server.fairwindsoft.com ([216.137.189.239]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQfIs-0005vZ-Ha for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 00:31:05 +0000 Received: from smtpclient.apple (c-73-3-0-227.hsd1.ks.comcast.net [73.3.0.227]) by server.fairwindsoft.com (Postfix) with ESMTPSA id BDAC98A0CC; Wed, 15 Sep 2021 19:30:58 -0500 (CDT) From: FWS Neil Message-Id: <0772DCF3-D60F-4102-B031-9F7908718499@fairwindsoft.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_DBC87E2A-66A7-4E03-A63C-031211CF2763" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: The tragedy of SQL Date: Wed, 15 Sep 2021 19:30:57 -0500 In-Reply-To: Cc: Michael Nolan , Rob Sargent , "pgsql-generallists.postgresql.org" To: Merlin Moncure References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_DBC87E2A-66A7-4E03-A63C-031211CF2763 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Sep 15, 2021, at 2:44 PM, Merlin Moncure = wrote: >=20 > On Tue, Sep 14, 2021 at 3:16 PM FWS Neil > wrote: >>=20 >>> On Sep 14, 2021, at 11:10 AM, Michael Nolan = wrote: >>>=20 >>> I started programming in 1967, and over the last 50+ years I've = programmed in more languages than I would want to list. I spent a = decade writing in FORTRAN on a GA 18/30 (essentially a clone of the IBM = 1130) with limited memory space, so you had to write EFFICIENT code, = something that is a bit of a lost art these days. I also spent a decade = writing in COBOL. >>>=20 >>> I've not found many tasks that I couldn't find a way to write in = whatever language I had available to write it in. There may be bad (or = at least inefficient) languages, but there are lots of bad programmers. >>=20 >> Yep, me too. I would say that SQL has not achieved its design goals = yet. The original concept was to write what you want to achieve and = have the server figure out the best way to get at it. >>=20 >> What people hate about SQL is that the programmer has to optimize SQL = to get acceptable performance. And the optimization is different for = every implementation. I think SQL has not hit its stride yet. When the = common $1000 server has 1024+ CPUs and 1+TB memory, and SQL = implementations have adopted good multithreading architecture with = access to 1024+ CPU dedicated AI engines, etc. a lot of the crap = associated with performant SQL will go away. >>=20 >> At this point, I think it will be smart to strip out implementation = details that have made it into the SQL syntax. There will no longer be = a need for it. This will make the SQL language simpler and easier to = use, understand, and reason about. >=20 > I think you ought to recognize that many people on this list make > money directly from managing that complexity :-). >=20 I did not intend to disparage anyone. People, including myself, make = money when they provide value and there is certainly value here. But, I am not sure I understand your inference. Are you saying (and I = am not implying you are) that PostgreSQL does not progress in line with = the original SQL goals of simplifying data access because people are = making money off of the current complexity? My only point was that SQL was originally conceived to free the = programmer from implementation details. Today, after 47 years, it still = has not achieved that goal. As computers get more powerful, of course, = they will process more data, but they also have the option of moving = more of the implementation decision making away from the programmer to = let the machine figure out the best way to handle the request. = Therefore, I do not think SQL has hit its stride yet. Programmers create a dozens of new languages every 10 years or so. Only = a few have stood the test of time. SQL is one of those. For all its = faults, it still is amazingly powerful. Neil www.fairwindsoft.com --Apple-Mail=_DBC87E2A-66A7-4E03-A63C-031211CF2763 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Sep 15, 2021, at 2:44 PM, Merlin Moncure <mmoncure@gmail.com> = wrote:

On Tue, Sep 14, 2021 at 3:16 PM FWS Neil <neil@fairwindsoft.com> = wrote:

On Sep 14, 2021, at = 11:10 AM, Michael Nolan <htfoot@gmail.com> wrote:

I = started programming in 1967, and over the last 50+ years I've programmed = in more languages than I would want to list.  I spent a decade = writing in FORTRAN on a GA 18/30 (essentially a clone of the IBM 1130) = with limited memory space, so you had to write EFFICIENT code, something = that is a bit of a lost art these days.  I also spent a decade = writing in COBOL.

I've not found many tasks = that I couldn't find a way to write in whatever language I had available = to write it in.  There may be bad (or at least inefficient) = languages, but there are lots of bad programmers.

Yep, me too.  I would say = that SQL has not achieved its design goals yet.  The original = concept was to write what you want to achieve and have the server figure = out the best way to get at it.

What people = hate about SQL is that the programmer has to optimize SQL to get = acceptable performance.  And the optimization is different for = every implementation.  I think SQL has not hit its stride yet. =  When the common $1000 server has 1024+ CPUs and 1+TB memory, and = SQL implementations have adopted good multithreading architecture with = access to 1024+ CPU dedicated AI engines, etc. a lot of the crap = associated with performant SQL will go away.

At this point, I think it will be smart to strip out = implementation details that have made it into the SQL syntax. =  There will no longer be a need for it. This will make the SQL = language simpler and easier to use, understand, and reason about.

I think you ought to recognize that many people on this list = make
money = directly from managing that complexity :-).


I did not = intend to disparage anyone.  People, including myself, make money = when they provide value and there is certainly value here.

But, I am not sure I understand your inference. =  Are you saying (and I am not implying you are) that PostgreSQL = does not progress in line with the original SQL goals of simplifying = data access because people are making money off of the current = complexity?

My only point was that = SQL was originally conceived to free the programmer from implementation = details.  Today, after 47 years, it still has not achieved that = goal.  As computers get more powerful, of course, they will process = more data, but they also have the option of moving more of the = implementation decision making away from the programmer to let the = machine figure out the best way to handle the request.  Therefore, = I do not think SQL has hit its stride yet.

Programmers create a dozens of new languages every = 10 years or so.  Only a few have stood the test of time.  SQL = is one of those.  For all its faults, it still is amazingly = powerful.

Neil

= --Apple-Mail=_DBC87E2A-66A7-4E03-A63C-031211CF2763--