|
Berkeley DB version 5.2.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.CacheStats
public class CacheStats
Cache statistics for a database environment.
Method Summary | |
---|---|
long |
getAlloc()
Number of page allocations. |
long |
getAllocBuckets()
Number of hash buckets checked during allocation. |
long |
getAllocMaxBuckets()
Maximum number of hash buckets checked during an allocation. |
long |
getAllocMaxPages()
Maximum number of pages checked during an allocation. |
long |
getAllocPages()
Number of pages checked during allocation. |
int |
getBytes()
Bytes of cache (total cache size is st_gbytes + st_bytes). |
long |
getCacheHit()
Requested pages found in the cache. |
long |
getCacheMiss()
Requested pages not found in the cache. |
int |
getGbytes()
Gigabytes of cache (total cache size is st_gbytes + st_bytes). |
int |
getHashBuckets()
Number of hash buckets in the buffer hash table. |
long |
getHashExamined()
Total number of hash elements traversed during hash table lookups. |
int |
getHashLongest()
The longest chain ever encountered in buffer hash table lookups. |
long |
getHashMaxNowait()
The number of times a thread of control was able to obtain the hash bucket lock without waiting on the bucket which had the maximum number of times that a thread of control needed to wait. |
long |
getHashMaxWait()
The maximum number of times any hash bucket lock was waited for by a thread of control. |
int |
getHashMutexes()
The number of hash bucket mutexes in the buffer hash table. |
long |
getHashNowait()
The number of times that a thread of control was able to obtain a hash bucket lock without waiting. |
int |
getHashSearches()
Total number of buffer hash table lookups. |
long |
getHashWait()
The number of times that a thread of control was forced to wait before obtaining a hash bucket lock. |
long |
getIoWait()
Number of operations blocked waiting for I/O to complete. |
int |
getMap()
Requested pages mapped into the process' address space (there is no available information about whether or not this request caused disk I/O, although examining the application page fault rate may be helpful). |
int |
getMaxNumCache()
Maximum number of caches, as configured with EnvironmentConfig.setCacheMax(long) . |
int |
getMaxOpenfd()
Maximum number of open file descriptors. |
int |
getMaxWrite()
The maximum number of sequential write operations scheduled by the library when flushing dirty pages from the cache. |
int |
getMaxWriteSleep()
The number of microseconds the thread of control should pause before scheduling further write operations. |
long |
getMmapSize()
Maximum file size for mmap. |
long |
getMultiversionFreed()
Number of frozen buffers freed. |
long |
getMultiversionFrozen()
Number of buffers frozen. |
long |
getMultiversionThawed()
Number of buffers thawed. |
int |
getNumCache()
Number of caches. |
int |
getPageClean()
Clean pages currently in the cache. |
long |
getPageCreate()
Pages created in the cache. |
int |
getPageDirty()
Dirty pages currently in the cache. |
long |
getPageIn()
Pages read into the cache. |
long |
getPageOut()
Pages written from the cache to the backing file. |
int |
getPages()
Pages in the cache. |
int |
getPageSize()
Page size in bytes. |
long |
getPageTrickle()
Dirty pages written using Environment.trickleCacheWrite . |
long |
getRegionNowait()
The number of times that a thread of control was able to obtain a region lock without waiting. |
long |
getRegionWait()
The number of times that a thread of control was forced to wait before obtaining a region lock. |
long |
getRegmax()
The max size of the mutex region size. |
long |
getRegSize()
Individual cache size. |
long |
getRoEvict()
Clean pages forced from the cache. |
long |
getRwEvict()
Dirty pages forced from the cache. |
long |
getSyncInterrupted()
Number of mpool sync operations interrupted. |
String |
toString()
For convenience, the CacheStats class has a toString method that lists all the data fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getGbytes()
public int getBytes()
public int getNumCache()
public int getMaxNumCache()
EnvironmentConfig.setCacheMax(long)
.
public long getMmapSize()
public int getMaxOpenfd()
public int getMaxWrite()
public int getMaxWriteSleep()
public int getPages()
public int getMap()
public long getCacheHit()
public long getCacheMiss()
public long getPageCreate()
public long getPageIn()
public long getPageOut()
public long getRoEvict()
public long getRwEvict()
public long getPageTrickle()
Environment.trickleCacheWrite
.
public int getPageClean()
public int getPageDirty()
public int getHashBuckets()
public int getHashMutexes()
public int getPageSize()
public int getHashSearches()
public int getHashLongest()
public long getHashExamined()
public long getHashNowait()
public long getHashWait()
public long getHashMaxNowait()
public long getHashMaxWait()
public long getRegionNowait()
public long getRegionWait()
public long getMultiversionFrozen()
public long getMultiversionThawed()
public long getMultiversionFreed()
public long getAlloc()
public long getAllocBuckets()
public long getAllocMaxBuckets()
public long getAllocPages()
public long getAllocMaxPages()
public long getIoWait()
public long getSyncInterrupted()
public long getRegSize()
public long getRegmax()
public String toString()
toString
in class Object
|
Berkeley DB version 5.2.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |