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

Remove expensive RDBMS queries in lock acquisition logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Transactions
    • 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

            Unassigned Unassigned
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: