On Wed, 2011-06-15 at 14:57 +0100, Lionel Landwerlin wrote:
> Hi Simon,
> 
> I would be interested in responses to that problem too.
> I'm more interested in the growing database problem when you remove and
> add files :

> https://bugzilla.gnome.org/show_bug.cgi?id=645046

We plan to start working on this problem in a few weeks. Our current
idea is to create a journal format to make a periodic sort of copy of
meta.db as a snapshot.

That copy of meta.db would then be used as a starting point for the
normal journal to be appended to when replaying.

Then periodically, or at a certain journal size, would this snapshot be
made and would the normal journal be truncated (restarted).

Deleted content isn't in meta.db, so not copied to the snapshot. In the
normal journal - part deleted content would still be there, but that
will be periodically truncated.

Anyway, these are just ideas at the moment. But we're planning to work
on a solution soon.

Cheers,

Philip


> (Already brought that on the irc channel, just reminding)
> 
> Cheers,
> 
> --
> Lionel
> 
> On Wed, 2011-06-15 at 22:15 +0900, simon hong wrote:
> > Hi,
> > 
> > 
> > I ported tracker (ver. 0.9.20) to mipsel platform.
> > And tracker is build without any options.
> > 
> > 
> > After miner-fs is finished, I checked meta.db file size.
> > meta.db file size is almost 25MB.
> > 
> > 
> > I have 3000 files and it is source code and shard libs.
> > 
> > 
> > Are there any method to reduce db file size?
> > I think it is too large in embedded environment(flash memory).
> > 
> > 
> > Thank you.
> > Simon.
> > -- 
> > ======================================
> > Simon Hong
> > "Secret of success is consistency to purpose"
> > 
> > 
> > _______________________________________________
> > tracker-list mailing list
> > tracker-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/tracker-list
> 
> 
> _______________________________________________
> tracker-list mailing list
> tracker-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/tracker-list
> 

-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be

_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to