Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4882

The client re-resolves the table for every projected non-indexed column when there's a local index.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.14.0
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      See TupleProjectionCompiler.ColumnRefVisitor.

      Each non-projected column causes a server roundtrip in LocalIndexDataColumnRef.

      For wide tables that can be hundreds of time.

      I generally find that the same table is resolved over and over again for other reasons as well (I counted 15-25 times during query compilation!!)

      Put a break point in ConnectionQueryServicesImpl.getTable and you'll see.

      tdsilva

      Attachments

        1. stacks.txt
          18 kB
          Lars Hofhansl
        2. PHOENIX-4882-partial-quick-fix.txt
          2 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: