Getting Started with Berkeley DB
Legal Notice
This documentation is distributed under an open source license. You may review the terms of this license at: http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html
Oracle, Berkeley DB, and Sleepycat are trademarks or registered trademarks of Oracle. All rights to these marks are reserved. No third-party use is permitted without the express prior written consent of Oracle.
Other names may be trademarks of their respective owners.
To obtain a copy of this document's original source code, please submit a request to the Oracle Technology Network forum at: http://forums.oracle.com/forums/forum.jspa?forumID=271
9/9/2013
Table of Contents
1. Introduction to Berkeley DB
Choosing between BTree and Hash
Choosing between Queue and Recno
Database Limits and Portability
Managing Databases in Environments
Reading and Writing Database Records
Writing Records to the Database
Getting Records from the Database
Getting Records Using the Cursor
Working with Duplicate Records
Deleting Records Using Cursors
Replacing Records Using Cursors
Opening and Closing Secondary Databases
Deleting Secondary Database Records
Using Cursors with Secondary Databases
Secondary Databases with example_database_load
Secondary Databases with example_database_read
List of Examples
2.2. The stock_db Utility Functions
2.4. The databases_setup() Function
2.5. The databases_close() Function
3.1. VENDOR Structure