Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-400

Poor search performance on MySQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.8, 1.1.2
    • 1.1.3, 1.2.0-M1
    • core
    • None
    • MySQL

    Description

      As reported from different deployment environments, searching users and roles when using MySQL for internal storage shows very poor performance.

      This is with any evidence due to bug [1], open since 2010, and is related to the "UNION ALL" construct used to define SQL search views, on which AttributableSearchDAOImpl [2] is based.

      Such views definition needs to be changed in order to avoid at all the "UNION ALL" construct.

      [1] http://bugs.mysql.com/bug.php?id=56225
      [2] https://svn.apache.org/repos/asf/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/dao/impl/AttributableSearchDAOImpl.java

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: