Difference between revisions of "Geth db inspect"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} {{geth db}}")
 
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 +
.../...
 +
<pre>
 +
+-----------------------+-------------------------+------------+-------+
 +
|      DATABASE        |        CATEGORY        |    SIZE    | ITEMS |
 +
+-----------------------+-------------------------+------------+-------+
 +
| Key-Value store      | Headers                | 576.00 B  |    1 |
 +
| Key-Value store      | Bodies                  | 44.00 B    |    1 |
 +
| Key-Value store      | Receipt lists          | 42.00 B    |    1 |
 +
| Key-Value store      | Difficulties            | 48.00 B    |    1 |
 +
| Key-Value store      | Block number->hash      | 42.00 B    |    1 |
 +
| Key-Value store      | Block hash->number      | 41.00 B    |    1 |
 +
| Key-Value store      | Transaction index      | 0.00 B    |    0 |
 +
| Key-Value store      | Bloombit index          | 0.00 B    |    0 |
 +
| Key-Value store      | Contract codes          | 0.00 B    |    0 |
 +
| Key-Value store      | Hash trie nodes        | 0.00 B    |    0 |
 +
| Key-Value store      | Path trie state lookups | 82.00 B    |    2 |
 +
| Key-Value store      | Path trie account nodes | 1.47 MiB  | 12356 |
 +
| Key-Value store      | Path trie storage nodes | 0.00 B    |    0 |
 +
| Key-Value store      | Trie preimages          | 0.00 B    |    0 |
 +
| Key-Value store      | Account snapshot        | 409.64 KiB |  8893 |
 +
| Key-Value store      | Storage snapshot        | 0.00 B    |    0 |
 +
| Key-Value store      | Beacon sync headers    | 0.00 B    |    0 |
 +
| Key-Value store      | Clique snapshots        | 0.00 B    |    0 |
 +
| Key-Value store      | Singleton metadata      | 695.19 KiB |    12 |
 +
| Light client          | CHT trie nodes          | 0.00 B    |    0 |
 +
| Light client          | Bloom trie nodes        | 0.00 B    |    0 |
 +
| Ancient store (Chain) | Diffs                  | 6.00 B    |    0 |
 +
| Ancient store (Chain) | Headers                | 6.00 B    |    0 |
 +
| Ancient store (Chain) | Hashes                  | 6.00 B    |    0 |
 +
| Ancient store (Chain) | Bodies                  | 6.00 B    |    0 |
 +
| Ancient store (Chain) | Receipts                | 6.00 B    |    0 |
 +
| Ancient store (State) | History.Meta            | 85.00 B    |    1 |
 +
| Ancient store (State) | Account.Index          | 201.05 KiB |    1 |
 +
| Ancient store (State) | Storage.Index          | 13.00 B    |    1 |
 +
| Ancient store (State) | Account.Data            | 13.00 B    |    1 |
 +
| Ancient store (State) | Storage.Data            | 13.00 B    |    1 |
 +
+-----------------------+-------------------------+------------+-------+
 +
|                                  TOTAL          |  2.75 MIB  |      |
 +
+-----------------------+-------------------------+------------+-------+
 +
</pre>
  
  
  
 
{{geth db}}
 
{{geth db}}

Revision as of 16:55, 18 August 2024

.../...
+-----------------------+-------------------------+------------+-------+
|       DATABASE        |        CATEGORY         |    SIZE    | ITEMS |
+-----------------------+-------------------------+------------+-------+
| Key-Value store       | Headers                 | 576.00 B   |     1 |
| Key-Value store       | Bodies                  | 44.00 B    |     1 |
| Key-Value store       | Receipt lists           | 42.00 B    |     1 |
| Key-Value store       | Difficulties            | 48.00 B    |     1 |
| Key-Value store       | Block number->hash      | 42.00 B    |     1 |
| Key-Value store       | Block hash->number      | 41.00 B    |     1 |
| Key-Value store       | Transaction index       | 0.00 B     |     0 |
| Key-Value store       | Bloombit index          | 0.00 B     |     0 |
| Key-Value store       | Contract codes          | 0.00 B     |     0 |
| Key-Value store       | Hash trie nodes         | 0.00 B     |     0 |
| Key-Value store       | Path trie state lookups | 82.00 B    |     2 |
| Key-Value store       | Path trie account nodes | 1.47 MiB   | 12356 |
| Key-Value store       | Path trie storage nodes | 0.00 B     |     0 |
| Key-Value store       | Trie preimages          | 0.00 B     |     0 |
| Key-Value store       | Account snapshot        | 409.64 KiB |  8893 |
| Key-Value store       | Storage snapshot        | 0.00 B     |     0 |
| Key-Value store       | Beacon sync headers     | 0.00 B     |     0 |
| Key-Value store       | Clique snapshots        | 0.00 B     |     0 |
| Key-Value store       | Singleton metadata      | 695.19 KiB |    12 |
| Light client          | CHT trie nodes          | 0.00 B     |     0 |
| Light client          | Bloom trie nodes        | 0.00 B     |     0 |
| Ancient store (Chain) | Diffs                   | 6.00 B     |     0 |
| Ancient store (Chain) | Headers                 | 6.00 B     |     0 |
| Ancient store (Chain) | Hashes                  | 6.00 B     |     0 |
| Ancient store (Chain) | Bodies                  | 6.00 B     |     0 |
| Ancient store (Chain) | Receipts                | 6.00 B     |     0 |
| Ancient store (State) | History.Meta            | 85.00 B    |     1 |
| Ancient store (State) | Account.Index           | 201.05 KiB |     1 |
| Ancient store (State) | Storage.Index           | 13.00 B    |     1 |
| Ancient store (State) | Account.Data            | 13.00 B    |     1 |
| Ancient store (State) | Storage.Data            | 13.00 B    |     1 |
+-----------------------+-------------------------+------------+-------+
|                                  TOTAL          |  2.75 MIB  |       |
+-----------------------+-------------------------+------------+-------+


geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine

Advertising: