Skip to content

Commit

Permalink
explain plan showed these indexes weren't being used
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Mar 7, 2008
1 parent 63ed563 commit f8f24ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions symmetric/src/main/resources/ddl-config.xml
Expand Up @@ -78,15 +78,10 @@
<index-column name="batch_id" />
<index-column name="node_id" />
</index>
<index name="idx_de_btchd_nid_cid">
<index name="idx_de_batched_nodeid">
<index-column name="batched" />
<index-column name="node_id" />
<index-column name="channel_id" />
</index>
<index name="idx_de_dataid">
<index-column name="data_id" />
</index>

</table>

<table name="node_group">
Expand Down
4 changes: 0 additions & 4 deletions symmetric/src/main/resources/symmetric-upgrade.xml
Expand Up @@ -179,10 +179,6 @@
<value>
alter table ${sync.table.prefix}_channel add (max_batch_to_send numeric(5) default 60)
</value>
<value>
create index idx_de_btchd_nid_cid on
${sync.table.prefix}_data_event(batched, node_id, channel_id)
</value>
<value>
alter table ${sync.table.prefix}_incoming_batch_hist add (byte_count numeric(22))
</value>
Expand Down

0 comments on commit f8f24ae

Please sign in to comment.