Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6182

Improve getNumberOfPushMessagesForLoginName JPQL

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • IR289 PushDocker
    • 8

    Description

      Query for "getNumberOfPushMessagesForLoginName()" in "JPAPushMessageInformationDao" is not the best:

      https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/model/jpa/src/main/java/org/jboss/aerogear/unifiedpush/jpa/dao/impl/JPAPushMessageInformationDao.java#L89-L91

      Execution of the query can take long time, while running the query in different, separate parts gives much better result.

      I've pinged gunnar.morling for help on this

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mwessend@redhat.com Matthias Wessendorf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: