June 2001
Intermediate to advanced
688 pages
19h 18m
English
import com.sleepycat.db.*; public DbMpoolStat memp_stat() throws DbException; public DbMpoolFStat[] memp_fstat() throws DbException;
The DbEnv.memp_stat and DbEnv.memp_fstat method create statistical structures and return to the caller. The statistics include the number of files participating in the pool, the active pages in the pool, and information about how effective the cache has been.
The DbEnv.memp_stat method creates a DbMpoolStat object containing global statistics. The following data fields are available:
public long st_gbytes; Gigabytes of cache (total cache size is st_gbytes + st_bytes).
public long st_bytes; Bytes of cache (total cache size is st_gbytes + st_bytes).
public int st_ncache; Number of ...