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

Make sure that cache-less execution works as good as cache-based

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.4
    • sql
    • None

    Description

      Compare the following two methods:
      1) GridQueryProcessor.querySqlFields - old good entry point for query execution;
      2) GridQueryProcessor.querySqlFieldsNoCache - new method for "cache-less" execution.

      Note how cache context is used in the first method:
      1) First, it helps determine whether query can be converted to "local"
      2) Second, it gets query parallelism of current cache, and if it differs from 1, then it turns on distributedJoins.

      Neither of this happens in the second implementation. Moreover, I had to throw an exception for local queries, as I didn't know how to handle them properly.

      We need to investigate and fix these two deficiencies somehow. Probably some inputs from sergi.vladykin would be required, to understand what is going on.

      Our ultimate goal is to make "cache-less" execution as good as the old one.

      Attachments

        Activity

          People

            al.psc Alexander Paschenko
            vozerov Vladimir Ozerov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m