I got it. Thanks Alex.
Say, I have two tables Experiment and ExperimentData that I want to store using Jackrabbit’s content repository. Experiment has around a thousand rows and ExperimentData tens of millions of rows. There is a one-to-many relation between Experiment and ExperimentData. My understanding is that each of these tables will be the node types and rows in these tables would be the nodes, columns being their properties. The reference property would be used to implement the one-to-many relation. Is my interpretation correct? Could there be a problem because of the large size of the database ? Thanks, Nichi Also I am trying to understand how Jackrabbit works. Alexander Klimetschek wrote: > > On Wed, Mar 18, 2009 at 9:48 PM, Nichi <[email protected]> wrote: >> I am new to Jackrabbit. I configured Jackrabbit with datastore(MySql) but >> I >> still can't see anything in the database. A table named datastore gets >> created but nothing is getting added to it. My question is if there is a >> way >> to see(in a readable format) how jackrabbit is storing information in the >> database. Does it use the optimizations provided by the underlying >> database >> for queries like join,etc? > > The DataStore is used for larger binaries, typically the > "jcr:content/jcr:data" property of an "nt:file" node. It comes into > play when the binary is larger than the minRecordLength configured > with the DataStore. > > The database datastore uses a simple table for all binaries. It > accesses the table always via the primary key, an id that is unique > and is an md5 hash of the data. Therefor the primary key index that > the DB creates for the table automatically is all "optimization" that > happens there (and that is required). > > For more info see also the wiki > page:http://wiki.apache.org/jackrabbit/DataStore > > Regards, > Alex > > -- > Alexander Klimetschek > [email protected] > > -- View this message in context: http://www.nabble.com/Datastore%28MySql%29-tp22587989p22607975.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
