Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 4 results 

      Description

      When I have about 10 000 AssetEntry and one asset publisher in my page and I want display all of them - Asset Publisher sends 30 000 queries to database in one request.
      I've written about it here: http://liferaycms.wordpress.com/2011/10/11/one-of-bottleneck-in-liferay-6-1/ and here: http://liferaycms.wordpress.com/2011/10/17/asset-publisher-and-queries-count/

        Issue Links

          Activity

          Hide
          Michael Han added a comment -

          For short term:
          (1) Provide ability to enable/disable permission checks
          (2) Reduce amount of permission checks executed and added more caching

          Show
          Michael Han added a comment - For short term: (1) Provide ability to enable/disable permission checks (2) Reduce amount of permission checks executed and added more caching
          Hide
          Piotr Filipowicz added a comment -

          (2) Reduce amount of permission checks you mean remove 'assetRenderer.hasViewPermission(permissionChecker)' on asset's views (jsps)?

          Show
          Piotr Filipowicz added a comment - (2) Reduce amount of permission checks you mean remove 'assetRenderer.hasViewPermission(permissionChecker)' on asset's views (jsps)?
          Hide
          Michael Han added a comment -

          @Piotr, no there were some situations where the same query was happening multiple times so we activated more caching to avoid this.

          Show
          Michael Han added a comment - @Piotr, no there were some situations where the same query was happening multiple times so we activated more caching to avoid this.
          Hide
          Juan G added a comment -

          Seems this issue caused this one: LPS-26062

          Show
          Juan G added a comment - Seems this issue caused this one: LPS-26062
          Hide
          Matthew Lee (Inactive) added a comment -

          Committed on:
          Portal 6.1.x CE GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990.
          Portal 6.2.x GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990.

          Show
          Matthew Lee (Inactive) added a comment - Committed on: Portal 6.1.x CE GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990. Portal 6.2.x GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990.

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 31 weeks, 3 days ago

                Development

                  Structure Helper Panel