|
|
Index
| Recent Threads
| Who's Online
| User List
| Search
| Help
| |
|
Forum closing down This forum will be closing down due to extensive spamming activities. As a first step, registration of new members has been disabled. Existing members will be able to use the forum for now, but please consider using the sesame-general mailing list instead. |
![]() |
openRDF.org Forum » Sesame & Rio: Open Discussion » Thread: dependency inferencing made optional |
|
Total posts in this thread: 3 |
[Add To My Favorites] [Watch this Thread] [Post new Thread] |
| Author |
|
|
Jul 20, 2004 4:33:55 PM
jeen Sesame Addict The Netherlands Joined: Jan 23, 2004 Posts: 1091 Status: Offline |
I've made a small extension to the RDBMS Sail: dependency inferencing is now optional. By default, the dependency inferencer is still used, but if a parameter 'dependency-inferencing' is set to 'no' in the system.conf for a particular repository, dependency inferencing is not used. In this case, the repository will revert to a brute-force method, where the entire closure is deleted and recomputed whenever a removeStatement transaction is done. Of course, this makes removeStatement transactions very inefficient, but the upside of this is that: a) the size of the database is significantly reduced b) upload time is significantly improved Regarding the latter, it turned out that in some extreme cases the dependency inferencer issued such complex update queries during the commit of an upload transaction, that MySQL took over an hour to complete the query, or even so long that the JDBC connection simply timed out and closed. In such cases, and in cases where remove operations are not frequently done, this parameter may be useful. Checked in in the trunk, tested for the most obvious bugs. See also SES-60. ---------------------------------------- Researcher at AFSG - Wageningen UR |
||
|
|
Oct 21, 2005 5:42:44 PM
jedhassell Member
|
How do I change this value to "no" using the java API? |
||
|
|
Oct 24, 2005 9:26:56 AM
arjohn OpenRDF project lead The Netherlands Joined: Jan 23, 2004 Posts: 1289 Status: Offline |
When using the repository API, you set the parameter on a SailConfig object. I just realized that there's no utility method for this in the subclass RdfSchemaRepositoryConfig yet, so you'll have to use the generic methods for now: RdfSchemaRepositoryConfig config = new RdfSchemaRepositoryConfig(...); If you're using the Sail directly, you'll have to supply the same parameter to the Sail's initialize(Map) method. ---------------------------------------- Arjohn Kampman, OpenRDF project lead, Aduna |
|||
|
| [Show Printable Version of Thread] [Post new Thread] |