CHAPTER 4Building a Simple Application Using Berkeley DB

The best way to get a feel for a new software product is to try it out by using it in a simple program. Since Berkeley DB is a developers' database, it's important that you get introduced to the API as quickly as possible.

In this chapter, I'll show you how to build a simple data store using Berkeley DB. This will allow you to become familiar with the main methods and terminology used in the Berkeley DB APIs. You'll learn about the Berkeley DB environment, which is one of the most important concepts for a Berkeley DB programmer to understand. Berkeley DB allows you to choose an access method for your application. I'll go over the various access methods available in Berkeley DB and explain ...

Get The Berkeley DB Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.