[
https://issues.apache.org/jira/browse/ARTEMIS-852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668027#comment-15668027
]
Benjamin Graf commented on ARTEMIS-852:
---------------------------------------
First draft manually executed:
* create index bindings_table_idx on bindings_table (id)
* create index message_table_idx on message_table (id)
* alter table message_table alter column seq not null
* alter table message_table add primary key (seq)
* alter table bindings_table alter column seq not null
* alter table bindings_table add primary key (seq)
> Add indices to tables from JDBC backend to increase performance
> ---------------------------------------------------------------
>
> Key: ARTEMIS-852
> URL: https://issues.apache.org/jira/browse/ARTEMIS-852
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Benjamin Graf
> Priority: Blocker
> Fix For: 1.6.0
>
>
> Almost every query used in Artemis uses where clauses but BINDINGS_TABLE and
> MESSAGE_TABLE actually have no indices. This causes performance impact.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)