Master leases Changing group size Master leases Some applications have strict requirements about the consistency of data read on a master site. Berkeley DB provides a mechanis...
Locking with transactions: two-phase locking Locking with transactions: two-phase locking Berkeley DB uses a locking protocol called two-phase locking (2PL). This is the tradit...
Environment infrastructure Environment infrastructure When building transactional applications, it is usually necessary to build an administrative infrastructure around the dat...
Storing C/C++ structures/objects Storing C/C++ structures/objects Berkeley DB can store any kind of data, that is, it is entirely 8-bit clean. How you use this depends, to some...
Chapter 3. Access Method Operations Database open Chapter 3. Access Method Operations Once a database handle has been created using db_create() , there are several standard ...
Connecting to a new site Connecting to a new site To add a new site to the replication group all that is needed is for the client member to join. Berkeley DB will perform an in...
Building replicated applications Building replicated applications The simplest way to build a replicated Berkeley DB application is to first build (and debug!) the transactiona...
Logical record numbers Logical record numbers The Berkeley DB Btree, Queue and Recno access methods can operate on logical record numbers. Record numbers are 1-based, not 0-bas...
Getting Started with Transactional Data Store Applications Getting Started with Transactional Data Store Applications Opening the Environment Use DB_ENV->open() to initializ...