1

Ethereum uses two databases Memory database and Level Database. Is data stored in MemoryDatabase different than LevelDb? In what cases is one database used over other?

The question is different from -Which database(s) do the ethereum clients use and why? That question answers why LevelDb is used. This question is about how MemDB and LvlDb are different, why they are used, is the data stored in both databases different?

2
  • @RichardHorrocks It answers about use of LevelDb(and why it is used), My question is when is memoryDB used and does it store different data than LevelDb? Commented Dec 13, 2017 at 10:19
  • 1
    IMO that older question does replies part your title question (what database uses geth and how) since it is older so it may be not up to date. Perhaps you can edit the title asking about Memory database functionality, adding link to where it is used in geth source code.
    – Ismael
    Commented Dec 20, 2017 at 15:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.