Configuring Backing Store for Cache OM

This topic provides the information on configuring the following backing stores:

Additional backing stores are available only for Apache Ignite cache:

Before you beginIn case of a RDBMS database, ensure to setup the JDBC Connection shared resource. For details about adding a shared resource, see Shared Resources.
    Procedure
  1. Open the project CDD file in TIBCO BusinessEvents Studio and on the Cluster tab, configure the cluster and cache provider as per your project requirements.

    Cluster and Cache Provider Reference Topic
    Legacy ActiveSpaces cluster and cache Setting Up Legacy ActiveSpaces as Cluster and Cache Provider
    TIBCO FTL cluster and Apache Ignite cache
    Apache Ignite cluster and cache
  2. In the navigation tree, expand Object Management and select Persistence.

  3. In the Configuration window, from the Persistence Option list, select Store.
  4. From the Store Type list, select the backing store as required.

  5. In the navigation tree, select Object Management > Persistence > Connection and in the configuration section, configure the settings mentioned in the JDBC Backing Store Connection Settings.

    You can start with default pool values and monitor the behavior. Using more connections improves runtime performance and can also speed up recovery in the event of a failure.

    JDBC Backing Store Connection Settings
    Property Description
    URI Specifies the JDBC project path, that is, the path from the project root to the JDBC Connection resource, to define the connection to the backing store. For example:
    /SharedResources/JDBC Connection.sharedjdbc

    You can also use a global variable to specify the connection.

    Default value is %%DbUri1%%.

    To create a of JDBC Connection shared resource, see Shared Resources.

    Min Size Minimum number of connections in the JDBC connection pool used for the backing store.
    Max Size Maximum number of connections in the JDBC connection pool used for the backing store. Connections do not exceed the maximum.

    The value of this property overrides the value of the Maximum Connections setting in the JDBC Connection resource.

    Although the limit is seldom reached, you can guarantee a connection is always available for a dbwriter thread as follows. Set this field to the same value as the Agent.AgentClassName.dbthreadcount setting.

    Initial Size Specifies the initial size of the JDBC connection pool used for the backing store, when it is created on startup.
  6. In the navigation tree, select Properties and add properties based on your requirement. For details about of available propertiessee CDD Cluster Tab Backing Store Properties Reference.
  7. Save the CDD file.
What to do nextYou can select domain objects (entities) to be included in or excluded from the backing store. In addition preloading options are available for loading domain objects from backing store to cache at system startup. See Domain Objects Configuration.
See Configuring Preloading Options for object settings
See be.engine.cluster.recovery.threads in CDD Cluster Tab Backing Store Properties Reference.