Renaming the BLOB file feature to External Files

Functions
New Parameter Values
New Statistics

The BLOB file feature has been renamed to external files to avoid confusion with the SQL datatype BLOB. The functions and flags associated with BLOBs have been deprecated, and new functions have been added to replace them. Existing applications that use the old functions will still work, but users are encouraged to use the new functions.

Below is a list of the deprecated functions, flags, and statistics, along with the replacements.

Functions

New Parameter Values

  • DB_LOG_EXT_FILE replaces DB_LOG_BLOB as a flags parameter value for the DB_ENV->log_set_config() method.
  • DB_DBT_EXT_FILE replaces DB_DBT_BLOB as a flags parameter value for the DBT method.

New Statistics

DB->stat() now includes the following fields to replace the old fields in the returned statistical structure.

  • hash_ext_files replaces hash_nblobs
  • heap_ext_files replaces heap_nblobs
  • bt_ext_files replaces bt_nblobs