1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-01 22:27:10 +00:00

Drop duplicate database indexes

These duplicate indexes were found by the pt-duplicate-key-checker
tool in percona-toolkit.  Duplicate indexes waste space and slow down
the query planner.  Closes #835.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2014-12-18 02:18:17 -05:00
parent d8895ec679
commit bd40827b73
5 changed files with 31 additions and 20 deletions

View File

@@ -0,0 +1,8 @@
BEGIN;
DROP INDEX ttrss_entries_guid_index;
DROP INDEX ttrss_prefs_pref_name_idx;
UPDATE ttrss_version SET schema_version = 127;
COMMIT;