Package ‘RBerkeley’ February 15, 2013 Type Package Title R API to Oracle Berkeley DB Version 0.7-4 Date 2011-02-14 Author Jeffrey A. Ryan SystemRequirements Oracle Berkeley DB 11gR2 Maintainer Jeffrey A. Ryan <jeff.a.ryan@gmail.com> Description Provides R Interface to Embedded Oracle Berkeley DB(tm) License GPL-3 OS_type unix Repository CRAN Date/Publication 2011-02-15 09:51:57 NeedsCompilation yes
R topics documented: RBerkeley-package . . . . . . . . BerkeleyDB Cursors . . . . . . . BerkeleyDB Database Operations BerkeleyDB Environments . . . . BerkeleyDB Mutexes . . . . . . . DBT . . . . . . . . . . . . . . . . db_create . . . . . . . . . . . . . db_env_create . . . . . . . . . . . db_put . . . . . . . . . . . . . . . mkFlags . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
Index
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
2 4 5 7 9 10 11 12 13 15 17
1
2
RBerkeley-package
RBerkeley-package
R Interface to Embedded Oracle Berkeley DB
Description Package provides a low and high level interface to the C API of the Oracle Berkeley DB embedded database product. Details Initial implementation will be to provide direct access to the low-level API calls in their entirety. The project will eventually include a higher-level interface to make using the DB from R easier. A large part of the API had been coded, though a much smaller subset is currently documented with respect to differences of design or necessity between RBerkleley and the C-API. Primary difference with respect to design include the automatic serialization of R objects via serialize. This can be bypassed by providing a RAW type vector to the get and put operations. From a API perspective, some functions related to threads are not yet implemented, as they are not an absolute priority. Additionally functions that require C level callback function pointers have also been intentionally skipped until a later time. All functions that appear in the RBerkeley documentation with an asterisk next to them are currently not available in the R API. Author(s) Jeffrey A. Ryan References Oracle Berkey DB 11gR2 http://www.oracle.com/technology/documentation/berkeley-db/db/index.html See Also Databases, Environments, Cursors, Mutexes Examples ## Not run: db_version() dbh <- db_create() # set some flags and open new db db_get_flags(dbh) db_set_flags(dbh,mkFlags(DB_DUP)) db_open(dbh,flags=mkFlags(DB_CREATE)) db_get_flags(dbh)
RBerkeley-package
db_get_dbname(dbh) # look for non-existant key db_get(dbh, key="mykey") # add a key=>value db_put(dbh, key=charToRaw("myKey"), data="myValue") x <- matrix(1:10) db_put(dbh, key="myKey2", data=x) db_put(dbh, key="myKey3", data="newValue") db_put(dbh, key="myKey4", data="myValue") db_key_range(dbh, key="myKey2") # add a few hundred keys/values system.time( for(i in 1:1000) { db_put(dbh, key=i, data=x) } ) # get value by key db_get(dbh, key="myKey2") db_set_priority(dbh, priority=mkFlags(DB_PRIORITY_VERY_LOW)) xr <- db_get(dbh, key="myKey2") xr unserialize(xr) # cursors dbc <- db_cursor(dbh) dbc2 <- dbcursor_dup(dbc) dbc2 dbcursor_get_priority(dbc) dbcursor_set_priority(dbc, flags=mkFlags(DB_PRIORITY_LOW)) dbcursor_get_priority(dbc) dbcursor_get(dbc, key=NULL, data=NULL, flags=0L, n=1L) # using mkFlags for bitwise OR operations on DB constants mkFlags(DB_SET); dbcursor_get(dbc2, key="myKey2", data=NULL, flags=mkFlags(DB_SET), n=1L) dbcursor_put(dbc2, key="mynewKey", data="MyNewValue", flags=mkFlags(DB_KEYFIRST)) dbcursor_get(dbc2, key="myKey2", data=NULL, flags=mkFlags(DB_PREV), n=1L) dbcursor_get(dbc2, key="myKey2", data=NULL, flags=mkFlags(DB_FIRST), n=1L) dbcursor_get(dbc, key=NULL, data=NULL, flags=0L, n=2L) # get 2 records dbcursor_close(dbc) dbcursor_close(dbc2) dbc <- db_cursor(dbh)
3
4
BerkeleyDB Cursors dbcursor_get(dbc, key=NULL, data=NULL, flags=0L, n=-1L) db_stat_print(dbh) db_stat_print(dbh, flags=mkFlags(DB_FAST_STAT)) dbcursor_close(dbc) db_exists(dbh, NULL, "myKey2", 0L) db_get(dbh,key="myKey") # flush to disk db_sync(dbh) db_get_type(dbh) # close db db_close(dbh) # remove (need new handle) dbh <- db_create() db_remove(dbh, "access.db", NULL) ## End(Not run)
BerkeleyDB Cursors
BerkeleyDB Database Operations and Methods
Description Low-level calls to the BerkeleyDB API. These functions simply wrap most of the DB functionality and expose it at the R level. Documentation on usage, valid arguments, and flags from the official Oracle C API should be all that is required to correctly use this API. Database Cursors
Description
db_cursor dbcursor_close dbcursor_count dbcursor_del dbcursor_dup dbcursor_get dbcursor_pget dbcursor_put dbcursor_set_priority
Create a cursor Close a cursor Return count of duplicates Delete by cursor Duplicate a cursor Retrieve by cursor Retrieve by cursor Store by cursor Set the cursorâ&#x20AC;&#x2122;s cache priority
BerkeleyDB Database Operations
5
Details The user should refer to the official API documentation for the Berkeley DB database available from Oracle. Value Varies by function call. Author(s) Jeffrey A. Ryan for the R API References Oracle Berkeley DB http://www.oracle.com/technology/documentation/berkeley-db/db/index.html Oracle Berkeley DB C API http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html Oracle Berkeley DB Reference Guide http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
BerkeleyDB Database Operations BerkeleyDB Database Operations and Methods
Description Low-level calls to the BerkeleyDB API. These functions simply wrap most of the DB functionality and expose it at the R level. Documentation on usage, valid arguments, and flags from the official Oracle C API should be all that is required to correctly use this API. Database Operations
Description
db_create db_associate* db_close db_compact db_cursor db_del db_err* db_errx* db_exists db_fd db_get
Create a database handle Associate a secondary index Close a database Compact a database Create a cursor Delete items from a database Error message Error message Return if an item appears in a database Return a file descriptor from a database Get items from a database
6
BerkeleyDB Database Operations db_pget* db_get_byteswapped db_get_type db_join* db_key_range db_open db_put db_remove db_rename db_set_priority db_stat, db_sync db_truncate db_upgrade db_verify* db_strerror db_version
Get items from a database Return if the underlying database is in host order Return the database type Perform a database join on cursors Return estimate of key location Open a database Store items into a database Remove a database Rename a database Set cache page priority db_stat_print Database statistics Flush a database to stable storage Empty a database Upgrade a database Verify/salvage a database Error strings Return version information
Database Configuration
Description
db_set_alloc* db_set_cachesize db_set_dup_compare* db_set_encrypt db_set_errcall* db_set_msgcall* db_set_errfile db_set_msgfile db_set_errpfx db_set_feedback* db_set_flags db_set_lorder db_set_pagesize
Set local space allocation functions Set the database cache size Set a duplicate comparison function Set the database cryptographic key Set error and informational message callback Set error and informational message callback Set error and informational message FILE Set error and informational message FILE Set error message prefix Set feedback callback General database configuration Set the database byte order Set the underlying database page size
Details The user should refer to the official API documentation for the Berkeley DB database available from Oracle. Value Varies by function call. Author(s) Jeffrey A. Ryan for the R API
BerkeleyDB Environments
7
References Oracle Berkeley DB http://www.oracle.com/technology/documentation/berkeley-db/db/index.html Oracle Berkeley DB C API http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html Oracle Berkeley DB Reference Guide http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
BerkeleyDB Environments BerkeleyDB Database Environment Operations
Description Low-level calls to the BerkeleyDB API. These functions simply wrap most of the DB functionality and expose it at the R level. Documentation on usage, valid arguments, and flags from the official Oracle C API should be all that is required to correctly use this API. Database Environment Operations
Description
db_env_create db_get_env dbenv_close dbenv_dbremove dbenv_dbrename dbenv_err* dbenv_errx* dbenv_failchk* dbenv_fileid_reset* dbenv_get_home dbenv_get_open_flags dbenv_lsn_reset* dbenv_open dbenv_remove dbenv_stat_print
Create an environment handle Return DBâ&#x20AC;&#x2122;s underlying DB_ENV handle Close an environment Remove a database Rename a database Error message Error message Check for thread failure Reset database file IDs Return environmentâ&#x20AC;&#x2122;s home directory Return flags with which the environment was opened Reset database file LSNs Open an environment Remove an environment Environment statistics
Environment Configuration
Description
dbenv_set_alloc* dbenv_set_app_dispatch* dbenv_set_cachesize dbenv_set_data_dir dbenv_set_encrypt
Set local space allocation functions Configure application recovery Set the environment cache size Set the environment data directory Set the environment cryptographic key
8
BerkeleyDB Environments dbenv_set_errcall* dbenv_set_msgcall* dbenv_set_errfile dbenv_set_msgfile dbenv_set_errpfx dbenv_set_event_notify* dbenv_set_feedback* dbenv_set_flags dbenv_set_isalive* dbenv_set_intermediate_dir_mode dbenv_set_rpc_server* dbenv_set_shm_key dbenv_set_thread_id* dbenv_set_thread_count* dbenv_set_thread_id_string* dbenv_set_timeout* dbenv_set_tmp_dir dbenv_set_verbose
Set error and informational message callbacks Set error and informational message callbacks Set error and informational message FILE Set error and informational message FILE Set error message prefix Set event notification callback Set feedback callback Environment configuration Set thread is-alive callback Set intermediate directory creation mode Establish an RPC server connection Set system memory shared segment ID Set thread of control ID function Set approximate thread count Set thread of control ID format function Set lock and transaction timeout Set the environment temporary file directory Set verbose messages
Details The user should refer to the official API documentation for the Berkeley DB database available from Oracle.
Value Varies by function call.
Author(s) Jeffrey A. Ryan for the R API
References Oracle Berkeley DB http://www.oracle.com/technology/documentation/berkeley-db/db/index.html Oracle Berkeley DB C API http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html Oracle Berkeley DB Reference Guide http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
BerkeleyDB Mutexes
BerkeleyDB Mutexes
9
BerkeleyDB Database Operations and Methods
Description Low-level calls to the BerkeleyDB API. These functions simply wrap most of the DB functionality and expose it at the R level. Documentation on usage, valid arguments, and flags from the official Oracle C API should be all that is required to correctly use this API. Mutexes
Description
dbenv_mutex_alloc dbenv_mutex_free dbenv_mutex_lock dbenv_mutex_stat dbenv_mutex_unlock
Allocate a mutex Free a mutex Lock a mutex Mutex statistics Unlock a mutex
Mutexes Configuration
Description
dbenv_mutex_set_align* dbenv_mutex_set_increment* dbenv_mutex_set_max* dbenv_mutex_set_tas_spins*
Configure mutex alignment Configure number of additional mutexes Configure total number of mutexes Configure test-and-set mutex spin count
Details The user should refer to the official API documentation for the Berkeley DB database available from Oracle. Value Varies by function call. Author(s) Jeffrey A. Ryan for the R API References Oracle Berkeley DB http://www.oracle.com/technology/documentation/berkeley-db/db/index.html Oracle Berkeley DB C API http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html
10
DBT Oracle Berkeley DB Reference Guide http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
Create DBT Structure
DBT
Description Berkeley DB uses a C-level struct referred to as a DBT (short for Data Base Thang). This is represented in the R code as a list of class DBT. At present it is only used in db_get calls to allow for more advance operations such as partial record retrieval. Usage DBT(data = NULL, size = NULL, ulen = NULL, dlen = NULL, doff = NULL, flags = NULL) Arguments data
An R object of type â&#x20AC;&#x2DC;rawâ&#x20AC;&#x2122;.
size
The size (in bytes) of the data object. Must be integer or NULL.
ulen
The ulen attribute of DBT. Must be integer or NULL.
dlen
The dlen attribute of DBT. Used for partial get/put. Must be integer or NULL.
doff
The dlen attribute of DBT. Used for partial get/put. Must be integer or NULL.
flags
The flags to DBT. Must be 0 or a valid DBT flag.
Details This interface to the underlying Berkeley DB DBT structure is currently experimental, and is only supported in limited places in RBerkeley. Value A DBT object. Author(s) Jeffrey A. Ryan References Official Oracle Documentation for DBT structs: http://www.oracle.com/technology/documentation/ berkeley-db/db/api_reference/C/dbt.html
db_create
11
Create A Database Handle
db_create
Description Create a database handle Usage db_create(dbenv = NULL, flags = 0L) Arguments dbenv
A DB_ENV handle created with db_env_create, or NULL
flags
flags parameter created with mkFlags
Details See Berkeley DB API documentation for usage details. Value A database handle. Author(s) Jeffrey A. Ryan References Oracle Berkeley DB API http://www.oracle.com/technology/documentation/berkeley-db/db/index.html
See Also Databases db_env_create Examples ## Not run: dbh <- db_create() ## End(Not run)
12
db_env_create
Create An Environment Handle
db_env_create
Description Create An Environment Handle Usage db_env_create(flags = 0L) Arguments flags
flags parameter created with mkFlags
Details See Berkeley DB API documentation for usage details. Value A database environment handle. Author(s) Jeffrey A. Ryan References Oracle Berkeley DB API http://www.oracle.com/technology/documentation/berkeley-db/db/index.html
See Also Environments db_create Examples ## Not run: dbh <- db_env_create() ## End(Not run)
db_put
db_put
13
Methods to Store And Retrieve Database Records
Description Store and retrieve R objects as key/value pairs from a Berkeley DB. Usage db_put(dbh, txnid=NULL, key, data, flags=0L) db_get(dbh, txnid=NULL, key, data, flags=0L) dbcursor_put(dbc, key, data, flags) dbcursor_get(dbc, key, data, flags, n) Arguments dbh
A DB handle to an open Berkeley database.
dbc
A DBC handle to an open cursor.
txnid
A DB_TXN transaction handle. (currently ignored)
key
An R object, raw or will be coerced to raw. See details.
data
An R object, raw or will be coerced to raw. See details.
flags
A valid flag created with mkFlags.
n
Elements to return.
Details BerkeleyDB uses key/data pairs for records, with no underlying data schema. This allows for arbitrary byte-strings to be stored as keys or values in a DB. Internally these are a C struct of type DBT. To the RBerkeley user, these objects can range from standard (serialized) R objects to anything representable as a RAW vector in R, which is everything. The design of db_put, db_get, dbcursor_put and dbcursor_get differ from package philosophy in that by default all objects are preprocessed via R to make usable byte strings (RAW vectors) for internal Berkeley use. When passed an R object of any type, a check is made to see if it needs to be converted into a raw vector, if so the serialize function is called. This conversion is applied to both key and value automatically. To avoid the use of serialize one must provide a vector of class raw. The db_get and dbcursor_get methods will return a vector or list of vectors of type raw. Further application specific processing may be required.
14
db_put
Value *put functions return non-zero on failure, 0 on success. The *get calls will return a raw vector that must be processed on success, or non-zero on failure. These functions are called for their database side effects. Note Serialized objects in R have certain limitations with respect to underlying design considerations. Author(s) Jeffrey A. Ryan References BerkeleyDB DB->put http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_put.html BerkeleyDB DB->get http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_get.html See Also serialize, unserialize Examples ## Not run: dbh <- db_create() db_open(dbh, flags=mkFlags(DB_CREATE)) db_put(dbh, key="key", data="value") db_get(dbh, key="key") # serialized "value" unserialize(db_get(dbh, key="key")) # "value" db_put(dbh, key=charToRaw("key2"), data=charToRaw("value")) db_get(dbh, key=charToRaw("key2")) rawToChar(db_get(dbh, key=charToRaw("key2"))) # what you expect, "value" db_get(dbh, key="key2")
# not there, must use symmetric marshalling/conversion
db_close(dbh) # close DB dbh <- db_create() db_remove(dbh, "access.db", NULL) ## End(Not run)
mkFlags
mkFlags
15
Create Valid Flags For DB Calls
Description Allows for unquoted DB API-like constant names to be bitwise ORâ&#x20AC;&#x2122;d together for passing into low-level database calls. Usage mkFlags(...) Arguments ...
quoted or unquoted comma separated names of DB constants
Details The Berkeley DB (tm) database makes use of predefined constants in the C code to pass as flags to many of the function calls. These flags may be combined, using bitwise OR logic, and the resultant value can than be used as a valid flag argument. This function takes unquoted arguments that match the underlying API flag/constant names. If a name is passed that is not part of the available API, a warning is returned and the argument is effectively ignored. If this value should be present, and simply isnâ&#x20AC;&#x2122;t please submit a bug report to the RBerkeley maintainer. All bitwise operations are within the C code to allow for maximum consistency with the API, as well as allowing as close to the API semantics as possible. Value An integer suitable for use as a flags argument in the lower-level API calls. Author(s) Jeffrey A. Ryan References Oracle BerkeleyDB http://www.oracle.com
16
mkFlags
Examples mkFlags(DB_CREATE) mkFlags(DB_CREATE, DB_EXCL) mkFlags(DB_CREATE, DB_EXCL, DB_NOMMAP) mkFlags(DB_RDONLY) # DB_NOTHERE is not valid, throws warning ## Not run: mkFlags(DB_NOMMAP,DB_CONSTANT_NOT_DEFINED) ## End(Not run)
Index ∗Topic database BerkeleyDB Cursors, 4 BerkeleyDB Database Operations, 5 BerkeleyDB Environments, 7 BerkeleyDB Mutexes, 9 db_create, 11 db_env_create, 12 db_put, 13 DBT, 10 mkFlags, 15 ∗Topic interface DBT, 10 ∗Topic misc mkFlags, 15 ∗Topic package RBerkeley-package, 2 BerkeleyDB BerkeleyDB BerkeleyDB BerkeleyDB
db_err (BerkeleyDB Database Operations), 5 db_errx (BerkeleyDB Database Operations), 5 db_exists (BerkeleyDB Database Operations), 5 db_fd (BerkeleyDB Database Operations), 5 db_get (db_put), 13 db_get_byteswapped (BerkeleyDB Database Operations), 5 db_get_cachesize (BerkeleyDB Database Operations), 5 db_get_dbname (BerkeleyDB Database Operations), 5 db_get_encrypt_flags (BerkeleyDB Database Operations), 5 db_get_env (BerkeleyDB Environments), 7 db_get_errpfx (BerkeleyDB Database Operations), 5 db_get_flags (BerkeleyDB Database Operations), 5 db_get_lorder (BerkeleyDB Database Operations), 5 db_get_mpf (BerkeleyDB Database Operations), 5 db_get_pagesize (BerkeleyDB Database Operations), 5 db_get_priority (BerkeleyDB Database Operations), 5 db_get_type (BerkeleyDB Database Operations), 5 db_getP (db_put), 13 db_join (BerkeleyDB Database Operations), 5 db_key_range (BerkeleyDB Database Operations), 5 db_open (BerkeleyDB Database Operations), 5
Cursors, 4 Database Operations, 5 Environments, 7 Mutexes, 9
Cursors, 2 Cursors (BerkeleyDB Cursors), 4 Databases, 2, 11 Databases (BerkeleyDB Database Operations), 5 DB (BerkeleyDB Database Operations), 5 db_associate (BerkeleyDB Database Operations), 5 db_close (BerkeleyDB Database Operations), 5 db_compact (BerkeleyDB Database Operations), 5 db_create, 11, 12 db_cursor (BerkeleyDB Cursors), 4 db_del (BerkeleyDB Database Operations), 5 db_env_create, 11, 12 17
18 db_pget (BerkeleyDB Database Operations), 5 db_put, 13 db_remove (BerkeleyDB Database Operations), 5 db_rename (BerkeleyDB Database Operations), 5 db_set_alloc (BerkeleyDB Database Operations), 5 db_set_cachesize (BerkeleyDB Database Operations), 5 db_set_dup_compare (BerkeleyDB Database Operations), 5 db_set_encrypt (BerkeleyDB Database Operations), 5 db_set_errcall (BerkeleyDB Database Operations), 5 db_set_errfile (BerkeleyDB Database Operations), 5 db_set_errpfx (BerkeleyDB Database Operations), 5 db_set_feedback (BerkeleyDB Database Operations), 5 db_set_flags (BerkeleyDB Database Operations), 5 db_set_lorder (BerkeleyDB Database Operations), 5 db_set_msgcall (BerkeleyDB Database Operations), 5 db_set_msgfile (BerkeleyDB Database Operations), 5 db_set_pagesize (BerkeleyDB Database Operations), 5 db_set_priority (BerkeleyDB Database Operations), 5 db_set_re_source (BerkeleyDB Database Operations), 5 db_stat (RBerkeley-package), 2 db_stat, (BerkeleyDB Database Operations), 5 db_stat_print (BerkeleyDB Database Operations), 5 db_strerror (BerkeleyDB Database Operations), 5 db_sync (BerkeleyDB Database Operations), 5 db_truncate (BerkeleyDB Database Operations), 5
INDEX db_upgrade (BerkeleyDB Database Operations), 5 db_verify (BerkeleyDB Database Operations), 5 db_version (BerkeleyDB Database Operations), 5 DBC (BerkeleyDB Cursors), 4 dbcursor_close (BerkeleyDB Cursors), 4 dbcursor_count (BerkeleyDB Cursors), 4 dbcursor_del (BerkeleyDB Cursors), 4 dbcursor_dup (BerkeleyDB Cursors), 4 dbcursor_get (db_put), 13 dbcursor_get_priority (BerkeleyDB Cursors), 4 dbcursor_pget (BerkeleyDB Cursors), 4 dbcursor_put (db_put), 13 dbcursor_set_priority (BerkeleyDB Cursors), 4 dbenv_close (BerkeleyDB Environments), 7 dbenv_dbremove (BerkeleyDB Environments), 7 dbenv_dbrename (BerkeleyDB Environments), 7 dbenv_err (BerkeleyDB Environments), 7 dbenv_errx (BerkeleyDB Environments), 7 dbenv_failchk (BerkeleyDB Environments), 7 dbenv_fileid_reset (BerkeleyDB Environments), 7 dbenv_get_cachesize (BerkeleyDB Environments), 7 dbenv_get_data_dirs (BerkeleyDB Environments), 7 dbenv_get_errpfx (BerkeleyDB Environments), 7 dbenv_get_flags (BerkeleyDB Environments), 7 dbenv_get_home (BerkeleyDB Environments), 7 dbenv_get_intermediate_dir_mode (BerkeleyDB Environments), 7 dbenv_get_open_flags (BerkeleyDB Environments), 7 dbenv_get_shm_key (BerkeleyDB Environments), 7 dbenv_get_tmp_dir (BerkeleyDB Environments), 7 dbenv_get_verbose (BerkeleyDB
INDEX Environments), 7 dbenv_lsn_reset (BerkeleyDB Environments), 7 dbenv_memp_stat_print (BerkeleyDB Environments), 7 dbenv_mutex_alloc (BerkeleyDB Mutexes), 9 dbenv_mutex_free (BerkeleyDB Mutexes), 9 dbenv_mutex_lock (BerkeleyDB Mutexes), 9 dbenv_mutex_set_align (BerkeleyDB Mutexes), 9 dbenv_mutex_set_increment (BerkeleyDB Mutexes), 9 dbenv_mutex_set_max (BerkeleyDB Mutexes), 9 dbenv_mutex_set_tas_spins (BerkeleyDB Mutexes), 9 dbenv_mutex_stat (BerkeleyDB Mutexes), 9 dbenv_mutex_stat_print (BerkeleyDB Mutexes), 9 dbenv_mutex_unlock (BerkeleyDB Mutexes), 9 dbenv_open (BerkeleyDB Environments), 7 dbenv_remove (BerkeleyDB Environments), 7 dbenv_set_alloc (BerkeleyDB Environments), 7 dbenv_set_app_dispatch (BerkeleyDB Environments), 7 dbenv_set_cachesize (BerkeleyDB Environments), 7 dbenv_set_data_dir (BerkeleyDB Environments), 7 dbenv_set_encrypt (BerkeleyDB Environments), 7 dbenv_set_errcall (BerkeleyDB Environments), 7 dbenv_set_errfile (BerkeleyDB Environments), 7 dbenv_set_errpfx (BerkeleyDB Environments), 7 dbenv_set_event_notify (BerkeleyDB Environments), 7 dbenv_set_feedback (BerkeleyDB Environments), 7 dbenv_set_flags (BerkeleyDB Environments), 7 dbenv_set_intermediate_dir_mode
19 (BerkeleyDB Environments), 7 dbenv_set_isalive (BerkeleyDB Environments), 7 dbenv_set_msgcall (BerkeleyDB Environments), 7 dbenv_set_msgfile (BerkeleyDB Environments), 7 dbenv_set_rpc_server (BerkeleyDB Environments), 7 dbenv_set_shm_key (BerkeleyDB Environments), 7 dbenv_set_thread_count (BerkeleyDB Environments), 7 dbenv_set_thread_id (BerkeleyDB Environments), 7 dbenv_set_thread_id_string (BerkeleyDB Environments), 7 dbenv_set_timeout (BerkeleyDB Environments), 7 dbenv_set_tmp_dir (BerkeleyDB Environments), 7 dbenv_set_verbose (BerkeleyDB Environments), 7 dbenv_stat_print (BerkeleyDB Environments), 7 dbenv_txn_begin (RBerkeley-package), 2 dbenv_txn_stat_print (RBerkeley-package), 2 DBT, 10 dbtxn_abort (RBerkeley-package), 2 dbtxn_commit (RBerkeley-package), 2 dbtxn_id (RBerkeley-package), 2 Environments, 2, 12 Environments (BerkeleyDB Environments), 7 mkFlags, 15 Mutexes, 2 Mutexes (BerkeleyDB Mutexes), 9 RBerkeley (RBerkeley-package), 2 rberkeley (RBerkeley-package), 2 RBerkeley-package, 2 serialize, 14 unserialize, 14