Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!howland.reston.ans.net!ix.netcom.com!netcom.com!csun
From: csun@netcom.com (Charles Sun)
Subject: Prolog vs. Database search
Message-ID: <csunDLMq8K.G8y@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Tue, 23 Jan 1996 10:24:20 GMT
Lines: 22
Sender: csun@netcom.netcom.com

Hi,

I am learning Prolog (with BinProlog) and I have the following questions:

I need to create a database of facts which will be searched or
inferenced with a set of rules. I realized Prolog will work fine
for this if the SIZE of the database is SMALL. 
However, if the database is expected to grow much larger (than
physical memory), then I assume it is more search-time efficient to store 
the facts in a traditional database such as Oracle (to avoid disk swaping). 
Is this assumption correct ?

If yes, how difficult is it to develop this Prolog/Database interface
?

I would greatly appreciate some pointers or suggestions. 

Please respond by email in addition to posting. Thanks.

Charles Sun
csun@netcom.com

