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

Add timestamp column to the partition stats table.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None
    • Reviewed

    Description

      Occasionally, when entries are added to the partition stats table the program is halted before it can delete those entries, by an exception, keyboard interrupt, etc. These build up to the point where the table gets very large, and it hurts the performance of the update statement which is often called. In order to fix this, I am adding a column to the table which is auto-populated with the current timestamp. This will allow us to create scripts that go through periodically and clean out old entries from the table.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2471.D2367.1.patch
          3 kB
          Phabricator
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2471.D2367.2.patch
          3 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2471.D2367.3.patch
          3 kB
          Phabricator
        4. HIVE-2471.1.patch.txt
          4 kB
          Kevin Wilfong

        Activity

          People

            kevinwilfong Kevin Wilfong
            kevinwilfong Kevin Wilfong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: