2015-11-05

tcl-lmdb v0.2

檔案放置網頁


tcl-lmdb - Tcl interface to the Lightning Memory-Mapped Database

About


This is the Lightning Memory-Mapped Database (LMDB) extension for Tcl using the Tcl Extension Architecture (TEA).

LMDB is a Btree-based database management library with an API similar to BerkeleyDB. The library is thread-aware and supports concurrent read/write access from multiple processes and threads. The DB structure is multi-versioned, and data pages use a copy-on-write strategy, which also provides resistance to corruption and eliminates the need for any recovery procedures. The database is exposed in a memory map, requiring no page cache layer of its own. This extension provides an easy to use interface for accessing LMDB database files from Tcl.

Change Log


  • generic/tclmdb.c: Update source code
  • generic/mdb.c: Update source code
  • generic/tclmdb.c: Implement dbi_handle stat command
  • generic/tclmdb.c: lmdb open command add option:-reversekey and -reversedup
  • Makefile.in: add workaround for glibc pthread robust mutex support fix (for Linux glibc < 2.12)

2015/11/06 update, keep version to 0.2


  • configure.ac: add --with-system-lmdb option, causes the TCL bindings to LMDB to use the system shared library for LMDB. Default setting is no.
  • generic/tclmdb.c: Add LMDB version check in env_handle copy command. Using mdb_env_copy2 function need >= version 0.9.14.

Add --with-system-lmdb option to configure file (default setting is no).

If your Linux distribution (ex. Debian, Ubuntu, Fedora, and OpenSuSE) includes LMDB, now tcl-lmdb support to use the system shared library for LMDB.

Below is an example:
./configure --with-system-lmdb=yes

沒有留言: