Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30522

Turn off hibernate's second level cache and query cache by default

    Details

      Description

      hibernate's second level cache and query cache is addressing the same problem as our entity/finder cache.

      Keep them both on is just a waste of memory, adding more call stack, and in cluster env causing more network traffic.

      Our entity/finder cache have a much seamless integration with our persistence layer, so it is better to turn off hibernate's cache by default.

      There is no good reason to turn it on, unless you are using hibernate code directly(not through persistence layer) and your code rely on hibernate's caching mechanism.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              shuyang.zhou Shuyang Zhou
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.2.0 CE M2