grouper-dev - [grouper-dev] Possible performance issue with HSQLDB...
Subject: Grouper Developers Forum
List archive
- From: "Black, Carey M." <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: [grouper-dev] Possible performance issue with HSQLDB...
- Date: Tue, 16 Oct 2018 18:00:31 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 128.146.138.10) 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:GnKciBPc7hv9hfs/4oYl6mtUPXoX/o7sNwtQ0KIMzox0I/j5rarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37X3XhMJzgqJavB2vqBNwzpXIYIGMKPZyYr/Rcc8ESWdHQ81fVzZBAoS5b4YXAeYMIOJYoJPhqFsNtRe1GBehC/n1yjBWhn79wKo03/4vHQrb2wEvBNYOv27Io9X2LqseTP65wafTwDXEdPNWxC3x55bVfRA8uPyBW697f8nJyUQ3CQ/KlEmcpZHgMj+Iy+gBrm2W7+RvWO6zl2Iqrg9xrSagy8ovj4TEg4AYxk7A+Clh3oo4JMO0RFJ+bNK4FZZcqjuVO5ZqTs4nQWxlujo2xqMDtJO4YScHx4kryhvFZPyJbYSF7BfuVOiPLjtmn31ofaywiwuv/kS4xO3zSMq53EpPoydAktTBuX4N2AfW58WJSvZw/1yu1DOL2g3R9+1LPUU5mK7aJpMl3rI9kIcYv17ZES/sgkr2ibebdkU69eis7OTqeq3oq4ObOYNohAzyK7ojlNWiDeghNQgBRHaU9f671L3+4U32W7JKjuAwkqbEqpzaPd4bpqmlAwBLzokj9xe/DzCg0NgCmnkHMU5FeBaAj4juOFHCOuz3DfC6g1i0kTdrwe7JPqH5D5nTNHfPjKrtcLNg50JB1QY+yN5f6p1IBr0dJf/zVFH+udPbAxI8NgG5wfjrBdFl2oMbQ22PA6uZMK3IsV+P4+IiO/KDZIsPtznhKPgp/ePigWE3lFIGeqmpxoYXZGqmEft7PkWVeWDsjcsZEWcWogo+S/TniFKYUT5UenayR7wz5isiBI27E4jDWJuggLiA3CegAp1WfX5KBkqNEXfua4WLRe0MaCSMLc99jDAIT6auRJI81ULmiAivgZp2POfOvmUztYjiz5I9s+jYlQAg+CZcDt+WlXyVQmdy2G4EWmll8rp4pBk34FOK2qs8y9dRD9FCr9YPGE9uP5rVxO88UoqpcgXaY5GEREvwEYbuOi04Ut9km4xGWE16Adj31kqZjSO3H78YkaCKD5Uo86XammL8PNt5122fhfBzlEEoF9NGLnbuxrVy8QTeHcboqw2YjO7zL/RahXKTsj7YnSzX5AA9MkZrVLndG3UWZ0/Yt9P8s0TZUvmjBal0egpH1cOYLKZWMJvkgUgVDPvgOdGLe2uqgC/wHheHwLqQcZDnM3oUx23DBVIFnQEe8TfjV0A+Cy6trniYAGlpDk+pbk/xouh4tH6hSEIolUeHY1Ayn7aw8wQe0OSVUOhb17kYuSAn/jNzGlv139/fB9ea4QR7e6AJZsggplpLyDHU
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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] Possible performance issue with HSQLDB..., Black, Carey M., 10/16/2018
- Re: [grouper-dev] Possible performance issue with HSQLDB..., Michael Douglass, 10/16/2018
- RE: [grouper-dev] Possible performance issue with HSQLDB..., Black, Carey M., 10/16/2018
- [grouper-dev] RE: Possible performance issue with HSQLDB..., Redman, Chad, 10/16/2018
- [grouper-dev] RE: Possible performance issue with HSQLDB..., Hyzer, Chris, 10/31/2018
- Re: [grouper-dev] Possible performance issue with HSQLDB..., Michael Douglass, 10/16/2018
Archive powered by MHonArc 2.6.19.