
Transaction Service Settings
asadmin get -m serverInstance.transaction-service.*
The following statistics are gathered on the transaction service:
■
■
■
■isFrozen Whether transaction system is frozen (true or false)
■
Here is a sample of the output using asadmin:
********** Stats for JTS ************
Transaction Id , Status, ElapsedTime(msec)
000000000003C95A_00, Active, 999
Tuning the Transaction Service
This property can be used to disable the transaction logging, where the performance is of utmost importance more than the recovery. This property, by default, won’t exist in the server configuration.
Disable Distributed Transaction Logging
To disable distributed transaction logging with the Admin Console, go to Configurations >
■Name:
■Value: true
You can also set this property with asadmin, for example:
asadmin set
Setting this attribute to true disables transaction logging, which can improve performance. Setting it to false (the default), makes the transaction service write transactional activity to transaction logs so that transactions can be recovered. If Recover on Restart is checked, this property is ignored.
Set this property to true only if performance is more important than transaction recovery.
Chapter 3 • Tuning the Enterprise Server | 59 |