Difference between revisions of "Geth db --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} <pre>geth db --help NAME: geth db - Low level database operations USAGE: geth db command [command options] [arguments...] COMMANDS: inspect I...") |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | [[geth db]] --help | |
− | + | NAME: | |
− | + | geth db - Low level database operations | |
− | + | ||
− | NAME: | + | USAGE: |
− | + | geth db command [command options] [arguments...] | |
− | + | ||
− | USAGE: | + | COMMANDS: |
− | + | [[inspect]] Inspect the storage size for each type of data in the database | |
− | |||
− | COMMANDS: | ||
− | inspect Inspect the storage size for each type of data in the database | ||
stats Print leveldb statistics | stats Print leveldb statistics | ||
compact Compact leveldb database. WARNING: May take a very long time | compact Compact leveldb database. WARNING: May take a very long time | ||
− | get Show the value of a database key | + | [[get]] Show the value of a database key |
delete Delete a database key (WARNING: may corrupt your database) | delete Delete a database key (WARNING: may corrupt your database) | ||
put Set the value of a database key (WARNING: may corrupt your database) | put Set the value of a database key (WARNING: may corrupt your database) | ||
− | dumptrie Show the storage key/values of a given storage trie | + | [[dumptrie]] Show the storage key/values of a given storage trie |
freezer-index Dump out the index of a specific freezer table | freezer-index Dump out the index of a specific freezer table | ||
− | import Imports leveldb-data from an exported RLP dump. | + | import Imports leveldb-data from an exported [[RLP dump]]. |
export Exports the chain data into an RLP dump. If the <dumpfile> has .gz suffix, gzip compression will be used. | export Exports the chain data into an RLP dump. If the <dumpfile> has .gz suffix, gzip compression will be used. | ||
− | metadata Shows metadata about the chain status. | + | [[geth db metadata|metadata]] Shows metadata about the chain status. |
− | check-state-content Verify that state data is cryptographically correct | + | [[check-state-content]] Verify that state data is cryptographically correct |
− | inspect-history Inspect the state history within block range | + | [[inspect-history]] Inspect the state history within block range |
help, h Shows a list of commands or help for one command | help, h Shows a list of commands or help for one command | ||
+ | |||
+ | OPTIONS: | ||
+ | |||
+ | --help, -h (default: false) | ||
− | |||
− | + | == Related == | |
− | + | * [[geth snapshot --help]] | |
+ | == See also == | ||
+ | * {{geth db}} | ||
− | + | [[Category:Geth]] |
Latest revision as of 10:00, 22 October 2024
geth db --help NAME: geth db - Low level database operations USAGE: geth db command [command options] [arguments...] COMMANDS: inspect Inspect the storage size for each type of data in the database stats Print leveldb statistics compact Compact leveldb database. WARNING: May take a very long time get Show the value of a database key delete Delete a database key (WARNING: may corrupt your database) put Set the value of a database key (WARNING: may corrupt your database) dumptrie Show the storage key/values of a given storage trie freezer-index Dump out the index of a specific freezer table import Imports leveldb-data from an exported RLP dump. export Exports the chain data into an RLP dump. If the <dumpfile> has .gz suffix, gzip compression will be used. metadata Shows metadata about the chain status. check-state-content Verify that state data is cryptographically correct inspect-history Inspect the state history within block range help, h Shows a list of commands or help for one command OPTIONS: --help, -h (default: false)
Related[edit]
See also[edit]
geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine
Advertising: