Configures a database environment.

The syntax of the entry in the DB_CONFIG file is a single line with the string set_flags, one or more whitespace characters, the method flag parameter as a string, optionally one or more whitespace characters, and the string on or off. If the optional string is omitted, the default is on; for example, set_flags DB_TXN_NOSYNC or set_flags DB_TXN_NOSYNC on. Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time.

The method flag parameters are as follows:

For more information, see DbEnv::set_flags().