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:
7
data/sql/dbmigrate-30_to_31.sql
Normal file
7
data/sql/dbmigrate-30_to_31.sql
Normal 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);
|
Reference in New Issue
Block a user