LDBA is a high-performance, low-memory-footprint, single-file embedded database for key/value storage and retrieval written in pure PHP.

It is inspired by Erlang's Dets and Berkeley DB sofware and includes implementation of extended linear hashing for fast key/value access and implementation of a fast buddy storage allocator for file space management.

LDBA supports insertion and deletion of records and lookup by exact key match only. Applications may iterate over all records stored in a database, but the order in which they are returned is undefined. Fault tolerance is achieved by automatic crash recovery thanks to transactional style writes. The size of LDBA files cannot exceed 2GB.

LDBA provides functions compatible with php_dba (Database Abstraction Layer) for easy adoption in existing software.

Requirements: PHP 5.4+

The library is being used, for example, as base storage interface in the PrivMX WebMail software.

Monthly Downloads: 0
Programming language: PHP
License: MIT License
Tags: Files     Database     Storage     Db    

LDBA alternatives and related libraries

Based on the "Database" category

Do you think we are missing an alternative of LDBA or a related project?

Add another 'Database' Library

LDBA Recommendations

There are no recommendations yet. Be the first to promote LDBA!

Have you used LDBA? Share your experience. Write a short recommendation and LDBA, you and your project will be promoted on Awesome PHP.
Recommend LDBA

Recently added LDBA resources

Do you know of a usefull tutorial, book or news relevant to LDBA?
Be the first to add one!