|
|
|
Berkeley DB version 4.4.20 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.DatabaseStats com.sleepycat.db.BtreeStats
The BtreeStats object is used to return Btree or Recno database statistics.
Method Summary | |
int |
getDupPages()
The number of database duplicate pages. |
int |
getDupPagesFree()
The number of bytes free in database duplicate pages. |
int |
getEmptyPages()
The number of empty database pages. |
int |
getFree()
The number of pages on the free list. |
int |
getIntPages()
The number of database internal pages. |
int |
getIntPagesFree()
The number of bytes free in database internal pages. |
int |
getLeafPages()
The number of database leaf pages. |
int |
getLeafPagesFree()
The number of bytes free in database leaf pages. |
int |
getLevels()
The number of levels in the database. |
int |
getMagic()
The magic number that identifies the file as a Btree database. |
int |
getMetaFlags()
The metadata flags. |
int |
getMinKey()
The minimum keys per page. |
int |
getNumData()
The number of key/data pairs or records in the database. |
int |
getNumKeys()
The number of keys or records in the database. |
int |
getOverPages()
The number of database overflow pages. |
int |
getOverPagesFree()
The number of bytes free in database overflow pages. |
int |
getPageSize()
The underlying database page size, in bytes. |
int |
getReLen()
The length of fixed-length records. |
int |
getRePad()
The padding byte value for fixed-length records. |
int |
getVersion()
The version of the Btree database. |
String |
toString()
For convenience, the BtreeStats 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 String toString()
public int getMagic()
public int getVersion()
public int getMetaFlags()
public int getNumKeys()
For the Btree Access Method, the number of keys in the database. If
the Database.getStats
call was not configured by the
StatsConfig.setFast
method or the database was configured
to support retrieval by record number, the count will be exact.
Otherwise, the count will be the last saved value unless it has
never been calculated, in which case it will be 0.
For the Recno Access Method, the number of records in the database.
If the database was configured with mutable record numbers the count
will be exact. Otherwise, if the Database.getStats
call
was configured by the StatsConfig.setFast
method, the
count will be exact but will include deleted records; if the
Database.getStats
call was not configured by the
StatsConfig.setFast
method, the count will be exact and
will not include deleted records.
public int getNumData()
For the Btree Access Method, the number of key/data pairs in the
database. If the Database.getStats
call was not
configured by the StatsConfig.setFast
method, the count
will be exact. Otherwise, the count will be the last saved value
unless it has never been calculated, in which case it will be 0.
For the Recno Access Method, the number of records in the database.
If the database was configured with mutable record numbers, the
count will be exact. Otherwise, if the Database.getStats
call was configured by the StatsConfig.setFast
method, the
count will be exact but will include deleted records; if the
Database.getStats
call was not configured by the
StatsConfig.setFast
method, the count will be exact and
will not include deleted records.
public int getPageSize()
public int getMinKey()
public int getReLen()
public int getRePad()
public int getLevels()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getIntPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getLeafPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getDupPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getOverPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getEmptyPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getIntPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getLeafPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getDupPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getOverPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
|
Berkeley DB version 4.4.20 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |