grouper-users - Re: [grouper-users] ChangeLogTempToChangeLog processing questions
Subject: Grouper Users - Open Discussion List
List archive
- From: Nathan Weyenberg <>
- To: Shilen Patel <>
- Cc: Mike Roszkowski <>, "" <>
- Subject: Re: [grouper-users] ChangeLogTempToChangeLog processing questions
- Date: Thu, 09 Oct 2014 16:20:24 +0000
- Accept-language: en-US
Hey Shilen thank you for the help thus far!
Tables have been analyzed, oracle seems to be humming along as best we can tell since we applied the patch.Since restarting the grouper loader the CHANGE_LOG_changeLogTempToChangeLog job has been processing the permission changes very quickly.
We also have some membership adds and deletes of large groups queued up to be processed. We made it through 4/5 of the large group adds and deletes, but we have been processing the fifth one for approximately 11 hours. The first four similarly sized group adds took substantially less time. Would restarting the grouper loader be advised? If so, would we lose any records that had been processed from the temp change log but not made it into the grouper_change_log_entry?
--Nathan Weyenberg UW-Madison From: Shilen Patel <>
Sent: Tuesday, October 07, 2014 9:25 PM To: Nathan Weyenberg Cc: Mike Roszkowski; Subject: Re: [grouper-users] ChangeLogTempToChangeLog processing questions 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.