mdbm_create [-23LNz] [-a record-alignment] [-c cache-mode] [-d mbytes] [-h hash-function] [-l spill-size] [-m int] [-p bytes] [-s mbytes] mdbm
mdbm_create creates a new MDBM according to the specified options.
-2 | Create v2 format mdbm. | ||||||||||||||||||||||||
-3 | [Default] Create v3 format mdbm. | ||||||||||||||||||||||||
-a record-alignment | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
-c cache-mode |
The default is not to enable cache mode. | ||||||||||||||||||||||||
-d mbytes | Specify initial size of db (default: minimum). Suffix k/m/g may be used to override default of m. | ||||||||||||||||||||||||
-h hash-function | |||||||||||||||||||||||||
Create DB using hash function hash-function.
hash-function for MDBM V2 are 0-9 only. | |||||||||||||||||||||||||
-L | Enable large-object mode | ||||||||||||||||||||||||
-l spill-size | Set the number of spill size bytes for data to be put on large-object heap. Large objects must be enabled with the -L option for this option to be applicable. The default is 75% of the page size. | ||||||||||||||||||||||||
-m int | File permissions (default: 0666). | ||||||||||||||||||||||||
-p bytes | Specify size of main db (remainder is large-object/overflow space). Suffix k/m/g may be used to override default of m. | ||||||||||||||||||||||||
-s mbytes | Truncate db if it already exists. |
Returns 0 upon success, non-zero upon failure.
mdbm_check(1), mdbm_compare(1), mdbm_copy(1), mdbm_create(1), mdbm_digest(1), mdbm_dump(1), mdbm_export(1), mdbm_fetch(1), mdbm_import(1), mdbm_purge(1), mdbm_replace(1), mdbm_restore(1), mdbm_save(1), mdbm_stat(1), mdbm_sync(1), mdbm_trunc(1)
mdbm-users <mdbm-users@yahoo-inc.com>