Difference between revisions of "Geth db"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
  [[geth db stats]]
 
  [[geth db stats]]
 
  [[geth db inspect-history]]
 
  [[geth db inspect-history]]
 
 
  [[geth db --help]]
 
  [[geth db --help]]
 
== Help ==
 
geth db --help
 
NAME:
 
    geth db - Low level database operations
 
 
USAGE:
 
    geth db command [command options] [arguments...]
 
 
COMMANDS:
 
  [[geth db inspect|inspect]]              Inspect the storage size for each type of data in the database
 
  [[geth db stats|stats]]                Print [[leveldb]] statistics
 
  [[geth db compact|compact]]              Compact leveldb database. WARNING: May take a very long time
 
  [[geth db get|get]]                  Show the value of a database key
 
  [[geth db delete|delete]]              Delete a database key (WARNING: may corrupt your database)
 
  [[geth db put|put]]                Set the value of a database key (WARNING: may corrupt your database)
 
  [[geth db dumptrie|dumptrie]]            Show the storage key/values of a given storage trie
 
  [[geth db freezer-index|freezer-index]]        Dump out the index of a specific freezer table
 
  [[geth db import|import]]              Imports leveldb-data from an exported RLP dump.
 
  [[geth db export|export]]              Exports the chain data into an RLP dump. If the <dumpfile> has .gz suffix, gzip compression will be used.
 
  [[geth db metadata|metadata]]            Shows metadata about the chain status.
 
  [[geth db check-state-content|check-state-content]]  Verify that state data is cryptographically correct
 
  [[geth db inspect-history|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)
 
  
 
== Logs ==
 
== Logs ==
Line 48: Line 19:
 
== Related ==
 
== Related ==
 
* <code>[[geth --sepolia]]</code>
 
* <code>[[geth --sepolia]]</code>
 +
* <code>[[geth snapshot]]</code>
 
* <code>[[.sst]]</code>
 
* <code>[[.sst]]</code>
 
* <code>[[.ldb]]</code>
 
* <code>[[.ldb]]</code>
Line 56: Line 28:
 
== See also ==
 
== See also ==
 
* {{geth db}}
 
* {{geth db}}
* {{geth}}
+
* {{geth snapshot}}
  
 
[[Category:Geth]]
 
[[Category:Geth]]

Latest revision as of 10:02, 22 October 2024

Advertising: