lmdb-0.9.35

#### Beyond Linux® From Scratch (System V Edition) - Version r13.0-791

### Chapter 22. Databases

- Prev

  Important Notes About Upgrading Database Server Software

- Next

  MariaDB-12.3.2

- Up
- Home

# lmdb-0.9.35

## Introduction to lmdb

The lmdb package is a fast, compact, key-value embedded data store. It uses memory-mapped files, so it has the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.35/LMDB_0.9.35.tar.bz2

- Download MD5 sum: 2b09899a3ea43dbc9833c1325a492bbd

- Download size: 119 KB

- Estimated disk space required: 6.6 MB

- Estimated build time: less than 0.1 SBU

## Installation of lmdb

Install lmdb by running the following commands:

    cd libraries/liblmdb &&
    make                 &&
    sed -i 's| liblmdb.a||' Makefile

This package does not come with a test suite.

Now, as the `root` user:

    make prefix=/usr install

## Command Explanations

sed ... liblmdb.a ... Makefile: The package executables use a static library so it must be created. This command suppresses installation of the static library.

## Contents

Installed Program: mdb_copy, mdb_dump, mdb_load, and mdb_stat
Installed Library: liblmdb.so
Installed Directories: None

### Short Descriptions

mdb_copy | copies an LMDB environment from one database to another, including the option to compact the database
mdb_dump | reads a database and writes its contents to standard output using a portable flat-text format, which can be interpreted by mdb_load
mdb_load | imports a database from standard input or from a file
mdb_stat | displays the status of a LMDB environment
`liblmdb.so` | provides functions for accessing a LMDB database

- Prev

  Important Notes About Upgrading Database Server Software

- Next

  MariaDB-12.3.2

- Up
- Home