You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (Jira)" <ji...@apache.org> on 2019/09/23 18:58:01 UTC

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

     [ https://issues.apache.org/jira/browse/ARTEMIS-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-2465.
------------------------------------
    Fix Version/s: 2.11.0
       Resolution: Fixed

> [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
>            Priority: Major
>             Fix For: 2.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.4#803005)