MDB_meta Struct Reference
[MDB Internals]

Data Fields

uint32_t mm_magic
uint32_t mm_version
void * mm_address
size_t mm_mapsize
MDB_db mm_dbs [2]
pgno_t mm_last_pg
txnid_t mm_txnid

Detailed Description

Meta page content. A meta page is the start point for accessing a database snapshot. Pages 0-1 are meta pages. Transaction N writes meta page #(N % 2).


Field Documentation

Stamp identifying this as an MDB file. It must be set to MDB_MAGIC.

Version number of this lock file. Must be set to MDB_DATA_VERSION.

address for fixed mapping

size of mmap region

first is free space, 2nd is main db

last used page in file

txnid that committed this page


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 2 Nov 2015 for MDB by  doxygen 1.6.1