Chapter 12. Transactions subsystem tuning
Chapter 12. Transactions subsystem tuning If your environment uses XA distributed transactions, you can tune the transaction manager's log store for better performance. The default transaction log store uses a simple file store. For XA transactions this type of log store can be inefficient, as it creates one system file for each transaction log. Especially for XA transactions, a journal store is much more efficient as it uses a journal that consists of one file for all transactions. For better XA transaction performance, it is recommended that you use a journal log store. For Red Hat Enterprise Linux systems, you can additionally enable asynchronous I/O (AIO) on the journal store to further improve performance. Note For Red Hat Enterprise Linux systems, if you are enabling asynchronous I/O (AIO) on the journal store, ensure that the libaio package is installed. 12.1. Enable the journal log store using the management console You can use the management console to enable the journal log store. Procedure Navigate to Configuration Subsystems Transaction and click View . In the Configuration tab, click Edit . Set the Use Journal Store field to ON . Optional : For Red Hat Enterprise Linux systems, set the Journal Store Enable Async IO field to ON . Click Save . 12.2. Enable the journal log store Using the management CLI You can use the management CLI to enable the journal log store. Procedure To enable the journal log store using the management CLI, use the following command: Optional : For Red Hat Enterprise Linux systems, use the following command to enable journal log store asynchronous I/O:
/subsystem=transactions:write-attribute(name=use-journal-store,value=true) /subsystem=transactions:write-attribute(name=journal-store-enable-async-io, value=true)