June 2001
Intermediate to advanced
688 pages
19h 18m
English
The Berkeley DB environment is created and described by the db_env_create and DBENV→open interfaces. In situations where customization is desired, such as storing log files on a separate disk drive or selecting particular cache size, applications must describe the customization by either creating an environment configuration file in the environment home directory or by arguments passed to other DB_ENV handle methods.
Once an environment has been created, database files specified using relative pathnames will be named relative to the home directory. Using pathnames relative to the home directory allows the entire environment to be easily moved, simplifying restoration and recovery of a database in a different directory ...