Projects / Tokyo Cabinet

Tokyo Cabinet

Tokyo Cabinet is a library of routines for managing a database. It is the successor of QDBM. Tokyo Cabinet runs very fast. For example, the time required to store 1 million records is 1.5 seconds for a hash database and 2.2 seconds for a B+ tree database. Moreover, the database size is very small. For example, the overhead for a record is 16 bytes for a hash database, and 5 bytes for a B+ tree database. Furthermore, the scalability of Tokyo Cabinet is great. The database size can be up to 8EB.

Operating Systems

Recent releases

  •  31 Aug 2010 08:41

    Release Notes: New functions were added, several potential memory leaks were resolved, and the site's documents were updated.

    •  21 Jun 2009 13:56

      Release Notes: Two kinds of inverted indices were added to the table database API. Token inverted index realizes tag search. Q-gram inverted index realizes full-text search.

      •  21 May 2009 01:08

        Release Notes: Auto defragmentation was added. Efficiency of the index mechanism of the table database was improved.

        •  15 Feb 2009 08:30

          Release Notes: Perl/Ruby interfaces of the table database API were added.

          •  12 Feb 2009 07:43

            Release Notes: Bugs related to a race condition in the hash database API were fixed. Utility functions were added for the table database API.

            Recent comments

            02 Jun 2009 20:21 AllanKirsch

            Fantastic! Your work allows the little guy/gal with a PC to compete against those with high-end computing platforms.

            20 Mar 2009 21:24 thejol

            It is just a great job from the author of TokyoCabinet, it is really an amazing work. Thank you for sharing this library


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.