[
https://issues.apache.org/jira/browse/JENA-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500365#comment-16500365
]
ASF GitHub Bot commented on JENA-1552:
--------------------------------------
Github user afs commented on the issue:
https://github.com/apache/jena/pull/426
Long term (!), I'd like to get some aspects TDB1 `tdbloader2` into the TDB2
but in Java for portability. `tdbloader2` is breaking up the task of building a
single index into machine-resource sized chunks. `LoaderMain` does not consider
multiple tasks to build one index; this also means `LoaderPlan`s are not
completely stable as an API.
In doing work on loading, I can see more possibilities which need
experimentation to see if they are a good idea or a mad idea. This PR is
breaking the "wait until perfect" effect. This loader should be good for a
100's millions triples (I haven't tested a billion yet) so it is a significant
step forward in itself.
> Bulk loader for TDB2 (phased loading)
> -------------------------------------
>
> Key: JENA-1552
> URL: https://issues.apache.org/jira/browse/JENA-1552
> Project: Apache Jena
> Issue Type: Improvement
> Components: TDB2
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
>
> Following on from JENA-1550, this ticket is for phased loading which combined
> features of the sequential loader and the parallel loader.
> When building all the persistent datastructures (parallel loader), the work
> on different indexes at the same time is competing for hardware resources,
> RAM and I/O bandwidth. As the size to load grows, this becomes a noticeable
> slowdown.
> The sequential loader is the other extreme of the design spectrum. It does
> work on one index at a time so as to maximize caching efficiency.
> Phased loading has parallel operation per phase and splits work into subsets
> of indexes.
> At 200m and loading to rotational disk, an experimental phased loader working
> with 2 indexes at a time, starts to become faster than parallel on the same
> hardware as used for the [figures in
> JENA-1550|https://issues.apache.org/jira/browse/JENA-1550#comment-16484269]
> (57K parallel, 70K phased).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)