Transactor

Running the Transactor

A Datomic transactor performs ACID transactions for a set of databases. You can launch a transactor for one or more databases with the bin/transactor script in the datomic directory:

bin/transactor path/to/transactor-template.properties

The transactor properties file needs to include license-key from your my.datomic registered account. For information on launching a second transactor for high availability, see configuring high availability

The transactor startup script accepts JVM arguments, but please note that JVM args other than `-Xmx` and `-Xms` passed to `bin/transactor` (including Java system properties passed via `-D`) override Datomic's recommended Java options, including the GC settings.

JVM ArgumentDev Default SettingProd Default Setting
Max HeapXmx1gXmx4g
Initial Heap sizeXms1gXms4g
GC Settings-XX:+UseG1GC-XX:+UseG1GC
-XX:MaxGCPauseMillis=50-XX:MaxGCPauseMillis=50

For information on supported storages and how transactors interact with peers see storage services and peers.