Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] changelogTemp to changelog main processing

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] changelogTemp to changelog main processing

Chronological Thread 
  • 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:; 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?


- Shilen

On 2/13/17, 3:14 PM, "Michael R Gettes"

>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.

Archive powered by MHonArc 2.6.19.

Top of Page