Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] RE: Possible performance issue with HSQLDB...

Subject: Grouper Developers Forum

List archive

[grouper-dev] RE: Possible performance issue with HSQLDB...


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: [grouper-dev] RE: Possible performance issue with HSQLDB...
  • Date: Thu, 1 Nov 2018 12:01:16 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.163.15) smtp.mailfrom=osu.edu; internet2.edu; dkim=pass (signature was verified) header.d=osu.edu;internet2.edu; dmarc=pass action=none header.from=osu.edu;
  • Authentication-results-original: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:LnaQHRTcfFwWlNz5WTixxJgz3Npsv+yvbD5Q0YIujvd0So/mwa6zZBaN2/xhgRfzUJnB7Loc0qyK6/+mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbF/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHJhMJtkKJVrhGvpxJ9zI7VfI6bO/Vxc7jBfdMDWWZNQtpdWzBfDo66coABD/ABPeFdr4TlqVcDsB++ChOwC+Ps0jNDm2H70rcg0+s/EQDNwQsuE8gAvH/Jq9j6L6MSXvqpw6nL1znPcu1a1Dnm5YjPaRAhvOuAUqxtfsrM0EQiER7OgFaIqYH9IT+azPgBv3We4uZ9SO6jlmsqqw9+rzSz2sshj4fJiZwax13A8Ch0xYQ4KcCkREJjf9KpH4Fcuz+GO4Z1WM8uXX9ktSggxrEbu5O2fzAGyJo5yBPcd/CKdo2F7xHnWemNJDp1im9qdb2jiBu37Ees1vPwVsex3VZEsyVJj9vBu3YQ3BLJ8MeHUOFy/kK51DaPyQ/T7uZELFgsm6fHLJAt3rA9moMdv0rEECL6gUL2g7SIeUk+/eio9vjnba7hpp+BMY97lxvyMrw0msy4HeQ3LBQBX3Sa+eS70r3v50r5QKhWjv0ylanZt5PaKd4Hqa6+Bg9Zyocj6xChADe6yNkUg2MIIE5YdB+CkoTlJkzCLfX2Dfqwn1igjDJmx/7YMbDuBpjAK33OnbX8cbph80JczRA8zdFb55JaELEBJ/fzV1fqu9zcFBA2Lw+0z/z6BNlj2I4TQmWPArSEMK/Ir1CH+/8vL/GWZIAJoDb9N+Ql5/n2gH82g18derSp3YMJZ3CiB/hpPluWYWT3j9cFEGcKpRY+TPf0hFGYUD5TYWqyULwm5jE9Fo2mEZnPSpqzj7OcwSfoVqFRMypmG0KBCzOgXIWeWuxGIHaXKc9wgDEefbm6QMk8zRyoskn3x6cxfcTO/ShN/7jn3dN2o6X4nAs/5HRRSY7Vh2uJRmp32DpSHBcxx705rEBgnATQmZNkiuBVQIQAr8hCVR03YMaGlb5zFszyVwTdf9yAVFehRJC8DCosSs4qmo5XMV1lFYC6hwvYl2qxDrkZmqbDJaR887mUhiKhYZ8hlTCfivJn1gRnJ6kHLmi6nuh6/gnXCZTOlhCejLvseKgBj2bM8nuO12yDoBseXQJtAu3JXnEaM1Pfts+xpljDQLmnFak9P0NewNXKNKZQa9PogFkHIZWrONnXb2+r3WvlAg2VgL6AcdnrfXkQxiPQFBJCngwOrj6KMAEkDXK5qnnFRDVlCVPoZRbq9u9z4HO2R0M51UeEdUpkgr2u51gYieHPRg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Oh.. I forgot to add something to this thread... Later we discovered this
detail...

If you are using the UI with a "GrouperSystem" account then the behavior is
not to bad at all. ( Still slow, but not painful.)
If you also use the system as a "normal user" then it becomes not usable with
any complexity in the system. UI timeouts, 10-30 minute hook completion times
(yes, using Async work from in uI based hooks to avoid the UI timeout.)

So if you run tests as "GrouperSystem" then you will likely avoid some of
this. But that likely does not work for "user centric tests".
--
Carey Matthew



-----Original Message-----
From: Hyzer, Chris
<>

Sent: Wednesday, October 31, 2018 6:28 PM
To: Black, Carey M.
<>
Cc:

Subject: RE: Possible performance issue with HSQLDB...

Yes its hibernate. Haven't seen a problem with this one...

-----Original Message-----
From: Black, Carey M.
<>

Sent: Tuesday, October 16, 2018 2:01 PM
To: Hyzer, Chris
<>
Cc:

Subject: Possible performance issue with HSQLDB...

Chris, (et. al.)

I have a test instance that is currently still using the HSQLDB. ( I know...
I am going to reset the env and move to a "real DB" ... soon...)

But I found that when a group is being added as a member of another group
this SQL takes a very long time to execute:

select member0_.id as id1_24_,
member0_.hibernate_version_number as hibernat2_24_,
member0_.subject_id as subject_3_24_,
member0_.subject_source as subject_4_24_,
member0_.subject_type as subject_5_24_,
member0_.context_id as context_6_24_,
member0_.subject_identifier0 as subject_7_24_,
member0_.sort_string0 as sort_str8_24_,
member0_.sort_string1 as sort_str9_24_,
member0_.sort_string2 as sort_st10_24_,
member0_.sort_string3 as sort_st11_24_,
member0_.sort_string4 as sort_st12_24_,
member0_.search_string0 as search_13_24_,
member0_.search_string1 as search_14_24_,
member0_.search_string2 as search_15_24_,
member0_.search_string3 as search_16_24_,
member0_.search_string4 as search_17_24_,
member0_.name as name18_24_,
member0_.description as descrip19_24_
from grouper_members member0_ cross join grouper_memberships_all_v
membership1_
where membership1_.owner_group_id=? and membership1_.field_id=?
and membership1_.member_id=member0_.id and
membership1_.immediate_mship_enabled='T'

Maybe this is the "performance issue" that you have seen from time to time in
the test scripts?
( "cross join" sounds.... like a bad idea on any system of any size.)

Maybe this is just a hibernate on HSQLDB issue? Maybe not?

Hope that helps.

--
Carey Matthew





  • [grouper-dev] RE: Possible performance issue with HSQLDB..., Black, Carey M., 11/01/2018

Archive powered by MHonArc 2.6.19.

Top of Page