Pipeline database configuration
These items are used to configure and pre-populate the pipeline module database. This is an in-memory database that pipelines can use to communicate with each other.
To get more detail, just click on the item you’re interested in.
database-dumpfile specifies a file and optional directory path to which the pipeline database is dumped when Transformer exits.
The file name and directory path can contain the
%h parameters. At run time:
%ris replaced by the root directory (
application-root) under which the Transformer runs
%ais replaced by the Transformer’s DataSource
%his replaced by the host machine’s
Default value: (none) If you don’t explicitly specify a file, the pipeline database isn’t dumped when Transformer exits.
database-insert specifies a triplet of values that are inserted into the pipeline database when Transformer starts up, but before any pipelines are loaded. Use a separate
database-insert item for each triplet to be inserted in the database.
database-insert <primary-key> <secondary-key> <value>
Type: array of strings
Default value: (none)
database-insert "/XNAS" "CloseType" "next"
This example pre-populates the database with the market close configuration for the XNAS exchange.
|You can also access this database from your pipeline code; see the "Configuration database access" page in the Modules section of the Transformer Pipeline SDK (API).|
database-log-options specifies the types of database activity to be recorded in the pipeline activity log (see
logfile in Pipeline configuration). The log records of database activity are at
all (all pipeline database access is logged)
|Log option name||Description|
Log all pipeline database access.
Log database insertions.
Log database retrievals.
Log changes to atomic counters. (See
You can specify multiple values using the
| operator, as in this example:
which logs database insertions and deletions, but not retrievals or changes to atomic counters.
Reference: Pipeline configuration
Reference: Pipeline threads configuration
Reference: Transformer Pipeline SDK (API) (particularly the "Configuration database access" page in the Modules section.)