Environment Settings vs Database Settings - 04-12-2006 , 04:16 AM
a newbie question- I confess ;-)...
It is possible to specify the number of caches and cachesize in the
EnvironmentConfig as well as in the DatabaseConfig.
- What sense do the EnvironmentConfig settings wrt. caching make if I
can make the same settings in the DatabaseConfig? At first glance it
seems redundant- where is the difference?
- It seems to me that if I open a Database in an Environment, the cache
settings of the Environment are not used in the Database(?)
- Is there a way (aside from the manual way of get/set) to inherit the
cache settings of the Environment to the Database in that specific
- What is the purpose of the cache-count? Does each concurrent user
need his own cache?
Thanks for any hints you could give!
Re: Environment Settings vs Database Settings - 04-17-2006 , 01:33 PM
set the same parameter setting at the database level. You could set
them at the database level if you are not working with your own
Berkeley DB environment.
Because databases opened within Berkeley DB environments use the cache
specified to the environment, it is an error to attempt to set a cache
in a database created within an environment.