<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux client startup very slow in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973487#M19671</link>
    <description>&lt;P&gt;WOW! That really worked like magic, thank you very much! As a enthusiastic of computer science I must ask: how did you do that? I did a quick research over the internet and I found this article &lt;A href="https://www.sqlitetutorial.net/sqlite-vacuum/" target="_blank"&gt;https://www.sqlitetutorial.net/sqlite-vacuum/&lt;/A&gt; with more detailed information about what this command does and it totally makes sense to me that you used this command specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 12:47:11 GMT</pubDate>
    <dc:creator>pedro2012</dc:creator>
    <dc:date>2020-06-09T12:47:11Z</dc:date>
    <item>
      <title>Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915664#M19422</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium (Family)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Brazil&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dell Inspiron 14 Series&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Linux Mint 19.3 Xfce&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Unlike the startup on Windows client, on Linux it's very slow to startup the Spotify client. Sometimes it gets so slow that I prefer to open the browser and enter in YouTube Music while the Spotify client starts. I love Spotify, and I'm very happy with the fact that you have a Linux client, you're the best! But, with some issues to solve, that slow startup is one of them. Thanks a lot for your attention!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 19:12:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915664#M19422</guid>
      <dc:creator>pedro2012</dc:creator>
      <dc:date>2020-03-22T19:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915719#M19431</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/23567684"&gt;@pedro2012&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can tell it's one of the slowest programs to open on my machine as well (other is Wine Foobar), but yours seems a bit extended. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you tell if it has been that slow all the time, or is it becoming slower on you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, does anything change when you disable local files (if you have them enabled)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 21:14:47 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915719#M19431</guid>
      <dc:creator>Sebasty</dc:creator>
      <dc:date>2020-03-22T21:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915985#M19437</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your attention. I don't have the local files enabled, but that doesn't really change much. It's slow just to startup; once it's fully started it works perfectly well without any significant delay. If you want, I could make a video for demo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 11:45:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4915985#M19437</guid>
      <dc:creator>pedro2012</dc:creator>
      <dc:date>2020-03-23T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4916115#M19443</link>
      <description>&lt;P&gt;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/23567684"&gt;@pedro2012&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A video would be nice! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can tell my client also starts up rather slow (~3 seconds), and once it's running, there is no problem with any delays or anything. I do have a SSD in the machine, so I don't know how slow would it be on HDD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you install Spotify with Snap?&lt;/P&gt;&lt;P&gt;Also, what distro are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 16:42:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4916115#M19443</guid>
      <dc:creator>Sebasty</dc:creator>
      <dc:date>2020-03-23T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4968187#M19648</link>
      <description>So : I poked around in the directory `~/.cache/spotify`&lt;BR /&gt;&lt;BR /&gt;I have 11G of cached music in there but that doesn't seem to be the issue.&lt;BR /&gt;There's a database : `mercury.db`, this appears to be an mostly an index of all the cached data blocks and a few other things. This is a sqlite3 database.&lt;BR /&gt;&lt;BR /&gt;I closed Spotify, opened the database thus&lt;BR /&gt;&lt;BR /&gt;sqlite3 mercury.db&lt;BR /&gt;&lt;BR /&gt;And did this at the sqlite3 console&lt;BR /&gt;&lt;BR /&gt;VACUUM;&lt;BR /&gt;&lt;BR /&gt;Then ctrl-D to exit.&lt;BR /&gt;&lt;BR /&gt;My Spotify client started *much* faster this morning.</description>
      <pubDate>Tue, 02 Jun 2020 08:41:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4968187#M19648</guid>
      <dc:creator>dr_barnowl</dc:creator>
      <dc:date>2020-06-02T08:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973487#M19671</link>
      <description>&lt;P&gt;WOW! That really worked like magic, thank you very much! As a enthusiastic of computer science I must ask: how did you do that? I did a quick research over the internet and I found this article &lt;A href="https://www.sqlitetutorial.net/sqlite-vacuum/" target="_blank"&gt;https://www.sqlitetutorial.net/sqlite-vacuum/&lt;/A&gt; with more detailed information about what this command does and it totally makes sense to me that you used this command specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 12:47:11 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973487#M19671</guid>
      <dc:creator>pedro2012</dc:creator>
      <dc:date>2020-06-09T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973563#M19672</link>
      <description>&lt;P&gt;This is a brilliant solution, and it could also help those on Windows/Mac too, as long as sqlite is installed.&lt;BR /&gt;&lt;BR /&gt;Good job and thank you for this &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/739367"&gt;@dr_barnowl&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 14:14:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973563#M19672</guid>
      <dc:creator>Sebasty</dc:creator>
      <dc:date>2020-06-09T14:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973738#M19673</link>
      <description>&lt;P&gt;&amp;gt; how did you do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not my first brush with sqlite databases ; they're also used for profile data in Firefox, and as the data/settings store in a lot of Android projects, and as "test" databases for a lot of projects (before you graduate to a grown-up database server). I think it Firefox offers to clean them up and vacuum every couple of major versions now, but there was an extension that did the vacuum for you a while back, and that's why I'm familiar with the term.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lots of software takes the convention of naming them `*.db`, and even if they don't, Linux has great filetype detection tools ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ❯ file mercury.db&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mercury.db: SQLite 3.x database, last written using SQLite version 3016002&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or if you open it in a hex editor, the first few bytes say "SQLite format version 3".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't tell for sure, but the word "VACUUM" doesn't seem to appear anywhere in the Spotify client binary except from where it's statically linked as part of the SQLite libraries, so I don't know if it ever vacuums. But it doesn't seem like it. It deletes entries from the storage table as they drop out of your assigned cache space, so that will cause fragmentation.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 19:03:10 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/4973738#M19673</guid>
      <dc:creator>dr_barnowl</dc:creator>
      <dc:date>2020-06-09T19:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/5072705#M20142</link>
      <description>&lt;P&gt;Thanks for this solution! You can also run &lt;FONT face="courier new,courier"&gt;sqlite3 mercury.db 'VACUUM;'&lt;/FONT&gt; to avoid having to go into the console.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 19:42:07 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/5072705#M20142</guid>
      <dc:creator>PolarBier</dc:creator>
      <dc:date>2020-11-16T19:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linux client startup very slow</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/5497229#M21522</link>
      <description>&lt;P&gt;This is amazing. How many times must we vacuum the sqlite?&lt;BR /&gt;&lt;BR /&gt;From minutes to &amp;lt;1sec of startup.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 14:42:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-client-startup-very-slow/m-p/5497229#M21522</guid>
      <dc:creator>piotroxp</dc:creator>
      <dc:date>2023-01-31T14:42:31Z</dc:date>
    </item>
  </channel>
</rss>

