Library Version 18.1.40

Configure Directory to Store Metadata Files
Prev | Chapter 12. Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3 | Next

## Configure Directory to Store Metadata Files

The directory in which persistent metadata files are stored can now be configured. By default persistent metadata files are stored in the environment home directory. The files that will be stored in the metadata directory are __db.rep.system, __db.rep.gen, __db.rep.egen and __db.rep.init.

To set the metadata file directory, call DB_ENV->set_metadata_dir() with the path to the directory in which to store metadata files. The metadata directory can also be set in the `DB_CONFIG` file using `set_metadata_dir`.

### New Functions

- DB_ENV->set_metadata_dir()
- DB_ENV->get_metadata_dir()

Prev | Up | Next
Updated JDBC Version | Home | Changes in the SQL API Build