Benjamin Graf created AMQ-5874:
----------------------------------
Summary: Remove redundant calls to persistence
Key: AMQ-5874
URL: https://issues.apache.org/jira/browse/AMQ-5874
Project: ActiveMQ
Issue Type: Improvement
Components: Broker
Affects Versions: 5.11.1
Reporter: Benjamin Graf
Actually ActiveMQ does make a lot of redundant calls to persistence at startup.
If using JDBC as persistent backend this ends in expensive count(*) or distinct
union calls sometimes doing full table access. Btw. maybe an index of container
and xid on activemq_msgs should be concidered.
Expensive statements are for example:
- getDestinationMessageCountStatement
- getFindAllDestinationsStatement() {
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)