geth db stats
Jump to navigation
Jump to search
Example
➜ ~ geth db stats INFO [08-18|18:48:16.689] Maximum peer count ETH=50 total=50 INFO [08-18|18:48:16.693] Set global gas cap cap=50,000,000 INFO [08-18|18:48:16.693] Initializing the KZG library backend=gokzg INFO [08-18|18:48:16.717] Using pebble as the backing database INFO [08-18|18:48:16.717] Allocated cache and file handles database=~/Library/Ethereum/geth/chaindata cache=512.00MiB handles=5120 INFO [08-18|18:48:16.720] Opened ancient database database=~/Library/Ethereum/geth/chaindata/ancient/chain readonly=true | | | | ingested | moved | written | | amp level | tables size val-bl vtables | score | in | tables size | tables size | tables size | read | r w ------+-----------------------------+-------+-------+--------------+--------------+--------------+-------+--------- 0 | 1 954B 0B 0 | 0.50 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 1 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 2 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 3 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 4 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 5 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 6 | 2 1.8MB 0B 0 | - | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 total | 3 1.8MB 0B 0 | - | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 ------------------------------------------------------------------------------------------------------------------- WAL: 1 files (0B) in: 0B written: 0B (0% overhead) Flushes: 0 Compactions: 0 estimated debt: 1.8MB in progress: 0 (0B) default: 0 delete: 0 elision: 0 move: 0 read: 0 rewrite: 0 multi-level: 0 MemTables: 1 (256KB) zombie: 0 (0B) Zombie tables: 0 (0B) Backing tables: 0 (0B) Virtual tables: 0 (0B) Block cache: 10 entries (11KB) hit rate: 13.3% Table cache: 3 entries (2.3KB) hit rate: 25.0% Secondary cache: 0 entries (0B) hit rate: 0.0% Snapshots: 0 earliest seq num: 0 Table iters: 0 Filter utility: 100.0% Ingestions: 0 as flushable: 0 (0B in 0 tables) | | | | ingested | moved | written | | amp level | tables size val-bl vtables | score | in | tables size | tables size | tables size | read | r w ------+-----------------------------+-------+-------+--------------+--------------+--------------+-------+--------- 0 | 1 954B 0B 0 | 0.50 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 1 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 2 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 3 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 4 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 5 | 0 0B 0B 0 | 0.00 | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 6 | 2 1.8MB 0B 0 | - | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 total | 3 1.8MB 0B 0 | - | 0B | 0 0B | 0 0B | 0 0B | 0B | 0 0.0 ------------------------------------------------------------------------------------------------------------------- WAL: 1 files (0B) in: 0B written: 0B (0% overhead) Flushes: 0 Compactions: 0 estimated debt: 1.8MB in progress: 0 (0B) default: 0 delete: 0 elision: 0 move: 0 read: 0 rewrite: 0 multi-level: 0 MemTables: 1 (256KB) zombie: 0 (0B) Zombie tables: 0 (0B) Backing tables: 0 (0B) Virtual tables: 0 (0B) Block cache: 10 entries (11KB) hit rate: 13.3% Table cache: 3 entries (2.3KB) hit rate: 25.0% Secondary cache: 0 entries (0B) hit rate: 0.0% Snapshots: 0 earliest seq num: 0 Table iters: 0 Filter utility: 100.0% Ingestions: 0 as flushable: 0 (0B in 0 tables)
WARN [10-10|09:42:40.195] Using deprecated resource file, please move this file to the 'geth' subdirectory of datadir. file=~/geth/nodekey
Related
geth db stats INFO [08-18|18:45:59.321] Maximum peer count ETH=50 total=50 Fatal: Failed to create the protocol stack: datadir already used by another process
geth snapshot verify-state
See also
geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine
Advertising: