Skip to content

Commit

Permalink
change index on sym_data_event to (batched, node_id, channel_id), whi…
Browse files Browse the repository at this point in the history
…ch is how we are accessing the table
  • Loading branch information
erilong committed Sep 2, 2008
1 parent fecdff3 commit db5b555
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion symmetric/src/main/resources/ddl-config.xml
Expand Up @@ -75,9 +75,10 @@
<index-column name="batch_id" />
<index-column name="node_id" />
</index>
<index name="idx_de_batched_nodeid">
<index name="idx_de_batched_nodeid_channel">
<index-column name="batched" />
<index-column name="node_id" />
<index-column name="channel_id" />
</index>
</table>

Expand Down
7 changes: 7 additions & 0 deletions symmetric/src/main/resources/symmetric-upgrade.xml
Expand Up @@ -331,6 +331,13 @@
<value>
alter table ${sync.table.prefix}_trigger_hist add source_catalog_name varchar(50)
</value>
<value>
drop index idx_de_batched_nodeid
</value>
<value>
create index idx_de_batched_nodeid_channel on
${sync.table.prefix}_data_event(batched, node_id, channel_id)
</value>
</list>
</property>
</bean>
Expand Down

0 comments on commit db5b555

Please sign in to comment.