Article View: news.software.nntp
Article #9697Re: SQL and INN
From: Jeffrey C. Ollie
Date: Sun, 28 Jul 1996 00:00
Date: Sun, 28 Jul 1996 00:00
101 lines
5501 bytes
5501 bytes
-----BEGIN PGP SIGNED MESSAGE----- On Sat, 27 Jul 1996 22:24:11 GMT, Erland Sommarskog <sommar@algonet.se> wrote: >jollie@worf.netins.net (Jeffrey C. Ollie) wrote: >>In article <4s96sp$40m@kairos.algonet.se>, Erland Sommarskog wrote: >>>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. >> >>My thought was that external clients (news readers and feeders) would >>be presented with an NNTP interface. Actual access to the direct SQL >>interface would be limited to server software. > >Well, certainly the old protocol must be preserved for compatibility. >And I can see no reasons why feeds should talk anything but NNTP >with each other. Certainly you don't want an external host writing >data directly in to your database! And the same applies when people' >post. > >However, I can well envision news readers taking direct advantage of >the database interface in order to provide advanced search >capabilities. Then again, that presumes that the data model is >stable, or at least that there is a documented interface of stored >procedures. (But given the dynamic nature of these queries, a stored >procedure interface would reduce functionality quite a lot.) I doubt that news readers that access the database directly rather than through a NNTP front-end will see much use. I don't believe that different vendor's implementations (or even different versions from the same vendor) are compatible enough that it wouldn't take rewriting a lot of code when you switch RDBMSs. It could be construed as a good thing that news readers would only have access to a NNTP front end. For one thing, you douldn't need a different news reader for each server. Server authors would also be free to change the internal structure of the database if needed. That's what standardized protocols are for. >And I don't mind letting experienced SQL users accessing the database >directly through an interactive SQL tool. On the other hand, allowing direct access to the database makes *absolutely no difference* as long as a NNTP front end is provided for feeds and readers. >>Yes, you'd probably have to have different software for each different >>flavor of SQL server. I don't think that that's really a problem. If >>you can get more performance than you can with current implementations >>there are probably more than a few sites that would invest in the >>appropriate RDBMS. > >Yes, provided we really get better performance. To be honest I have no >idea where we would land performancewise. After all a database server >includes a lot of functionality that we don't need. What we would gain >is that we could dig out all sorts of statistics with an impressive >speed, for instance: how many articles from Joe User do I have on the >system right now? But what would happen to the throughput of the >constant chewing with storing article, I don't know. But it might as >it was suggested in an other articles, that one should not store the >bodies in the database, only the header information. Storing article bodies outside of the database would somewhat limit the usefulness of pure SQL tools - they would not be able to search article bodies. I think that until there is more experience implementing a news server with a RDBMS there is little to say about performance. I _believe_ that a well-implemented RDBMS-based news server would perform better than a filesystem-based news server but I have no proof. Unfortunately I am not in a position to investigate further because I do not have access to the appropriate tools. If someone wants to give me an AlphaServer 1000 running Digital UNIX and a copy of Oracle v7 I'd be happy to start working on it though. [A copy of the headers are included here so that they can be signed.] Date: Sun, 28 Jul 1996 23:14:42 -0500 Followup-To: Newsgroups: news.software.nntp Organization: INS Info Services, Des Moines, IA, USA References: <4qs8mb$abu@fugue.clari.net> <4r9oq3$1o8$1@bushwire.mira.net.au> <4rcvg3$1mo@imp.serv.net> <31DA615C.7C66@synapse.net> <4s96sp$40m@kairos.algonet.se> <slrn44ukltk.ohl.jollie@worf.netins.net> <4te52n$2vj@fizban.solace.mh.se> Subject: Re: SQL and INN -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: Processed by AnySign 1.1 iQCVAwUBMfw6t5wkOQz8sbZFAQHQsAP/eKOzTTASPhxRbBDjr6uvcwTk1ROJkJS4 t1PbFs/+Tw7DZsfi/lkEfKIlHVdYVyhnQbrm+gDnROHHUg4Pd4mTSRGFZmf42ar6 wA5iTCi4hTMRn2ZA5kGG49Unvyc653nIFj60b/e4wt4EX2r7wuzl9iQW5/b/YuoI OTfOm20WzOE= =JNgj -----END PGP SIGNATURE----- -- Jeffrey C. Ollie Iowa Network Services System Administrator
Technical Details
Message-ID:
<slrn44voemd.vns.jeffo@worf.netins.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-mailReferences:
<4qs8mb$abu@fugue.clari.net> <4r9oq3$1o8$1@bushwire.mira.net.au> <4rcvg3$1mo@imp.serv.net> <31DA615C.7C66@synapse.net> <4s96sp$40m@kairos.algonet.se> <slrn44ukltk.ohl.jollie@worf.netins.net> <4te52n$2vj@fizban.solace.mh.se>Show Full Headers
Complete Article Headers
Message-ID: <slrn44voemd.vns.jeffo@worf.netins.net> Subject: Re: SQL and INN Date: Sun, 28 Jul 1996 00:00:00 +0000 From: jeffo@worf.netins.net (Jeffrey C. Ollie) References: <4qs8mb$abu@fugue.clari.net> <4r9oq3$1o8$1@bushwire.mira.net.au> <4rcvg3$1mo@imp.serv.net> <31DA615C.7C66@synapse.net> <4s96sp$40m@kairos.algonet.se> <slrn44ukltk.ohl.jollie@worf.netins.net> <4te52n$2vj@fizban.solace.mh.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: 171283619 Distribution: inet Organization: INS Info Services, Des Moines, IA, USA Newsgroups: news.software.nntp