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

Use DB auto-increment for indexes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Hive, Metastore

    Description

      I initially noticed this problem in Apache Sentry - see SENTRY-1960. Hive has the same issue. DataNucleus uses SEQUENCE table to allocate IDs which requires raw locks on multiple tables during transactions and this creates scalability problems.

      Instead DN should rely on DB auto-increment mechanisms which are much more scalable.

      See SENTRY-1960 for extra details.

      Attachments

        1. HIVE-18247.02.patch
          7 kB
          Alex Kolbasov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: