Path: ...!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 28 Oct 2024 04:58:34 +0000 Subject: Re: The joy of Ada Newsgroups: comp.os.linux.misc References: <20241021075543.00000494@gmail.com> <20241021151652.00005675@gmail.com> <20241022095931.00001d38@gmail.com> <20241022144815.00007ea5@gmail.com> <20241022153631.00002ec9@gmail.com> From: "186282@ud0s4.net" <186283@ud0s4.net> Organization: wokiesux Date: Mon, 28 Oct 2024 00:58:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: Lines: 29 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 99.101.150.97 X-Trace: sv3-6HUCQxdtDhlZiqsiynGVmT72RcSSAzdQ+h2mBWXKi4fM2kXuNnwF7yplMzCPLdB7mQp2ZAQ79HkWG/d!G5tvzABBWZJ6Pb570GETL3/EcWEnshhFd0UewicYqZM7RMtE8ipyyZv5jTJy4h+6GKpwvXpA04T7!3NMNTYp2ShqnajJv0BZV X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3530 On 10/27/24 5:30 PM, Lawrence D'Oliveiro wrote: > On Sun, 27 Oct 2024 09:46:15 +0000, The Natural Philosopher wrote: > >> I never bothered learning the more arcane side of SQL because if I ever >> managed to get the query right, it was always so abysmally slow that it >> was quicker to use a series of simple queries and join them together in >> application code rather than SQL > > I have found quite the opposite. Remember that, the more information you > put in the query up front, the more clues you give to the query optimizer. Long back I did extensive development on a PICK-OS based DB called 'Revelation'. It DID do an early version of SQL. It was used for over a decade. HOWEVER you never used the SQL beyond the top-level selections because it was too slow. Thereafter you used the "advanced" functions - hidden in the back of the manuals - to access the indexes and sorting routines and such - because they were ten or even 100 times quicker. Oh, they still sell 'Revelation' - DOS based - for about $300 ... but no support. Nice really, integrated WYSIWYG text-screen form builder too. Yes you CAN build a sophisticated query using SQL - but the syntax is TERRIBLE, hyper-prone to error, oft just un-readable - and the speed is still bad. Intelligently join yer OWN damned sets with proper code.