Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18387

Minimize time that REBUILD locks the materialized view

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Materialized views
    • None

    Description

      Currently, REBUILD will block the materialized view while the final move task is being executed. The idea for this improvement is to create the new materialization in a new folder (new version) and then just flip the pointer to the folder in the MV definition in the metastore. REBUILD operations for a given MV should get an exclusive lock though, i.e., they cannot be executed concurrently.

      Attachments

        1. HIVE-18387.patch
          41 kB
          jcamachorodriguez
        2. HIVE-18387.11.patch
          371 kB
          jcamachorodriguez
        3. HIVE-18387.09.patch
          374 kB
          jcamachorodriguez
        4. HIVE-18387.08.patch
          373 kB
          jcamachorodriguez
        5. HIVE-18387.07.patch
          367 kB
          jcamachorodriguez
        6. HIVE-18387.05.patch
          367 kB
          jcamachorodriguez
        7. HIVE-18387.04.patch
          369 kB
          jcamachorodriguez
        8. HIVE-18387.03.patch
          73 kB
          jcamachorodriguez
        9. HIVE-18387.02.patch
          69 kB
          jcamachorodriguez
        10. HIVE-18387.01.patch
          34 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: