Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3630

Merge rocksdb in datanode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Currently, one rocksdb for one container. one container has 5GB capacity. 10TB data need more than 2000 rocksdb in one datanode. It's difficult to limit the memory of 2000 rocksdb. So maybe we should limited instance of rocksdb for each disk.

      The design of improvement is in the follow link, but still is a draft.
      TODO:
      1. compatibility with current logic i.e. one rocksdb for each container
      2. measure the memory usage before and after improvement
      3. effect on efficiency of read and write.

      https://docs.google.com/document/d/18Ybg-NjyU602c-MYXaJHP6yrg-dVMZKGyoK5C_pp1mM/edit#

       

      Updated: 2021-10-29

      We'll continue this topic with a new detailed design doc:

      https://docs.google.com/document/d/1hLtPJI8lSUhazMsoRKQuXuXs2gqixi6bQNTV9UnPsqs/edit?usp=sharing

       

      Updated: 2022-05-23

      Refined the design doc:

      https://docs.google.com/document/d/1oPCRUVqTJDbYITbwvoVCOZ2-k108FwOXVhq9ukDKHbQ/edit?usp=sharing

      Attachments

        1. Merge RocksDB in Datanode-v1.pdf
          33 kB
          runzhiwang
        2. Merge RocksDB in Datanode-v2.pdf
          93 kB
          runzhiwang
        3. Merge rocksdb in datanode-v3.pdf
          550 kB
          Mark Gui
        4. Merge rocksdb in datanode-v4.pdf
          567 kB
          Mark Gui
        5. Merge rocksdb in datanode V5.pdf
          484 kB
          Sammi Chen

        Issue Links

          Activity

            People

              markgui Mark Gui
              yjxxtd runzhiwang
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: