Skip to content
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

[todo] rocksdb tuneup. for chaindb storage scalability #5

Open
trustfarm-dev opened this issue Jun 7, 2019 · 0 comments
Open

[todo] rocksdb tuneup. for chaindb storage scalability #5

trustfarm-dev opened this issue Jun 7, 2019 · 0 comments

Comments

@trustfarm-dev
Copy link
Member

trustfarm-dev commented Jun 7, 2019

openethereum/parity-ethereum#9033

actual
Blockheights 58986xxx , FULL Archive mode sync : Storage is 1.24TB in 2TB SSD.
It is increasing very stiff. when 2TB SSD will be full soon.

suggestion
For solve this kind of storage scalability , I suggest parity use multiple [dbpaths storage options provided by rocksdb.](https://github.com/facebook/rocksdb/blob/17339dc2f39a87a9cf097e056a59560b0795ff6e/include/rocksdb/options.h#L468 ,"db_paths options")

  // For example, you have a flash device with 10GB allocated for the DB,
  // as well as a hard drive of 2TB, you should config it to be:
  //   [{"/flash_path", 10GB}, {"/hard_drive", 2TB}]

Because latest fast block importing and synchronizing is done in SSD , old and infrequent referencing block data will be stored in HDD.

It will helpful, shorterm storage scalability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant