grouper-users - Re: [grouper-users] changelogTemp to changelog main processing
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Michael R Gettes <>
- Cc: grouper-users <>
- Subject: Re: [grouper-users] changelogTemp to changelog main processing
- Date: Tue, 14 Feb 2017 16:18:14 +0000
- Accept-language: en-US
- Authentication-results: oit.duke.edu; spf=none
- Ironport-phdr: 9a23:0ql7/xyjaxCATDnXCy+O+j09IxM/srCxBDY+r6Qd1O0UIJqq85mqBkHD//Il1AaPBtSGraocwLSM+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFIiTanfb9+MBq6oATPusILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406GHZhNJtgqJHrhyvpBJ/zIzab4GUKPVwcazScMgGRWpYRMtdSzBND5miY4YJEuEPPfxYr474p1YWsBW+BQisBOfxxT9Om3T4x7c10/g/HgHCwQctGMkOsHTVrNXxKqgSV/u4w7TVzTXAcfxawyny55XVch04p/yHQLF+cdLJxEUyFw7JkE+cpIL/Mz+I1ekAt3KX4/RvWO+gk2IrtgF8ria1ysoikIXEiI0YxkrK+Clh3oo5ONy1RFR1bNK6CpdcqiKXO5dsTs4iQ2xlvjsxxKcctp6hZicKzYwqxx7BZPyDdIiF+hfjW/yQITd8nX5ld7y+iw+v/UWj0OH8Uci00EpQoiVYj9nMtW4C2wbN5ceaV/tx5kah2TCR2ADP8uxIPEA5mbTBJ5Mv2LI8i5kevEDZEiPol0j7g7eadkA+9eip7+TnbK/mppiZN4JskQH+MqUumsihDuQ+KQUBQnWb+eei27H540L2XahKguUskqbFqJDaOdgbpqmhDg9ayIYj7Au/Dy+439QChHUHMUlFdwydj4jyIFzOJPH4Deyjg1S3jjtn3fHGPrv9AprTNHjDlqnufapj50JG1gU80M1ftNpoDeQkIfnzU0L1/OaQIRIlLwGvi7LiEtomjqsGQn/JD6OEZvD8q1iNs9kvIu2BYsctsSrwL7Bx/P7viXI/sVMAfqTv0JcKPiPrVs96KlmUNCK/yuwKFn0H61Iz
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Maybe. This was created back when the loader was single threaded and PSP
was the main provisioner. Both of which were often the bottlenecks. Now
with the loader being multi-threaded and PSPNG being much faster, the
change log increasingly becomes an issue when you're loading a lot of data.
The records are processed one at a time and in a single thread mainly to
make sure that flattened membership and privilege changes are represented
correctly in the change log. E.g. If you're added to a group in two
different ways, there's only one flattened membership add in the change
log. And it also ensures that changes are committed sequentially and in
the right order.
Also, from what I've seen in the past, the most expensive part of the
process is determining the flattened changes. If you're not interested in
that, you can actually disable it. That would improve performance and you
can still get immediate membership changes.
We can take another look to see what improvements may be possible. In the
past, I think there were other thoughts floated around like using hooks to
speed up provisioning. In any case, do you have more info on what
specifically you're seeing?
Thanks!
- Shilen
On 2/13/17, 3:14 PM, "Michael R Gettes"
<>
wrote:
>From what I can tell, moving data from the temp changelog to the main
>changelog is handled by
>
>select from temp, insert to main, delete from temp
>
>loop - one record at a time.
>
>Can this be handled more efficiently? This seems to be the slowest part
>of processing with Grouper. If there are good reasons for it being the
>way it is - education is appreciated.
>
>Thanks!
>
>/mrg
>
- [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/13/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Shilen Patel, 02/14/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/14/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/14/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Andrew Morgan, 02/15/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/14/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Bee-Lindgren, Bert, 02/16/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/16/2017
- [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Petursson, Sigurdur, 02/16/2017
- Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Shilen Patel, 02/17/2017
- Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Hyzer, Chris, 02/17/2017
- Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Shilen Patel, 02/17/2017
- Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Hyzer, Chris, 02/17/2017
- Re: [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Shilen Patel, 02/17/2017
- [grouper-users] GRP-1475 still unresolved at API patch 55 (Problem in HibernateSession), Petursson, Sigurdur, 02/16/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/16/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Michael R Gettes, 02/14/2017
- Re: [grouper-users] changelogTemp to changelog main processing, Shilen Patel, 02/14/2017
Archive powered by MHonArc 2.6.19.