public class HashStats extends DatabaseStats
Modifier and Type | Method | Description |
---|---|---|
long |
getBFree() |
The number of bytes free on bucket pages.
|
long |
getBigBFree() |
The number of bytes free on hash overflow (big item) pages.
|
int |
getBigPages() |
The number of hash overflow pages (created when key/data is too big for
the page).
|
int |
getBuckets() |
The number of hash buckets.
|
int |
getDup() |
The number of duplicate pages.
|
long |
getDupFree() |
The number of bytes free on duplicate pages.
|
int |
getExtFiles() |
The number of external files.
|
int |
getFfactor() |
The desired fill factor specified at database-creation time.
|
int |
getFree() |
The number of pages on the free list.
|
int |
getMagic() |
The magic number that identifies the file as a Hash file.
|
int |
getMetaFlags() |
Reports internal flags.
|
int |
getNumBlobs() |
|
int |
getNumData() |
The number of key/data pairs in the database.
|
int |
getNumKeys() |
The number of unique keys in the database.
|
int |
getOverflows() |
The number of bucket overflow pages (bucket overflow pages are created when
items did not fit on the main bucket page).
|
long |
getOvflFree() |
The number of bytes free on bucket overflow pages.
|
int |
getPageCount() |
The number of pages in the database.
|
int |
getPageSize() |
The underlying Hash database page (and bucket) size, in bytes.
|
int |
getVersion() |
The version of the Hash database.
|
java.lang.String |
toString() |
For convenience, the HashStats class has a toString method
that lists all the data fields.
|
public int getMagic()
public int getVersion()
public int getMetaFlags()
public int getNumKeys()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getNumData()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getExtFiles()
public int getNumBlobs()
public int getPageCount()
Returned if StatsConfig.setFast(boolean)
was configured.
public int getPageSize()
public int getFfactor()
public int getBuckets()
public int getFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public long getBFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getBigPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public long getBigBFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getOverflows()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public long getOvflFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getDup()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public long getDupFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.