Table of Contents
The Berkeley DB family of open source, embeddable databases provides developers with fast, reliable persistence with zero administration. Often deployed as "edge" databases, the Berkeley DB family provides very high performance, reliability, scalability, and availability for application use cases that do not require SQL.
As an open source database, Berkeley DB works on many different platforms, from Wind River's Tornado system, to VMS, to Windows NT and Windows 95, and most existing UNIX platforms. It runs on 32 and 64-bit machines, little or big-endian.
Berkeley DB Porting Guide provides the information you need to port Berkeley DB to additional platforms.
The following typographical conventions are used within in this manual:
Structure names are represented in monospaced font
, as are method
names
. For example: "DB->open()
is a method
on a DB
handle."
Variable or non-literal text is presented in italics. For example: "Go to your DB_INSTALL directory."
Program examples are displayed in a monospaced font
on a shaded background.
For example:
/* File: gettingstarted_common.h */ typedef struct stock_dbs { DB *inventory_dbp; /* Database containing inventory information */ DB *vendor_dbp; /* Database containing vendor information */ char *db_home_dir; /* Directory containing the database files */ char *inventory_db_name; /* Name of the inventory database */ char *vendor_db_name; /* Name of the vendor database */ } STOCK_DBS;
Finally, notes of interest are represented using a note block such as this.
This guide is intended for programmers porting Berkeley DB to a new platform. It assumes that these programmers possess:
Familiarity with standard ANSI C and POSIX C 1003.1 and 1003.2 library and system calls.
Working knowledge of the target platform as well as the development tools (for example, compilers, linkers, and debuggers) available on that platform.
Beyond this manual, you may also find the following sources of information useful when building a DB application: