Spotify is a popular music service that is available as a web version, desktop clients and as applications for various platforms.
Some Spotify users noticed back in June that the client was causing excessive writes on the disk. While the reported write amount varies a lot, some stated that they were seeing 10Gb/hour writes on their computer by Spotify alone.
Update: Spotify has released a new client version that addresses the issue according to the update history. Updating the desktop client to version 1.0.42 should fix the amount of written data. Feedback from users suggest that the situation has improved but not been resolved completely. End
What's particularly interesting about this is that the writes occur even if Spotify is kept open in the background but not playing any songs.
If you do some math, you will realize that those writes cannot be explained by song caching even if the highest song quality is used.
Users who notice the behavior are worried that Spotify alone may cause their computer's Solid State Drives to die early due to the excessive number of writes.
Not all Spotify users are affected by the issue. I let Spotify Free run on a test system for some time and noticed no excessive writes at all.
If you are using Spotify, first thing you may want to do therefore is to monitor the resource usage of the client to find out if the version of Spotify running on your device is writing excessively to the drive.
While you can use a lot of tools to monitor writes on a system, I suggest you simply start by looking at what the Windows Task Manager reports (or the excellent Process Explorer).
Note that the data is bytes which means that you need to convert it to Gigabyte first. You can use this tool for that. Basically, 1000000000 bytes are roughly 0.931 Gigabyte. So, if you see something like 2.3 million bytes like on the screenshot above, that is just about 2 Megabyte of data.
Spotify users who analyzed the issue found out that the writes cannot be linked to song caching but affect certain database files in the Spotify folder: mercury.db and mercury.db-wal in the root Spotify folder.
So, what appears to happen is that Spotify runs the vacuum command on the database aggressively which causes the writes. Vacuum optimizes the database file by reclaiming space using various optimization routines. This process creates a temp database file that replaces the original file after the command ran its course.
Spotify users have a couple of options to deal with the issue.
Now You: Are you noticing excessive writes when running Spotify?
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.