数十メガバイトのファイルをどんどん格納できるDB (210レス)
1-

117: 2008/02/05(火)16:29 ID:YCRs/Gjo(1) AAS
dcache: disk based caching library
http://www.ohse.de/uwe/dcache.html

dcache is a database library implementing a persistent first-in-first-out cache.
The database (or `cache') size limits are configured at creation time,
and as soon as they are reached the oldest records are automatically removed.
A number of commandline tools for managing the database are included.

* The database size is limited to 63 bits on operating systems supporting large files.
* The database size is limited to 31 bits (2 gigabytes) on operating systems not supporting large files.
* The sum of the length of key, data and record overhead is limited to 31 bits (2 gigabytes).
* The record overhead in the data area is 16 bytes.
* The number of possible keys is limited by the address space of the process, or somewhat over 200 million, whatever comes first.
* Storage of numbers is done in big endian byte order (`network byte order’). Databases are portable between hosts with different byte orders.
* The size of the cache and the number of records in it are set at creation time.
* The cache is cleaned up automatically, removing old records if there’s not enough space for data or records.
* Deletions are supported.
* Multiple readers and writers are supported, provided that the applications lock to database.
* Keys need not be unique.
1-
あと 93 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.003s