[Mulgara-general] Fastest way to upload triples into mulgara?
Tate Jones
tate at bluedog.com.au
Wed Dec 13 14:17:40 CST 2006
Not for a load operation. All inserts are wrapped in a single
transaction.
I believe there is not much difference between a local or remote
load. ie. Load local <fiie> into <model>.
Unless you have a slow network.
On 13/12/2006, at 12:59 PM, David Smith wrote:
> Would turning autocommit off save much time?
>
> I had always assumed (I know) that single commands wouldn’t see
> that much benefit.
>
>
>
> Dave Smith
>
>
>
>
>
> From: mulgara-general-bounces at mulgara.org [mailto:mulgara-general-
> bounces at mulgara.org] On Behalf Of Paul Gearon
> Sent: Tuesday, December 12, 2006 6:51 PM
> To: Alex Cozzi
> Cc: mulgara-general at mulgara.org
> Subject: Re: [Mulgara-general] Fastest way to upload triples into
> mulgara?
>
>
>
> Yes. Turn off autocommit (set autocommit off). Also, putting the
> file on the server, and using the appropriate option to tell the
> server about this will avoid transferring the file through RMI.
> (see the help on "load" for this option - I don't recall the exact
> syntax off the top of my head)
>
> Paul
>
>
> On 12/12/06, Alex Cozzi <alexcozzi at gmail.com> wrote:
>
> I am trying to load a large amount of triples into a mulgara
> server. After trying the jrdf API (remote) I settled on using itql
> in the web ui by doing a model load, i.e.:
> load <file:/home/cozzi/localfile.nt> into <rmi://localhost/
> server1#bp>;
> where localfile.nt is a n-triples file on my local machine. This
> works reasonably well, but I was wondering whether there is a
> faster way.
> Best regards,
> Alex Cozzi
>
> _______________________________________________
> Mulgara-general mailing list
> Mulgara-general at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-general
>
>
>
>
> _______________________________________________
> Mulgara-general mailing list
> Mulgara-general at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-general
Tate Jones
tate at bluedog.com.au
More information about the Mulgara-general
mailing list