Berkeley DB: Memory Pools and Related Methods

Memory Pools and Related MethodsDescription
Db::get_mpfReturn the database's memory pool handle
DbEnv::memp_statReturn memory pool statistics
DbEnv::memp_syncFlush pages from a memory pool
DbEnv::memp_trickleTrickle flush pages from a memory pool
DbMemoryExceptionInsufficient memory exception
Memory Pool Configuration
DbEnv::memp_registerRegister input/output functions for a file in a memory pool
DbEnv::set_max_openfdSet the maximum number of open file descriptors
DbEnv::set_max_writeSet the maximum number of sequential disk writes
DbEnv::set_cachesizeSet the environment cache size
DbEnv::set_mp_mmapsizeSet maximum mapped-in database file size
Memory Pool Files
DbEnv::memp_fcreateCreate a memory pool file handle
DbMpoolFileMemory pool file object
DbMpoolFile::closeClose a file in a memory pool
DbMpoolFile::getGet page from a file in a memory pool
DbMpoolFile::openOpen a file in a memory pool
DbMpoolFile::putReturn a page to a memory pool
DbMpoolFile::setSet memory pool page attributes
DbMpoolFile::syncFlush pages from a file in a memory pool
Memory Pool File Configuration
DbMpoolFile::set_clear_lenSet file page bytes to be cleared
DbMpoolFile::set_fileidSet file unique identifier
DbMpoolFile::set_flagsGeneral memory pool file configuration
DbMpoolFile::set_ftypeSet file type
DbMpoolFile::set_lsn_offsetSet file log-sequence-number offset
DbMpoolFile::set_maxsizeSet maximum file size
DbMpoolFile::set_pgcookieSet file cookie for pgin/pgout
DbMpoolFile::set_prioritySet memory pool file priority

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.