Persistence configuration properties

You must set a data source name and type to configure persistence in the server.xml file of your runtime servers.

In the server.xml file of your runtime servers, you must specify the ia_persistence entry to configure a runtime server to persist data to the persistent store.

Note: ia_persistence is not required when system persistence is not enabled.

The following ia_persistence element configures the runtime server to use an already configured JDBC data source that is named ia/mapstore as the data source that provides connections to the persistent store.

<ia_persistence datasourceName="ia/mapstore" />

You can specify the following properties in the ia_persistence entry:

Table 1. Mandatory persistence configuration properties
Property Description
datasourceName The JNDI reference for an existing JDBC data source that the server uses to create connections to the persistent store.
Table 2. Optional persistence configuration properties
Property Default value Description
databaseType DB2® Describes the database that is used to persist the data. Valid values are DB2 and ORACLE.
deleteBatchSize 10000 The number of entries that are deleted within a single delete statement.
deletePauseInterval 600000 Defines the amount of time, expressed in milliseconds, between cycles of deletion. The default value is 10 minutes, expressed as 600000.
maxCacheAge 1000 Determines how often in milliseconds the system refreshes information about the data source.
maxBatchSize 2000 The maximum number of entries that can be restored to the system in a single transaction if recovery occurs. The rows are read in batches of the size that is configured.
maxTardiness -1 The number of seconds to allow a trigger to be late. If the trigger is later than the configured setting, it is discarded and removed from the database. The default value is -1, which means an event is never discarded for being too late.