![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
•
Tune for the Use Case Tuning the parameters in this section can improve performance. However larger values do not imply improved performance.For example, in heavy workload situations, increasing dbOpsBatchSize and dbOpsQueueSize values results in longer post-RTC times, which in turn delays release of cache locks—which are not released until after the post-RTC.
Agent.AgentClassName.dbOpsQueueSizeAgent.AgentClassName.dbOpsBatchSizeAgent.AgentClassName.dbthreadcount
The post-RTC database (backing store) transactions are queued into a database-operations queue whose maximum size (set per agent) is defined by dbOpsQueueSize. Each slot in the queue contains all the actions from one RTC.Database write threads process the RTC transactions from the queue. The number of threads is defined by dbthreadcount.A database write thread takes up to the dbOpsBatchSize number of RTC transactions, processes them and commits them to the database. (When database write threads are idle, they take available jobs from the database operations queue, even if there are less jobs than dbOpsBatchSize.)You can monitor JMX parameter AvgDBOpsBatchSize to see the effective value used in your use case.For reference documentation see Table 53, CDD Agent Classes Tab Inference Agent and Query Agent Properties in TIBCO BusinessEvents Developer’s Guide.Agent.AgentClassName.dbOpsBatchSizeIt is important to balance the cost of processing fewer, larger jobs against the gains. The efficiencies gained by setting the useDBBatching property to true are greater if many operations of the same kind apply to the same table. The database writing process has to do an operation for each of update, insert and delete on each database table. So you don't get any gain if only one RTC in the batch is updating, inserting, or deleting in a particular table.For reference documentation see Table 46, CDD Cluster Tab Backing Store Properties in TIBCO BusinessEvents Developer’s Guide.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |