On Wed, Dec 3, 2008 at 3:36 PM, Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]> wrote: > > I think Ohad's solution is pretty much as clean as one can hope for > without an extension needed on the Firefox side... I am a bit worried > about copying the entire DB though. > > On my system the places db is about 1mb and I clean my data almost > daily. Moreover as far as I can see the db is updated each time I change > a page in firefox. This will not be good for battery powered laptops... > > I may be mistaken though. If the database doesn't update as often as I > assume (fx. maybe only when I actively change something in the > bookmarks), then it is not really a problem as I see it.
While the DB-copying solution is not optimal (it would be best if Firefox just wouldn't request an exclusive lock - sqlite supports one-writer-many-readers), it's less damaging than you think: The DB is copied only upon searching, when you probably have enough hard-drive activity going on to make reading a 1MB file pretty insignificant. Even then, it only occurs if the DB has changed, so multiple searches in a row should rarely ever copy the DB twice. What does worry me is if the DB becomes large enough to make storage of the duplicate copy a concern (say, on an EEE or XO laptop). I'm hoping this is a minor change to make in firefox, and I'll try to investigate the issue. > > -- > Hardy - Doesn't detect Firefox 3.0 for web searches and bookmarks > https://bugs.launchpad.net/bugs/205018 > You received this bug notification because you are a direct subscriber > of the bug. -- Man is the only animal that laughs and weeps, for he is the only animal that is struck with the difference between what things are and what they ought to be. - William Hazlitt Ohad Lutzky -- Hardy - Doesn't detect Firefox 3.0 for web searches and bookmarks https://bugs.launchpad.net/bugs/205018 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs