Re: large databases
- From: Jan Wielemaker <jan@xxxxxxxxxxxxxxxxxxx>
- Date: 23 May 2008 09:56:24 GMT
On 2008-05-23, Simon Strobl <Simon.Strobl@xxxxxxxxx> wrote:
SWI should load this *much* faster, so something is wrong.
Oddly enough, I cannot reproduce the problem with Swi. It is working
now. Maybe my screen session crashed or there was a server problem.
Thanks for your tips, anyway.
Here is part of my Swi session:
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 5.6.55)
Copyright (c) 1990-2008 University of Amsterdam.
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://www.swi-prolog.org for details.
For help, use ?- help(Topic). or ?- apropos(Word).
?- consult(data).
% data compiled 6743.67 sec, 11,872,550,352 bytes
true.
Next time, try
?- qcompile(data).
That will load data and produce the file date.qlf. The next
?- [data].
will load data.qlf, which loads roughly 10 times faster (depending on
the structure of the data, whether loading is CPU bound or I/O bound,
etc.).
Enjoy --- Jan
.
- Follow-Ups:
- Re: large databases
- From: Cameron Hughes
- Re: large databases
- References:
- large databases
- From: Simon Strobl
- Re: large databases
- From: Jan Wielemaker
- Re: large databases
- From: Simon Strobl
- Re: large databases
- From: Jan Wielemaker
- Re: large databases
- From: Simon Strobl
- large databases
- Prev by Date: Re: Networking in Prolog - a survey
- Next by Date: Re: In which cases/problems is Prolog faster than Java?
- Previous by thread: Re: large databases
- Next by thread: Re: large databases
- Index(es):
Relevant Pages
|