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

Remove expensive RDBMS queries in lock acquisition logic

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Transactions
    • Labels:
      None

      Description

      There are queries like
      "update NEXT_LOCK_ID set nl_next = 163084841;" which can be entirely skipped
      the ACID impl doesn't require globally unique lock ids
      because locks are marked as txn.id
      In a particular instance we observed this logic taking multiple seconds in mysql

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: