June 2001
Intermediate to advanced
688 pages
19h 18m
English
import com.sleepycat.db.*; public void set_data_dir(String dir) throws DbException;
Set the path of a directory to be used as the location of the access method database files. Paths specified to the Db.open function will be searched relative to this path. Paths set using this interface are additive, and specifying more than one will result in each specified directory being searched for database files. If any directories are specified, created database files will always be created in the first path specified.
If no database directories are specified, database files can only exist in the environment home directory. See “Berkeley DB File Naming” for more information.
For the greatest degree of recoverability from ...