Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "CDO Objectivity Store ConfigFile"
Line 29: | Line 29: | ||
<code>name</code> - Name of the federated database you want to create. | <code>name</code> - Name of the federated database you want to create. | ||
+ | |||
<code>lockServerHost </code> - The IP/network name of the lockserver host. To use the lockserver living on the current computer, use "_DEFAULT_". | <code>lockServerHost </code> - The IP/network name of the lockserver host. To use the lockserver living on the current computer, use "_DEFAULT_". | ||
+ | |||
<code>fdDirPath </code> - The directory of the federated database on the host. The directory must exist already. | <code>fdDirPath </code> - The directory of the federated database on the host. The directory must exist already. | ||
+ | |||
<code>fdFileHost </code> - The IP/network name of the computer hosting the federated database. To use the lockserver living on the current computer, use "_DEFAULT_". | <code>fdFileHost </code> - The IP/network name of the computer hosting the federated database. To use the lockserver living on the current computer, use "_DEFAULT_". | ||
+ | |||
<code>fdNumber </code> - The ID number of the federated database, must be between 0 and 65534 | <code>fdNumber </code> - The ID number of the federated database, must be between 0 and 65534 | ||
+ | |||
<code>dbDirPath </code> - The directory of the databases on the host. The directory must exist already. If the value is "_DEFAULT_" the location will be the same as <code>fdFileHost</code>. | <code>dbDirPath </code> - The directory of the databases on the host. The directory must exist already. If the value is "_DEFAULT_" the location will be the same as <code>fdFileHost</code>. | ||
+ | |||
<code>pageSize </code> - The size of each page inside a database. | <code>pageSize </code> - The size of each page inside a database. | ||
+ | |||
<code>SessionMinCacheSize </code> - The minimum size of the session's cache | <code>SessionMinCacheSize </code> - The minimum size of the session's cache | ||
+ | |||
<code>SessionMaxCacheSize </code> - The maximum size of the session's cache | <code>SessionMaxCacheSize </code> - The maximum size of the session's cache |
Latest revision as of 18:19, 13 July 2010
The configuration file indicates which database to use. To use the Objectivity DB store, you need to setup your configuration like the following example:
<?xml version="1.0" encoding="UTF-8"?> <cdoServer> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036"> </acceptor> <repository name="companyrepo"> <property name="supportingAudits" value="true"/> <property name="supportingBranches" value="false"/> <store type="objectivity"> <fdConfig name="Company" lockServerHost = "_DEFAULT_" fdDirPath = "c:\data\Company" fdFileHost = "_DEFAULT_" fdNumber = "5565" dbDirPath = "_DEFAULT_" pageSize = "_DEFAULT_" SessionMinCacheSize = "600" SessionMaxCacheSize = "1000">> </fdConfig> </store> </repository> </cdoServer>
Legend:
name
- Name of the federated database you want to create.
lockServerHost
- The IP/network name of the lockserver host. To use the lockserver living on the current computer, use "_DEFAULT_".
fdDirPath
- The directory of the federated database on the host. The directory must exist already.
fdFileHost
- The IP/network name of the computer hosting the federated database. To use the lockserver living on the current computer, use "_DEFAULT_".
fdNumber
- The ID number of the federated database, must be between 0 and 65534
dbDirPath
- The directory of the databases on the host. The directory must exist already. If the value is "_DEFAULT_" the location will be the same as fdFileHost
.
pageSize
- The size of each page inside a database.
SessionMinCacheSize
- The minimum size of the session's cache
SessionMaxCacheSize
- The maximum size of the session's cache