Berkeley DB: DbMpoolFile
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# DbMpoolFile |

`

###

    #include <db_cxx.h>

    class DbMpoolFile { ... };

# Description

This manual page describes the specific details of the DbMpoolFile class. DbMpoolFile objects are created using the DbEnv::memp_fcreate method.

The DbEnv memory pool methods and the DbMpoolFile class are the library interface that provide general-purpose, page-oriented buffer management of one or more files. Although designed to work with the other Db classes, they are also useful for more general purposes. The memory pools are referred to in this document as simply pools.

Pools may be shared between processes. Pools are usually filled by pages from one or more files. Pages in the pool are replaced in LRU (least-recently-used) order, with each new page replacing the page that has been unused the longest. Pages retrieved from the pool using DbMpoolFile::get are pinned in the pool until they are returned to the control of the buffer pool using the DbMpoolFile::put method.

# Class

DbEnv, DbMpoolFile

# See Also

DbEnv::set_cachesize, DbEnv::set_mp_mmapsize, DbEnv::memp_fcreate, DbMpoolFile::close, DbMpoolFile::get, DbMpoolFile::open, DbMpoolFile::put, DbMpoolFile::set, DbMpoolFile::sync, DbEnv::memp_register, DbMpoolFile::set_clear_len, DbMpoolFile::set_fileid, DbMpoolFile::set_ftype, DbMpoolFile::set_lsn_offset, DbMpoolFile::set_pgcookie, DbEnv::memp_stat, DbEnv::memp_sync, and DbEnv::memp_trickle.`

Copyright Sleepycat Software