storr_bdb: Berkeley DB storr driver

Description Usage Arguments Design considerations Examples

Description

Berkeley DB storr driver.

Usage

1
2
3
storr_bdb(path, type = "BTREE", default_namespace = "objects")

driver_bdb(path, type = "BTREE")

Arguments

path

Path for the database. If NULL a transient in-memory database will be created.

type

Storage type for all the data. Sensible options are BTREE and HASH.

default_namespace

Default namespace (see storr).

Design considerations

Because there is no easy way of iterating over all keys (without retrieving all data), the data is stored in two different databases within the file; one called data the other called keys. This should make list_keys a bit faster, but list_data will always be very slow and memory intensive.

Examples

1
st <- storr_bdb(NULL)

richfitz/storr.bdb documentation built on May 27, 2019, 8:42 a.m.