Berkeley DB: DbEnv::memp_trickle
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++

### DbEnv::memp_trickle |

`

###

    #include <db_cxx.h>

    int
    DbEnv::memp_trickle(int percent, int *nwrotep);

### Description: DbEnv::memp_trickle

The DbEnv::memp_trickle method ensures that a specified percent of the pages in the shared memory pool are clean, by writing dirty pages to their backing files.

The purpose of the DbEnv::memp_trickle function is to enable a memory pool manager to ensure that a page is always available for reading in new information without having to wait for a write.

### Class

DbEnv, DbMpoolFile

### See Also

Memory Pools and Related Methods`

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