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.
DB->set_ext_file_dir()
replaces
DB->get_blob_dir
.
DB->get_ext_file_threshold()
replaces
DB->get_blob_threshold
.
DB->set_ext_file_dir()
replaces
DB->set_blob_dir
.
DB->set_ext_file_threshold()
replaces
DB->set_blob_threshold
.
DB_ENV->get_ext_file_dir()
replaces
DB_ENV->get_blob_dir
.
DB_ENV->get_ext_file_threshold()
replaces
DB_ENV->get_blob_threshold
.
DB_ENV->set_ext_file_dir()
replaces
DB_ENV->set_blob_dir
.
DB_ENV->set_ext_file_threshold()
replaces
DB->set_blob_threshold
.
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.
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