[pybsddb] DbEnv::mutex_set_max

Matthieu Imbert matthieu.imbert at ens-lyon.fr
Fri Jun 26 07:15:13 CEST 2009


George Feinberg wrote:
> One more point -- pretty much all of the DbENV configuration,
> including this one, can be controlled using a DB_CONFIG file in your
> environment
> directory.  Note that it takes precedence over your direct API calls.
> 
> George

Strangely, i partially failed to tweak configuration using DB_CONFIG,
the results where different than making API calls from C++. Perhaps i
did something wrong since i'm quite new to berkeley DB, but anyway i
prefer the API calls since my code will dynamically create environments

one workaround would be to programmatically create the env from python,
then close it, then programmatically generate the DB_CONFIG file, then
reopen the environment, but having directly the api call is more convenient.

Matthieu



More information about the pybsddb mailing list