🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9422

Re: SQL and INN

#9422
From: neal
Date: Thu, 18 Jul 1996 00:00
77 lines
4341 bytes
In article <4s96sp$40m@kairos.algonet.se>,
Erland Sommarskog <sommar@kairos.algonet.se> wrote:
>
>Evan Champion <evanc@synapse.net> writes:
>>I could see it being more feasable redoing the entire INN structure
>>as a real database server with database clients to handle the actual
>>reception and transmission of articles.
>
>Ah, my favourite project! Implementing a news server using an RDBMS.
>If I didn't have all those other things to do, including work, this
>would be a project that I would gladly waste my time on.
>
>>Having a the news server core be a real database server opens
>>news up to things like full text searching etc. _at the local
>>level_ and would make it easier to tie news in with other
>>services because there would be a common middle language.  I
>>suppose you could then use any SQL client you wanted to talk
>>to a news server.
>
>This has been covered by other people already. I think only a
>handful of people would use SQL directly to talk to the database;
>those who know SQL and who know the data model. For them however,
>it would be a very powerful tool.
>
>Most casual users would want to use some query capability built
>into their newsreader - or a query tool that knows all about the
>data model of the news system.
>
>>One potentially interesting part of this would be that since
>>the database server would be an "off the shelf product" (all
>>the development would only be on the database client side),
>>not only would INN be smaller and simpler so that perhaps
>>updates could come faster, but if there was some "standard"
>>way to talk to database servers on UNIX, you could potentially
>>shove in whatever database server you wanted, so that those
>>who wanted to spend the money for Oracle could do so while
>>the rest of us use a publicly available server.
>
>My experience of RDBMS is that you can be portable, but it is not
>at all easy. Least of all if performance is an issue. Evan suggests
>that all could be done on the SQL client side, but unfortunate there
>is a penalty for that. My experience of RDBMS is mainly with Sybase
>and Mircosoft SQL Server. Both offer stored procedures - as all
>major commercial DBMS do these days, I believe - and trust me, you
>will need them. To wit, you are going to make a lot of insertions
>into the database, and it is on these short insert operations that
>the stored procedures saves you a lot of time.
>
>When it comes to complex running queries, as expire would be, it
>matters little if the query originates from the client or exists
>in a stored procedure. What matters though, is where transient
>data is stored. Now, I don't know how an RDBMS expire would look
>like, but I often find when writing other RDBMS stuff - that's the
>way I earn my daily bread - that I need to make some primary selection
>of data, and then proceed to work with that. This data needs to
>be stashed away somewhere. Yes, you can put the controlling algo-
>rithm in the client and send all that data forth back between
>client and server, but you are not get blazing speed for that.
>Instead you would be better off using temporary tables, which is
>a feature available in Sybase and MS SQL Server, but, again maybe
>not in all RDBMSs.
>
>In short, I don't think that it's realistic to build an INN server
>into which you could plug any RBDMS, if you want good performance.
>
>
>[Posted and mailed]
>-- 
>Erland Sommarskog, Stockholm, sommar@algonet.se
>De klant heeft altijd recht - Nederl�ndskt ordspr�k.

I'd love to see a version which at least stored the article headers
in an RDBMS, preferably an Informix Online DSA 7.xx database.
The bodies of the articles can stay in flat files.   

Technical Details
Message-ID: <4smv9n$8lq@excelsior.flash.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4qs8mb$abu@fugue.clari.net> <4rcvg3$1mo@imp.serv.net> <31DA615C.7C66@synapse.net> <4s96sp$40m@kairos.algonet.se>

Show Full Headers
Complete Article Headers
Message-ID: <4smv9n$8lq@excelsior.flash.net>
Subject: Re: SQL and INN
Date: Thu, 18 Jul 1996 00:00:00 +0000
From: neal@flash.net
References: <4qs8mb$abu@fugue.clari.net> <4rcvg3$1mo@imp.serv.net> <31DA615C.7C66@synapse.net> <4s96sp$40m@kairos.algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 168787877
Organization: FlashNet Communications
Newsgroups: news.software.nntp