-
Notifications
You must be signed in to change notification settings - Fork 472
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
support Multi-disk(Multi-path) #918
Comments
Hi @xiaobiaozhao, I have two questions:
|
According to the description of the configuration, the lower level SST will be stored in the front of the In fact, the level at which So if this feature is used, rocksdb can help us store cold data in slower storage media such as mechanical hard drives, and store hot data in faster storage media such as SSD. |
Yes,In my test demo,rocksdb use first & last of the
Only disk1 & disk4 wiil be use to write data. And rocks limit max 4 db_paths. |
@tanruixiang But about 90% of the data falls to the last layer of the LSM, so does that mean that 90% of the data is cold? |
Most of the data should be cold data. If it is hot data, it will re-enter the previous layers, and the data in the last layer may be deleted. |
Hi @xiaobiaozhao , I have a questions: |
"/mnt/ssd 10G; /mnt/hdd 1T;" |
I am not trying to distinguish between hot data and cool data. I mean to make the pressure of both disks the same. |
You can try cluster |
|
You can make a raid0 from several disks and place the datadir on it. Or you can use zfs pool consisting of several disks. |
Thanks, I'll try. |
Search before asking
Motivation
When the host has multiple disks, multiple disks can be used for data storage to increase the performance of KVROCKS.
Hot data can be stored on local SSDS and cold data can be stored on cloud disks
Solution
https://github.com/facebook/rocksdb/blob/main/include/rocksdb/options.h#L672
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: