diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-20 09:03:24 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-20 09:03:24 -0600 |
commit | 0a59a754725b284a8ba75161a801a3dd535b4e27 (patch) | |
tree | fdde635f974c64649488abea2faa7fee781355a4 /db.go | |
parent | Merge pull request #202 from benbjohnson/refactor-split (diff) | |
parent | split the freelist page count stats to free and pending (diff) | |
download | dedo-0a59a754725b284a8ba75161a801a3dd535b4e27.tar.gz dedo-0a59a754725b284a8ba75161a801a3dd535b4e27.tar.xz |
Merge pull request #206 from Shopify/pending_page_stats
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 |