diff options
author | Martin Kobetic <mkobetic@gmail.com> | 2014-06-20 14:53:25 +0000 |
---|---|---|
committer | Martin Kobetic <mkobetic@gmail.com> | 2014-06-20 14:53:25 +0000 |
commit | 571f20167268659befb8f8e5ea943c511d364cce (patch) | |
tree | fdde635f974c64649488abea2faa7fee781355a4 /db.go | |
parent | Merge pull request #202 from benbjohnson/refactor-split (diff) | |
download | dedo-571f20167268659befb8f8e5ea943c511d364cce.tar.gz dedo-571f20167268659befb8f8e5ea943c511d364cce.tar.xz |
split the freelist page count stats to free and pending
Diffstat (limited to 'db.go')
-rw-r--r-- | db.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -559,7 +559,8 @@ func (db *DB) allocate(count int) (*page, error) { // Stats represents statistics about the database. type Stats struct { // Freelist stats - FreePageN int // total number of free pages + FreePageN int // total number of free pages on the freelist + PendingPageN int // total number of pending pages on the freelist FreeAlloc int // total bytes allocated in free pages FreelistInuse int // total bytes used by the freelist |