On Tue, 24 Jun 2003, Lachlan Andrew wrote:

> I don't think it is an issue of "tweaking".  As long as the
> environment is not the *same* environment as the rest of the
> database, it will not share the cache.  We could have another
> environment with all the same parameters.  (However we would probably
> not want a cache, since the file shouldn't be used often.)

  Do you know for certain that the environment is the same?  It would be
nice if I could duplicate this bug, but I've never been able to.

  This smells like something that should be handled in the WordDB class at
the DB API level.

1)  I notice that in WordDB there is a dbenv that is used with a BDB
  create function.

  There is also a set_cachesize() function in the C API.

  I'm wonder if we just set this variable to zero if that would have the
  desired effect.

2) I previously devised a 'cache' that works above the BDB API level for
the WordDB class.  This scheme would probably compensate for the loss of
performance from eliminating the internal cache.


Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to