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

Remove extraneous operations during upsert with local immutable index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8.0
    • None
    • None

    Description

      Upsert to a table with a local immutable index is supposed to be more efficient than to a table with a local mutable index, but it's actually slower (in our environment by 30%) due to extraneous operations involved.

      The problem is twofold:

      1. Client unnecessarily prepares and sends index update.
      2. Index cleanup is done regardless of the immutability of the table.

      Attachments

        1. PHOENIX-3128.patch
          3 kB
          Junegunn Choi
        2. PHOENIX-3128_wip.patch
          6 kB
          James R. Taylor
        3. PHOENIX-3128_v2.patch
          19 kB
          James R. Taylor
        4. PHOENIX-3128_v3.patch
          19 kB
          James R. Taylor
        5. PHOENIX-3128_v4.patch
          19 kB
          James R. Taylor
        6. PHOENIX-3128_v5.patch
          28 kB
          James R. Taylor
        7. PHOENIX-3128_v6.patch
          28 kB
          James R. Taylor
        8. PHOENIX-3128_v7.patch
          26 kB
          James R. Taylor
        9. PHOENIX-3128_v8.patch
          29 kB
          James R. Taylor

        Activity

          People

            junegunn Junegunn Choi
            junegunn Junegunn Choi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: