You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2019/08/28 14:44:00 UTC

[jira] [Created] (ARTEMIS-2465) [JDBC-STORE] Adding index on txId

Francesco Nigro created ARTEMIS-2465:
----------------------------------------

             Summary: [JDBC-STORE] Adding index on txId
                 Key: ARTEMIS-2465
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2465
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 2.10.0
            Reporter: Francesco Nigro


An index is only created on ID column not on txid, due to which full table scan is happening while executing DELETE FROM MESSAGE_TABLE WHERE txId=:1 query.

{code:sql}
create-journal-index=CREATE INDEX %1$s_IDX ON %1$s (id)
{code}




--
This message was sent by Atlassian Jira
(v8.3.2#803003)