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

Sql. SELECT with LIMIT prefetch more data than necessary.

    XMLWordPrintableJSON

Details

    Description

      This is just an optimization issue, not bug.
      Simple distributed request like : SELECT * FROM T LIMIT N;

      IgniteLimit
        IgniteExchange
          IgniteTableScan
      

      need to request (maximum) N rows from each TableScan, but for now requested :
      Outbox#flush -> source().request(waiting = IN_BUFFER_SIZE);

      Attachments

        Activity

          People

            Unassigned Unassigned
            zstan Evgeny Stanilovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: