Closed tkem closed 10 years ago
Having separate views for artists, composers and performers would also be nice.
Turns out, using albums
in tracks
does have significant performance implications. Running
time mpc ls 'Local media/Tracks' > /dev/null
on a ~6000 tracks media collection with current view tags ~6.4sec, with album
table replaced by albums
view takes ~16sec. Looking at the query plan shows SQLite first scans albums, then tracks(?). Deferred.
For testing and debugging, an
albums
view similar to thetracks
view would be convenient. Unless performance measurements recommend otherwise, this should be also be used in thetracks
join, instead of the separate joins foralbum
andalbumartist
.