Beginning an assessment will result in one query per POSSIBLE question

Description

1) Create 100 question pools with 100 questions each
2) Create assessment with 100 parts each with 1 question that pulls from a distinct pool
3) Publish assessment
4) Take assessment as student

Yourkit shows me that just beginning the assessment results in 100 * 100 queries

Attachments

3

Activity

Show:

Daniel Merino January 14, 2015 at 3:55 AM

Sam, it seems that there are still calls to the deleted method of this patch. I have created to report it.

Hudson CI Server January 9, 2015 at 8:32 PM

SUCCESS: Integrated in sakai-10-java-1.7 #161 (See http://builds.sakaiproject.org:8080/job/sakai-10-java-1.7/161/)
merge r315993 from trunk (ottenhoff@longsight.com: rev 316665)

Sam Ottenhoff January 9, 2015 at 11:03 AM

10.x r316665

Hudson CI Server December 11, 2014 at 1:04 PM

UNSTABLE: Integrated in sakai-trunk-java-1.7 #566 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/566/)
dont convert Sets to Lists in the Hibernate layer! This can result in tens of thousands of extra queries. This commit removes the getItemTextAttachmentList() helper method (ottenhoff@longsight.com: rev 315993)

Sam Ottenhoff December 11, 2014 at 9:31 AM

Basic regression testing needed especially around attachments added to items. Create assessment as instructor with attachments to items. Publish assessment. Take assessment as student. Confirm attachments are visible.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created December 10, 2014 at 6:22 PM
Updated April 17, 2018 at 8:39 AM
Resolved December 11, 2014 at 9:31 AM