Periodically clean up the notificationinstance table

XMLWordPrintable

    • 1
    • 15

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      On JIRA instances that heavily use mail handlers, the notificationinstance table can grow a lot, which ends up causing performance issues - specially since it appears that JIRA does a full table scan frequently. On Oracle DBs, this can be costly and degrade server performance.

      Suggested Solution

      We should delete older entries from the table, similarly to what we did with the NotificationInstanceKiller that we implement as an upgrade task after JIRA 5.2 (see this page for more details). Also, we could add an index in the database for this table, to improve performance when searching on it.

            Assignee:
            Unassigned
            Reporter:
            Pedro Cora (Inactive)
            Votes:
            16 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: