Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove unused indices #782

Merged
merged 3 commits into from
May 13, 2016
Merged

Remove unused indices #782

merged 3 commits into from
May 13, 2016

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented May 13, 2016

This includes removing both unused indices and indices that are subsets of other indices.

This includes removing both unused indices and indices that are subsets
of other indices.

-- The following indices were unused
DROP INDEX IF EXISTS remote_media_cache_thumbnails_media_id;
DROP INDEX IF EXISTS evauth_edges_auth_id;
DROP INDEX IF EXISTS topics_room_id;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that either I'd want to keep this index or get rid of the entire table given that it is write only in synapse, and can be fairly easily constructed from the state tables for ad-hoc queries.

@NegativeMjark
Copy link
Contributor

Other than the topics table it LGTM

@erikjohnston erikjohnston merged commit 024cda9 into develop May 13, 2016
@richvdh richvdh deleted the erikj/remove_indices branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants