Skip to Content
Berkeley DB
book

Berkeley DB

by Sleepycat™ Software, Inc.
June 2001
Intermediate to advanced content levelIntermediate to advanced
688 pages
19h 18m
English
Sams
Content preview from Berkeley DB

Shared Memory Regions

Each of the Berkeley DB subsystems within an environment is described by one or more regions. The regions contain all of the per-process and per-thread shared information, including mutexes, that comprise a Berkeley DB environment. These regions are created in one of three areas, depending on the flags specified to the DBENV→open function:

  1. If the DB_PRIVATE flag is specified to DBENV→open, regions are created in per-process heap memory; that is, memory returned by malloc(3). In this case, the Berkeley DB environment may only be accessed by a single process, although that process may be multithreaded.

  2. If the DB_SYSTEM_MEM flag is specified to DBENV→open, regions are created in system memory.When regions are created in system ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Berkeley DB Book

The Berkeley DB Book

Himanshu Yadava
Linux Recipes for Oracle DBAs

Linux Recipes for Oracle DBAs

Darl Kuhn, Charles Kim, Bernard Lopuz
Fedora Linux

Fedora Linux

Chris Tyler

Publisher Resources

ISBN: 0735710643Purchase book