Thread: Library Merging
View Single Post
Old 01-05-2016, 12:49 PM   #10
ms233
Member
ms233 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2014
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
I suggest doing it in chunks and make sure you hide the Tag browser while you are doing this, that should help.

As for expected times, it is rather hard to say, it depends on a lot of variables. As a simple datapoint, copying 400 books to a 40,000 book library with tag browser hidden and both libraries on the same SSD and /tmp on a RAM disk, took ~10mins on my desktop.
Wow, that's incredibly fast. I have an SSD arriving tomorrow that will hopefully help, but I've found that the speed of the copy function falls through the floor at about 50 books. It clips along at about a book per second until around 40-50 books have been processed, and then it falls off dramatically to about one book every 30 seconds or so. This is copying into a library of about 160,000 books. It doesn't seem to matter how many books are being copied. I've been looking at the _doit() method in class Worker to see if I can spot the issue but no luck so far (sadly I'm no programmer).
ms233 is offline   Reply With Quote