[
https://issues.apache.org/jira/browse/JENA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087053#comment-13087053
]
Paolo Castagna edited comment on JENA-102 at 8/18/11 3:24 PM:
--------------------------------------------------------------
This is what BulkLoader.java does (in two different places):
if ( ! dsg.getLocation().isMem() )
{
String filename = dsg.getLocation().getPath(Names.optStats) ;
Stats.write(filename, stats) ;
}
It's easy to check if Names.optFixed and/or Names.optNone file are there and
skip writing the Names.optStats file.
However, what do we do when we have the Names.optStats file and we do an
incremental load?
--Is there a way to read a stats.opt file and incrementally update stats?--
Apologies, I see how stats.opt should be updated incrementally now.
was (Author: castagna):
This is what BulkLoader.java does (in two different places):
if ( ! dsg.getLocation().isMem() )
{
String filename = dsg.getLocation().getPath(Names.optStats) ;
Stats.write(filename, stats) ;
}
It's easy to check if Names.optFixed and/or Names.optNone file are there and
skip writing the Names.optStats file.
However, what do we do when we have the Names.optStats file and we do an
incremental load?
-Is there a way to read a stats.opt file and incrementally update stats?-
Apologies, I see how stats.opt should be updated incrementally now.
> tdbloader creates stats.opt file in existing DB
> -----------------------------------------------
>
> Key: JENA-102
> URL: https://issues.apache.org/jira/browse/JENA-102
> Project: Jena
> Issue Type: Bug
> Components: Cmd line tools, TDB
> Environment: Linux, Macosx, TDB0.8.10
> Reporter: Bill Roberts
>
> running tdbloader to add new triples to an existing TDB database creates a
> new stats.opt file if one does not already exist (whether or not none.opt
> already exists in the DB directory).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira