Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33858

BULLHORN_ALERTS table missing index

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.0
    • Fix Version/s: None
    • Component/s: Portal Bullhorns
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Based on the queries executed for the BULLHORN_ALERTS table, this table should have an index on (TO_USER, ALERT_TYPE) but seems to be missing one.

       private final static String BULLHORN_INSERT_SQL =
                      "INSERT INTO BULLHORN_ALERTS (ALERT_TYPE, FROM_USER,TO_USER,EVENT,REF,TITLE,SITE_ID,EVENT_DATE,URL) VALUES(?,?,?,?,?,?,?,?,?)";
      
          private static final String ALERTS_SELECT_SQL =
                      "SELECT * FROM BULLHORN_ALERTS WHERE ALERT_TYPE = ? AND TO_USER = ? ORDER BY EVENT_DATE DESC";
      
          private static final String ALERTS_COUNT_SQL =
                      "SELECT COUNT(*) FROM BULLHORN_ALERTS WHERE ALERT_TYPE = ? AND TO_USER = ?";
      
          private static final String ALERT_DELETE_SQL =
                      "DELETE FROM BULLHORN_ALERTS WHERE ID = ? AND TO_USER = ?";
      
          private static final String ALERTS_DELETE_SQL =
                      "DELETE FROM BULLHORN_ALERTS WHERE ALERT_TYPE = ? AND TO_USER = ?";
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  smarquard Stephen Marquard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Integration