The DB 1.85 compatibility API is optional (so folks using both DB 1.85 and DB 2.N in a single library aren't surprised). To include it in the DB library, use the configuration option --enable-compat185. For consistency, the configuration option --enable-build185, previously found in DB 2.N releases, has been renamed to be --enable-dump185. See the file build.unix/README in the DB distribution for further information.
We have also made other changes in the DB 2.1.0 release so that historic DB 1.85 applications will generally perform better using the current release than they do using the historic release.
Please note that the underlying databases MUST still be converted from the historic format to the current format.
memp_stat(DB_MPOOL *, DB_MPOOL_STAT **, DB_MPOOL_FSTAT ***);
and it returns memory pool statistics to the calling application, in two new structures. See the manual page db_mpool(3) in the DB distribution for more information. We expect to add similar statistical functions to the other DB subsystems in future releases.
There is also a new utility, db_stat(1). This utility presents the statistics in human-readable form.