Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5640

Support to automatically adjust the Bloom Filter based on data distribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0-alpha
    • 5.0-beta
    • Query Engine
    • None

    Description

      Why are the changes needed?

      Now the usage of bloom filter is to specify the NDV(number of distinct values), and then build BloomFilter. In general scenarios, it is actually not sure how much the distinct value is.
      If BloomFilter can be automatically generated according to the data, the file size can be reduced and the reading efficiency can also be improved.

      What changes were proposed in this pull request?

      DynamicBlockBloomFilter contains multiple BlockSplitBloomFilter as candidates and inserts values in the candidates at the same time. Use the largest bloom filter as an approximate deduplication counter, and then remove incapable bloom filter candidates during data insertion.

      Attachments

        Activity

          People

            guozhiting Zhiting Guo
            guozhiting Zhiting Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: