1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 11:51:44 +02:00

Speed up hot playlists by improving join performance

This commit is contained in:
Uwe L. Korn
2013-07-30 12:55:12 +02:00
parent a3aaf13981
commit 157ee8f433
5 changed files with 20 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
-- Script to migate from db version 30 to 31.
-- Better indices to join playlist_item with other tables
CREATE INDEX playlist_item_trackname ON playlist_item(trackname);
CREATE INDEX playlist_item_artistname ON playlist_item(artistname);
CREATE INDEX artist_name ON artist(name);
CREATE INDEX track_name ON track(name);