Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2751

GridH2TreeIndex.getRowCount unwraps objects' values that are not used later

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.0.final
    • 1.6
    • None

    Description

      If to run query like "SELECT COUNT FROM table" then our implementation will perform a full scan filtering out entries that are not primary for a given node and will calculate only a number of primary ones.

      If entries are stored off-heap then both a key and value of an entry are unswapped, Unswapped values are not used by backup filters thus we have to omit unswapping of the values at all.

      Attachments

        1. Benchmark.java
          4 kB
          Alexey Scherbakov

        Activity

          People

            ascherbakov Alexey Scherbakov
            dmagda Denis A. Magda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: