-I<Berkeley DB Reference Guide: Programmer Notes[P6

Berkeley DB Reference Guide: Programmer Notes



,

Run-time configuration



MThere are two main ways of configuring Berkeley DB at run-time. The first issdb_jump_set, which allows applications to intercept Berkeley DBIrequests for underlying library or system call functionality. The seconduis db_value_set which allows applications to re-configure, on an.application-wide basis, Berkeley DB behaviors.

The db_jump_set and db_value_set interfaces are onlyavailable from the C API.

IA not-uncommon problem for applications is the new API in Solaris 2.6 forImanipulating large files. As this API was not part of Solaris 2.5, it isJdifficult to create a single binary that takes advantage of the large fileIfunctionality in Solaris 2.6 but which still run on Solaris 2.5. Examplewcode that allows this, using the db_jump_set interface, is includedhere.

NA