New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea suggestion: allow using external DB (for instance RethinkDB) engines for block storage #20647
Comments
It is already possible to backup the blocksdir to another drive (or even specify a blocksdir on a different drive). And surely the other drive could be a RAID to add redundancy. I don't think this adds any new features and only complicates the code. |
not every user can manually setup RAID. also RAID is much harder to repair in case of problems with it. especially if it is a notebook or smartphone.
this is only offline method. and external DB engine, like said RethinkDB, does mirroring and clustering on the fly, online. so bitcoin-qt don't need to be closed for time of those operations on DB by the way, RAID - does not provides security from other applications running under same user on same computer. and RethinkDB have user management, password protections and access rights. |
Aside from this issue, is there any currently open issue in this repo that documents a non-theoretical and commonly occurring user pain point that would be resolved by introducing an external database? (The "user pain point" question.) If there is: what are the best technical arguments for choosing a distributed document-oriented database that stores schemaless JSON documents (RethinkDB) to resolve the user pain point? :) (The "developer solution" question.) This sounds like a solution (RethinkDB) in search of a problem TBH :) |
@practicalswift
it's stores data in binary format. JSON is only for query protocol
Inconvenience for users to treasure and shake upon >250GiB db of data isn't enough for you? for my 10 years of attempts to use bitcoin core, I'm got 3 hdds killed with all my data on them. And you know how people treat unusable things today. and simply using wallet software which utilizes online block bases isn't in bitcoin's decentralization motto. block DB must be much more flexible for users to maintain and backup, includingly restore from failures, and bitcoin core can't provide this in it's current state. |
While software can help to protect against data loss, it can't magically turn broken hardware into working hardware. I suggest you purchase high quality storage. |
You don't know how bitcoin can kill hdd? probably it can degrade ssds fast too. I was always used black WDs on my PCs. you suggest some other hdds?, or I didn't understood your advice. You know what.. ok.. maybe I'll use bitcoin core some other time.. I just don't have time to play in this "dawnload 300GiB db game" god knows which time again.. |
Considering the huge size of block database, maybe it is practical to allow users to use external DB engines for this.
Imho, RethinkDB, with it's GUI, is very easy to setup, including it's mirroring and clustering.
Because of size of blocks DB and of amount of time it is required to download and/or reindex existing backup, mirroring features of real DB engines may be more practical to use.
use case:
The text was updated successfully, but these errors were encountered: