jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller
Date Tue, 13 Jan 2009 14:41:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/DataStore

The comment on the change is:
document settings

------------------------------------------------------------------------------
      </DataStore>
  }}}
  
+ All configuration options are optional:
+  * path: The name of the directory where this data store keeps the files. The default is
/repository/datastore.
+  * minRecordLength: The minimum object length. The default is 100 bytes; smaller objects
are stored inline (not in the data store). There is a limitation on the minRecordLength: the
maximum value is around 32000. The reason for this is that Java doesn't support strings longer
than 64 KB in writeUTF.
+ 
  == Database Data Store ==
  
  Here is a possible configuration using the database data store:
@@ -51, +55 @@

          <param name="maxConnections" value="3"/>
          <param name="copyWhenReading" value="true"/>
          <param name="tablePrefix" value=""/>
+         <param name="schemaObjectPrefix" value=""/>
      </DataStore>
  }}}
  
- There is a limitation on the minRecordLength: the maximum value is around 32000. The reason
for this is that Java doesn't support strings longer than 64 KB in writeUTF.
- 
- maxConnections: At least 3 connections are required if the garbage collection process is
used.
+ The configuration options are:
+  * url: The database URL (required).
+  * user: The database user name (required).
+  * password: The database password (required).
+  * databaseType: The database type. By default the sub-protocol of the JDBC database URL
is used if it is not set. It must match the resource file [databaseType].properties. Example:
mysql. Currently supported are: db2, derby, h2, mssql, mysql, oracle, sqlserver.
+  * driver: The JDBC driver class name. By default the default driver of the configured database
type is used.
+  * maxConnections: Set the maximum number of concurrent connections in the pool. At least
3 connections are required if the garbage collection process is used.
+  * copyWhenReading: The the copy setting, enabled by default. If enabled, a stream is always
copied to a temporary file when reading a stream, so that reads can be concurrent. If disabled,
reads are serialized.
+  * tablePrefix: The table name prefix. The default is empty. The table name is constructed
like this: ${tablePrefix}${schemaObjectPrefix}${tableName}
+  * schemaObjectPrefix: The schema object prefix. The default is empty.
  
  == FAQ ==
  

Mime
View raw message