The new group-aware Roster code generates a very large number of queries when displaying a Roster for a site in which there is a non-trivial number of groups.
Test scenario:
1000 users in a site
25 groups, 40 users per group
Select Roster tool (new profiles are created for each user)
Reset Roster tool
The page load time ranges from 90s to > 3min with production data. mysql logs show that the operation of resetting the tool generates 2 queries to SAKAI_PERSON_T, and over 130,000 queries involving SAKAI_REALM.
The new group-aware Roster code generates a very large number of queries when displaying a Roster for a site in which there is a non-trivial number of groups.
Test scenario:
1000 users in a site
25 groups, 40 users per group
Select Roster tool (new profiles are created for each user)
Reset Roster tool
The page load time ranges from 90s to > 3min with production data. mysql logs show that the operation of resetting the tool generates 2 queries to SAKAI_PERSON_T, and over 130,000 queries involving SAKAI_REALM.
Trunk build, 21451.
Scripts used for generating test data are at:
http://source.cet.uct.ac.za/svn/sakai/trunk/scripts/loadtest/SakaiQA.jws
http://source.cet.uct.ac.za/svn/sakai/trunk/scripts/loadtest/roster_test.php (requires nusoap library)