Preface
Welcome to Berkeley DB (DB). Thisdocument provides an introduction and usage notes for skilled programmers whowish to use the Berkeley DB APIs.
欢迎使用Berkeley DB, 本文档为具有一定编程能力的且希望使用 BDBAPI 的程序员提供一个关于BDB的简介以及使用说明。
This document reflects Berkeley DB 11g Release 2, which provides DBlibrary version 11.2.5.1.
本文档对应BerkeleyDB 11g Release 2,提供的DB库版本为version 11.2.5.1.
Conventions Used in this Book
本书中遵循的约定
The following typographical conventions are used withinin this manual:
本手册使用以下排版约定:
Structure names are representedin monospaced font, as are method names. For example: "DB->open() is amethod on a DB handle."
结构体名字以及方法使用monospaced 字体。例如:
"DB->open() 指一个DB句柄的方法。"
Variable or non-literaltext is presented in italics. Forexample: "Go to your DB_INSTALL directory."
变量及非字面文字使用italics字体。例如:"切换到你的 DB_INSTALL 目录"。
Program examples are displayed in a monospaced font on a shadedbackground. For example:
程序示例使用monospaced字体,且带有阴影背景。例如:
/* 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;
Note
Finally, notes of interest are represented using a noteblock such as this.
最后,提醒注意的地方使用形象的标志描述。
For More Information
Beyond this manual, youmay also find the following sources of information useful when building a DBapplication:
除了本文档以外,在开发一个BDB应用时,你可以参考如下有用的资料:
• Getting Startedwith Transaction Processing for C
事务处理入门指南(C语言)
• Berkeley DBGetting Started with Replicated Applications for C
BDB可用性入门指南(C语言)
• Berkeley DB CAPI
BDB C语言参考手册
• Berkeley DB C++API
BDB C++语言参考手册
• Berkeley DB STLAPI
BDB STL参考手册
• Berkeley DB TCLAPI
BDB TCL参考手册
8/27/2010 DBReference Guide Page xi
• Berkeley DBInstallation and Build Guide
BDB 编译安装指南
• Berkeley DBUpgrade Guide
BDB升级指南
• Berkeley DBGetting Started with the SQL APIs
BDB SQL入门参考指南
To download the latest Berkeley DB documentation alongwith white papers and other
collateral, visit http://www.oracle.com/technetwork/indexes/documentation/index.html.
通过以下链接可以下载最新版本的BDB 白皮书及其他文档。
For the latest versionof the Oracle Berkeley DB downloads, visit http://www.oracle.com/
technetwork/database/berkeleydb/downloads/index.html.
通过以下链接可以下载最新版本的BDB发行。
Contact Us
You can post your comments and questions at the OracleTechnology (OTN) forum for Oracle
Berkeley DB at: http://forums.oracle.com/forums/forum.jspa?forumID=271,or for Oracle
Berkeley DB High Availability at: http://forums.oracle.com/forums/forum.jspa?forumID=272.
你可以在如下OTN论坛发布你关于BDB的意见及问题,或者通过如下论坛发布关于BDB高可用性的主题。
For sales or supportinformation, email to: [email protected] can subscribe
to a low-volume email announcement list for the Berkeley DB product family bysending email
to: [email protected]
有关销售或技术支持的信息,请发邮件给[email protected],你也可以通过发邮件给[email protected]订阅一个新闻组。