Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34558

Add RocksDB key/value size metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.19.0
    • None
    • None

    Description

      In some scenarios, the poor performance of RocksDB may be caused by too large key/value size, but now there is a lack of metrics for key/value size. By adding these metrics, we can conveniently calculate the distribution of key/value size, such as the average size and p99 size.  To reduce the negative impact of adding metric on RocksDB performance, we could reduce the impact by supporting sampling.

      The possible implementation is as follows: After the RocksDB key/value serialization, we could obtain the byte array and report the size of the array through histogram metrics.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hejufang001 Jufang He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: