every time you call calibredb, the entire database has to be read from disk and loaded into memory (that is the way calibre works). Therefore, calling calibredb repeatedly is never going to be very fast.
The only way to speed it up is to use the calibre db interface directly via a python script, which will avoid re-reading the db each time. But since your import is a one time operation, if I were you. I'd just let it chug away, it'll get htere eventually. Do something else in the meantime.
|