I got the following reply from Vivo group which said not. But I thought TDB
DOES allow concurrent access (at least concurrent read).
So what on earth is the fact? And if TDB does not allow for concurrent
access, does SDB? (Vivo used SDB)
From: Haines, Chris [mailto:[email protected]]
Sent: Thursday, June 14, 2012 10:48 AM
To: VIVO Development List
Subject: Re: [Vivo-dev-all] why not TDB?
Because TDB does not allow for concurrent access and is therefore not a
viable storage backend for Vitro.
--
Haines, Chris
Pardon typos: sent from my mobile.
----- Reply message -----
From: "Tao (陶信东)" <[email protected]>
To: "[email protected]"
<[email protected]>
Subject: [Vivo-dev-all] why not TDB?
Date: Wed, Jun 13, 2012 22:35
Hi all,
I’m studying the source code of Vitro and saw the following lines in
JenaDataSourceSetupBase.java.
switch (storeType) {
case RDB:
g = new RegeneratingGraph(
new RDBGraphGenerator(
ds, dbType, jenaDbModelName));
break;
case SDB:
String layoutStr = ConfigurationProperties.getBean(ctx)
.getProperty(
"VitroConnection.DataSource.sdb.layout",
"layout2/hash");
String dbtypeStr = ConfigurationProperties.getBean(ctx)
.getProperty("VitroConnection.DataSource.dbtype",
"MySQL");
StoreDesc desc = new StoreDesc(
LayoutType.fetch(layoutStr),
DatabaseType.fetch(dbtypeStr) );
g = new RegeneratingGraph(
new SDBGraphGenerator(
ds, desc, jenaDbModelName));
break;
default: throw new RuntimeException (
"Unsupported store type " + storeType);
}
It seems only RDB and SDB are supported. Why don’t we use TDB? I think it
is much more efficient than SDB, in both loading and querying data.
Thanks
Tao
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vivo-dev-all mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vivo-dev-all
Mailing List Archive Search:
http://sourceforge.net/search/?type_of_search=mlists&group_id=325371
Browse Mailing List Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=vivo-dev-all
VIVO WIKI:
http://sourceforge.net/apps/mediawiki/vivo/index.php?title=Main_Page