You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2015/07/05 17:46:04 UTC

[jira] [Created] (AMQ-5874) Remove redundant calls to persistence

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)