Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit 389e20a

Browse files
committed
Add more logs
1 parent 3f43e08 commit 389e20a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/cmd/seidb/operations/state_size.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ func PrintStateSize(module string, db *memiavl.DB) error {
110110
entry.TotalSize = entry.KeySize + entry.ValueSize
111111
entry.KeyCount++
112112
}
113+
114+
if totalNumKeys%1000000 == 0 {
115+
fmt.Printf("Scanned %d keys\n", totalNumKeys)
116+
}
113117
}
114118
return true
115119
})

0 commit comments

Comments
 (0)