Re: large databases



Jan Wielemaker wrote:

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

SWI-Prolog continues to be one of the most well rounded Prologs out
there! Jan
your always willingness to help, give advice, and support is very much
appreciated.
I hope this community realizes what a valuable resource you are!!!!

In case you haven't heard it recently, thanx for the committment and
all your contribution
to the Prolog community.


Cameron


.



Relevant Pages

  • Re: large databases
    ... I cannot reproduce the problem with Swi. ... Maybe my screen session crashed or there was a server problem. ... That will load data and produce the file date.qlf. ... the structure of the data, whether loading is CPU bound or I/O bound, ...
    (comp.lang.prolog)
  • Re: large databases
    ... I cannot reproduce the problem with Swi. ... Maybe my screen session crashed or there was a server problem. ... SWI-Prolog comes with ABSOLUTELY NO WARRANTY. ...
    (comp.lang.prolog)
  • IMPORTANT SWI BUG:What Cant Be Done Twice? See? Tell? Or Others?
    ... Let me explain configuartions of my SWI prolog: ... % 'random' is an arithmetic function in SWI-Prolog ... % 'concat' must be replaced with 'concat_str' for string concatenation ... concat/3 is a built-in predicate in SWI-Prolog for the ...
    (comp.lang.prolog)
  • Re: large databases
    ... Prolog does not manage to load the facts. ... As I said, Yap crashes ... I will wait a week or two in order to see if Swi can load the ...
    (comp.lang.prolog)
  • Re: Operator ambiguity - was LPTP - was Prolog compiler for Windows XP.
    ... >> Considering the heavy use of operators checking whether SWI-Prolog ... > That seems to be the cause for LPTP not working in SWI. ... as both infix and postfix. ... Is there an accepted test-set to ensure all Prolog systems ...
    (comp.lang.prolog)