[mercury-users] How to make huge db in Mercury

Tyson Dowd trd at cs.mu.OZ.AU
Sun Apr 28 07:32:34 AEST 2002


On 27-Apr-2002, Ondrej Bojar <oboj7042 at ss1000.ms.mff.cuni.cz> wrote:
> Hi.
> 
> As far as I know, Mercury has to actually compile the database in your
> program. (And there is a special technique of so-called "fact tables" just
> for this purpose.) Naturally, you can compile in any number of database
> files you wish, but you cannot load them later, when the program is
> already compiled and linked.

You could use the dynamic linking library of Mercury to do this.
Compile the fact tables into a library, then load them dynamically at
runtime and query them.

See the extras/dynamic_linking directory of the Mercury extras.

Tyson.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list