Deleting pages takes a long time
Description
is caused by
relates
Activity
Show:

Michael Saechang January 19, 2012 at 6:24 PMEdited
Committed on:
6.0.x GIT ID: fccd8ba222b1ad1cea4976f56f7f92fed14a38f8.
6.1.x GIT ID: 253ab6daf4a146a738c4f1015fe3a0135a2b2234.
6.2.x GIT ID: ac0e31a6f147ad73f8e5089a6abec27bb4438bdd.

Amos Fong January 17, 2012 at 7:33 PM
thanks!
Fixed
Details
Assignee
daniel.kocsis@liferay.comdaniel.kocsis@liferay.com(Deactivated)Reporter
Amos FongAmos FongBranch Version/s
6.1.x6.0.xBackported to Branch
CommittedCaused by
Other bug fixGit Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
6.0.x
Backported to Branch
Committed
Caused by
Other bug fix
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created January 9, 2012 at 10:59 PM
Updated June 24, 2023 at 3:43 PM
Resolved March 12, 2012 at 1:40 PM
In large databases, (for me 2.8 million records in ResourcePermission), deleting a page takes a long time. This is the query that takes a long time (~6 seconds):
SELECT * FROM ResourcePermission WHERE (ResourcePermission.companyId = 1) AND (ResourcePermission.primKey LIKE '326317_LAYOUT%');