You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/09/25 23:56:58 UTC

[GitHub] [incubator-kvrocks] xiaobiaozhao commented on issue #918: support Multi-disk(Multi-path)

xiaobiaozhao commented on issue #918:
URL: https://github.com/apache/incubator-kvrocks/issues/918#issuecomment-1257314367

   
   
   
   > > Hi @xiaobiaozhao, I have two questions:
   > > 
   > > 1. Why can multiple disks improve performance? Multiple paths do not seem to work in parallel.
   > > 2. How do we judge hot and cold data in kvrocks? Rocksdb simply determines where to place the SST based on when the SST was generated.
   > 
   > According to the description of the configuration, the lower level SST will be stored in the front of the `db_paths`. So we can arrange the `db_paths` according to the speed of the storage medium, and put the low-level SST in the faster storage medium, for example, put the SSD in the first of the `db_paths` to storage the low-level SST.
   > 
   > In fact, the level at which `SST` is located represents the hot and coldness of the data. Because rocksdb uses the LSM tree, it will naturally merge cold data to a higher level.
   > 
   > 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 `dp_paths` config only. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org