grouper-users - Re: [grouper-users] ChangeLogTempToChangeLog processing questions
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Nathan Weyenberg <>
- Cc: Mike Roszkowski <>, "" <>
- Subject: Re: [grouper-users] ChangeLogTempToChangeLog processing questions
- Date: Wed, 8 Oct 2014 02:25:59 +0000
- Accept-language: en-US
Hey,
A few thoughts.
1. Have you recently analyzed your tables? If not, try that and see if that improves the rate.
2. Are you using Oracle? Can your DBAs tell if there's a query that's performing slowly?
3. If it's still a problem, can you see if this patch helps? (Modify source, recompile jar, restart daemon)
---------------------------------------
Index: src/grouper/edu/internet2/middleware/grouper/changeLog/ChangeLogTempToEntity.java
===================================================================
--- src/grouper/edu/internet2/middleware/grouper/changeLog/ChangeLogTempToEntity.java
+++ src/grouper/edu/internet2/middleware/grouper/changeLog/ChangeLogTempToEntity.java
@@ -921,7 +921,7 @@
boolean includeFlattenedPrivileges = GrouperLoaderConfig.getPropertyBoolean("changeLog.includeFlattenedPrivileges", true);
boolean includeRolesWithPermissionChanges = GrouperLoaderConfig.getPropertyBoolean("changeLog.includeRolesWithPermissionChanges", false);
pitMembership.setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(includeRolesWithPermissionChanges);
- pitMembership.setFlatMembershipNotificationsOnSaveOrUpdate(includeFlattenedMemberships);
+ pitMembership.setFlatMembershipNotificationsOnSaveOrUpdate(false);
pitMembership.setFlatPrivilegeNotificationsOnSaveOrUpdate(includeFlattenedPrivileges);
pitMembership.save();
@@ -958,7 +958,7 @@
boolean includeFlattenedPrivileges = GrouperLoaderConfig.getPropertyBoolean("changeLog.includeFlattenedPrivileges", true);
boolean includeRolesWithPermissionChanges = GrouperLoaderConfig.getPropertyBoolean("changeLog.includeRolesWithPermissionChanges", false);
pitMembership.setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(includeRolesWithPermissionChanges);
- pitMembership.setFlatMembershipNotificationsOnSaveOrUpdate(includeFlattenedMemberships);
+ pitMembership.setFlatMembershipNotificationsOnSaveOrUpdate(false);
pitMembership.setFlatPrivilegeNotificationsOnSaveOrUpdate(includeFlattenedPrivileges);
pitMembership.update();
---------------------------------------
Thanks!
-- Shilen
From: Nathan Weyenberg <>
Date: Tuesday, October 7, 2014 6:47 PM To: Shilen Patel <> Cc: Mike Roszkowski <>, "" <> Subject: Re: [grouper-users] ChangeLogTempToChangeLog processing questions
|
- [grouper-users] ChangeLogTempToChangeLog processing questions, Mike Roszkowski, 10/07/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Scott Koranda, 10/07/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Shilen Patel, 10/07/2014
- Message not available
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Nathan Weyenberg, 10/07/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Shilen Patel, 10/08/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Nathan Weyenberg, 10/09/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Nathan Weyenberg, 10/09/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Nathan Weyenberg, 10/09/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Shilen Patel, 10/08/2014
- Re: [grouper-users] ChangeLogTempToChangeLog processing questions, Nathan Weyenberg, 10/07/2014
- Message not available
Archive powered by MHonArc 2.6.16.