Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

whitedb

> 编程语言
Open source

WhiteDB memory database

603 stars0 likes2 views
WebsiteGitHub

About

WhiteDB memory database

WhiteDB (wgdb) README

WhiteDB is a lightweight database library operating fully in main memory. Disk is used only for dumping/restoring database and logging.

Data is persistantly kept in the shared memory area: it is available simultaneously to all processes and is kept intact even if no processes are currently using the database.

WhiteDB has no server process. Data is read and written directly from/to memory, no sockets are used between WhiteDB and the application using WhiteDB.

WhiteDB keeps data as N-tuples: each database record is a tuple of N elements. Each element (record field) may have an arbitrary type amongst the types provided by WhiteDB. Each record field contains exactly one integer (4 bytes or 8 bytes). Datatypes which cannot be fit into one integer are allocated separately and the record field contains an (encoded) pointer to the real data.

WhiteDB is written in pure C in a portable manner and should compile and function without additional porting at least under Linux (gcc) and Windows (native Windows C compiler cl). It has Python and experimental Java bindings.

WhiteDB has several goals:

  • speed
  • portability
  • small footprint and low memory usage
  • usability as an rdf database
  • usability as an extended rdf database, xml database and outside these scopes
  • seamless integration with the Gandalf rule engine (work in progress)

Documentation included with the distribution:

  • Doc/Install.txt - the installation instructions
  • Doc/Tutorial.txt - getting started with the database
  • Doc/Manual.txt - full C API documentation
  • Doc/Utilities.txt - command line utilities and other programs
  • Doc/python.txt - Python API documentation

WhiteDB is licenced under GPL version 3.

We are no longer building release packages of WhiteDB.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言