Registered Member
|
I would like to have a tool for collection database clean-up.
I have a relatively large colection with 17 000+ songs. Database file is 14,5 MB size and amaroK after 0,5 years of database creation got very slow. There is a 0,5 - 1 sec delay on every search. Half a year ago amaroK was instant!! I removed database file and created new collection. Database file was 12 MB size now and amaroK was realy faster. Apparently I have lost all my statistics, ratings and scores. I restored old database file and check it with raw hex viewer. And I found TONS of records of songs and albums I have deleted ages ago!! I did rescan-collection many times, but it seems that amaroK doesn't remove records about non-existant files from database. I think it would be useful to have some tool for database cleaning up and riding off records about non existant files. amaroK would be really faster for me and for all of us. That 0,5 sec delay on every search really annoys me. |
Registered Member
|
I agree, this would be a welcome addition, no doubt there's something you could do on the actual database but to make it easy, why not put it in an admin settings section. While we're at it, it would be great to have a backup option for those statistics perhaps with selectable backup options such as covers, stats etc. Those two items together would be awesome! No more losing stats, data, rescanning covers etc! Yeeha!
|
KDE Developer
|
You did not mention what kind of database backend you are using, but if it's SQLite, you should definitely switch to MySQL or Postgres. SQLite does not currently scale very well with big collections.
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
How do I use MySQL?
Do I have to set up a MySQL-Server? How do I do that? Should I use MySQL with about 4000 Songs or or should I stay with SQLite?
MacBook, 2GHz C2D, 3GB RAMM, 120GB HDD.
Amarok 2.0 Beta from KDE-on-Mac. |
KDE Developer
|
4000 tracks is not so much. SQLite should be fine.
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
So at what Track-count you recommend using MySQL?
When I add my Audiobooks to my Collection it's about 5000 Tracks, I believe it's not so much either is it?
MacBook, 2GHz C2D, 3GB RAMM, 120GB HDD.
Amarok 2.0 Beta from KDE-on-Mac. |
Registered Member
|
That's a good point actually, it would be nice if there was a track count recommendation on the initial setup screen so we knew when to use each type of database.
|
KDE Developer
|
It's hard to say. Rule of thumb: If your collection is bigger than 10000 tracks, you might consider trying MySQL or PostgreSQL.
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
Okay... Till I got 10000 Tracks it will take a while... So I'll stay with SQLite... Thanks so far.
MacBook, 2GHz C2D, 3GB RAMM, 120GB HDD.
Amarok 2.0 Beta from KDE-on-Mac. |
Registered Member
|
And what about the difference between mysql and postgresql with ~10000 tracks ? Any idea ?
|
KDE Developer
|
Nope, no idea. Be the first to find out (PostgreSQL is often said to be the better database, though)
--
Mark Kretschmann - Amarok Developer |
Registered Member
|
Does MySQL or Postgresql solve the problem of non existant files being kept in database ?
|
Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]