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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.0.final
    • Fix Version/s: 1.6
    • Component/s: 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

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

              Dates

              • Created:
                Updated:
                Resolved: