Berkeley DB: Memory Pools and Related Methods

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

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