Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.0.6 GA
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Infrastructure, Infrastructure > DBs
-
Environment:Glassfish 3.1.1
Oracle
-
Similar Issues:
Description
Our monitoring tools report this query as taking a long time and being repeated multiple times on a login. It is causing unacceptable performance.
SELECT PERMISSION_.PERMISSIONID AS PERMISSI1_27_0_, PERMISSION_.COMPANYID AS COMPANYID27_0_, PERMISSION_.ACTIONID AS ACTIONID27_0_, PERMISSION_.RESOURCEID AS RESOURCEID27_0_ FROM PERMISSION_ INNER JOIN ROLES_PERMISSIONS ON (ROLES_PERMISSIONS.PERMISSIONID = PERMISSION_.PERMISSIONID) WHERE (ROLES_PERMISSIONS.ROLEID = ?) AND (PERMISSION_.RESOURCEID = ?) ORDER BY PERMISSION_.ACTIONID ASC 21

Matthew
Can you check if this issue is still in 6.2.0m4? Here can you download bundles http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.0%20M4/
Is Oracle running on a quick server or not? Have you run Oracle SQL advisor for it to suggest what indexes to create? Do they improve the performance? Are statistics gathered regularly? How many users and permissions do your portal have?
Thanks