[ 
https://issues.apache.org/jira/browse/JENA-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319440#comment-17319440
 ] 

Marco Brandizi edited comment on JENA-2086 at 4/12/21, 10:06 PM:
-----------------------------------------------------------------

I wouldn't focus on the "why it worked well in the past", since I'm not 
completely sure it was the case. Maybe it was just that I had a slightly 
smaller dataset, the one I'm testing has 58M tripled nowadays and it had 45M a 
few years ago, I got my first impression that now it's slower from 
extrapolating the previous times on the new number of triples, but it's all 
quite approximate, I think the main point is it shouldn't touch the journal for 
RO transactions.


was (Author: mbrandizi):
I wouldn't focus on the "why it worked well in the past", since I'm not 
completely sure it was the case. Maybe it was just that I had a slightly 
smaller dataset, the one I'm testing has 58M tripled nowadays and it has 45M a 
few years ago, I got my first impression that now it's slower from 
interpolating previous timings on the new number of triples, but it's all quite 
approximate, I think the main point is it shouldn't touch the journal for RO 
transactions.

> TDB2: read transactions sync the journal.
> -----------------------------------------
>
>                 Key: JENA-2086
>                 URL: https://issues.apache.org/jira/browse/JENA-2086
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: TDB2
>    Affects Versions: Jena 3.17.0, Jena 4.0.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>         Attachments: jena-sync-overhead.png
>
>
> [Report from users@ 
> (2021-04-08)|https://lists.apache.org/thread.html/rbc1ff0ae78359b580786ff76ad006f1edeca4da13b0f946cd4f48a8d%40%3Cusers.jena.apache.org%3E]
> See attached for stacktrace mentioned in the report.
> A simple UC:
> {noformat}
>         DatasetGraph dsg = DatabaseMgr.createDatasetGraph();
>         dsg.executeRead(()->{});
> {noformat}
> and breakpoint on Journal.sync:
> {noformat}
>     Journal.sync() line: 384  
>     Journal.reset() line: 397 
>     TransactionCoordinator.completed(Transaction) line: 708   
>     Transaction.endInternal() line: 218       
>     Transaction.commit() line: 182    
>     TransactionalBase.commitExec() line: 143  
>     TransactionalBase(TransactionalSystem).commit() line: 33  
>     TransactionalBase.commit() line: 131      
>     DatasetGraphTDB(DatasetGraphStorage).commit() line: 69    
>     DatasetGraphSwitchable(DatasetGraphWrapper).commit() line: 276    
>     Txn.exec(T, TxnType, Runnable) line: 85   
>     Txn.executeRead(T, Runnable) line: 115    
>     DatasetGraphSwitchable(Transactional).executeRead(Runnable) line: 249     
>     Report.main(String[]) line: 70
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to