Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDO Objectivity Store ConfigFile"

Line 17: Line 17:
 
         fdNumber = "5565"
 
         fdNumber = "5565"
 
         dbDirPath = "_DEFAULT_"
 
         dbDirPath = "_DEFAULT_"
         pageSize = "_DEFAULT_">
+
         pageSize = "_DEFAULT_"
 +
        SessionMinCacheSize = "600"
 +
        SessionMaxCacheSize = "1000">>
 
         </fdConfig>
 
         </fdConfig>
 
       </store>
 
       </store>
Line 23: Line 25:
 
   </cdoServer>
 
   </cdoServer>
 
</source>
 
</source>
 +
 +
Legend:
 +
 +
<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>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>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>pageSize </code> - The size of each page inside a database.
 +
<code>SessionMinCacheSize </code> - The minimum size of the session's cache
 +
<code>SessionMaxCacheSize </code> - The maximum size of the session's cache

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

Back to the top