Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-16425

Add index to JournalArticle to speed up expiration checks

    Details

    • Fix Pack Status:
      Scheduled

      Description

      JournalArticleFinder.findByExpirationDate() does not use an index for classNameId, status and expirationDate, so with a table size of ~500k, this takes around 10-20 seconds.

      After adding an index, the query finishes almost instantly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alec.shay Alec Shay
                Reporter:
                roland.pakai Roland Pákai
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.X EE