# Writing performance for files outside of Library

**URL:** https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925
**Category:** General Discussion
**Created:** [February 26, 2018, 7:53am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925 "2018-02-26T07:53:36Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [February 26, 2018, 7:33am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/1 "2018-02-26T07:33:42Z")

</div>

Since Florian constructed the (really needed, very useful) database system, I expected some strange behavior. In settings I selected to monitor for DB only my "standard" music library: internal HD, D:\Art\Music. Unfortunately, with turned ON database system any writes-saves in files became very slow now. OK -- I accept it, as a "price" for a useful DB. But, **writing operations are slow, too, on the files, outside of library**! I can not understand, why. Now, as a workaround, if I plan to work on these files, NOT in library, first I turn OFF the DB system (and reopen Mp3tag).

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 26, 2018, 7:53am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/3 "2018-02-26T07:53:36Z")

</div>

I think that the distribution of database and collection is crucial for performance.  
And what is valid for all database systems: the more real hardware you have, the better.  
An example:  
The slowest setup is the portable installation on an external USB3.0-HDD with program, database and collection all on one partition.  
Reading the whole collection takes more than 5 hours.

The other setup is:  
program and database on an SSD, (the same) collection on a separate SATA-drive.  
Reading the whole collection takes less than 15 minutes.  
So if you optimize your configuration, you might get a better performance.

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [February 26, 2018, 8:25am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/4 "2018-02-26T08:25:26Z")

</div>

> [@ohrenkino](#):
>
> program and database on an SSD

Thank you, ohrenkino, for your reply. Yes, I think about it.  
(But the question I leave opened, of course.)

---

<div class="post-metadata">

### Author: ![d4k0](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@d4k0](https://community.mp3tag.de/u/d4k0)
#### Post date: [September 2, 2018, 12:20am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/5 "2018-09-02T00:20:30Z")

</div>

I'm having the same problem.

My music is stored in C:\Users\*myname\*\Music (SSD), Mp3tag is on D: (HDD). Mp3tag is set to only use the music folder for the library.

However, editing files outside of the library folder is just as slow as editing files inside the library folder. It also doesn't matter if the files are on C: (SSD) or D: (HDD), it takes maybe half a second per file to save the tags.

If I deactivate the library feature, saving tags is fast again, but reading in my library/music folder then takes much longer again.

Could this be a bug?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [September 2, 2018, 7:03am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/6 "2018-09-02T07:03:16Z")

</div>

> [@d4k0](#):
>
> My music is stored in C:\Users_myname_\Music (SSD), Mp3tag is on D: (HDD). Mp3tag is set to only use the music folder for the library.

Try to install Mp3tag on your SSD (C:) including your library. Does it speed up saving tags?

---

<div class="post-metadata">

### Author: ![d4k0](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@d4k0](https://community.mp3tag.de/u/d4k0)
#### Post date: [September 2, 2018, 3:25pm UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/7 "2018-09-02T15:25:22Z")

</div>

I did a few more tests (I use the portable version of Mp3tag, so I can move it).

If I move Mp3tag to the SSD, then tags of files that are not in the library folder (it doesn't matter if they are on the SSD or HDD) are saved fast.

If Mp3tag is on the HDD and I deactivate the library feature, then tags are always written very fast (it also doesn't matter if they are on the SSD or HDD).

It looks like Mp3tag somehow uses the library even though the files aren't in the library folder.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [September 2, 2018, 3:54pm UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/8 "2018-09-02T15:54:38Z")

</div>

> [@d4k0](#):
>
> tags of files .. are saved fast.... tags are always written very fast

I am lost right now: bug or no bug?

---

<div class="post-metadata">

### Author: ![d4k0](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@d4k0](https://community.mp3tag.de/u/d4k0)
#### Post date: [September 2, 2018, 4:40pm UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/9 "2018-09-02T16:40:46Z")

</div>

I tried to sum it up:

Mp3tag is on the SSD (library feature activated):

- Files are on the SSD and not part of the library folder: Tags are saved fast
- Files are on the HDD and not part of the library folder: Tags are saved fast

Mp3tag is on the HDD (library feature activated):

- Files are on the SSD and not part of the library folder: Tags are saved slowly
- Files are on the HDD and not part of the library folder: Tags are saved slowly

Mp3tag is on the SSD (library feature deactivated):

- Files are on the SSD (and not part of the library folder): Tags are saved fast
- Files are on the HDD (and not part of the library folder): Tags are saved fast

Mp3tag is on the HDD (library feature deactivated):

- Files are on the SSD (and not part of the library folder): Tags are saved fast
- Files are on the HDD (and not part of the library folder): Tags are saved fast

Therefore I think that the reason why case 2 (Mp3tag is on the HDD, library feature activated) is so slow is that Mp3tag still uses the database, although it should not as the library is only activated for C:\Users\myname\Music.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [September 3, 2018, 4:42am UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/10 "2018-09-03T04:42:10Z")

</div>

> [@d4k0](#):
>
> Mp3tag is on the HDD (library feature activated):

It is not so important where MP3Tag is installed but it is important where your library-database is located. In a normal windows-installation this is in `%appdata%\MP3Tag\data\library`. Where is it located in your cases?

---

<div class="post-metadata">

### Author: ![d4k0](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@d4k0](https://community.mp3tag.de/u/d4k0)
#### Post date: [September 3, 2018, 3:30pm UTC](https://community.mp3tag.de/t/writing-performance-for-files-outside-of-library/40925/11 "2018-09-03T15:30:02Z")

</div>

As I'm using the portable version, the database is always located in the Mp3tag folder (in the subfolder ' `data\library`').
