Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5375

New Core 2.1 Cohort module significantly slows down Cohort manipulation

    XMLWordPrintable

Details

    Description

       

      A Cohort in core used to be solely a set of integers. In 2.1 a Cohort so that each element was a new "CohortMembership" element, that contained both an id and a date range.

      This significantly increased operations on Cohorts... for instance adding thousands of ids to a Cohort could take minutes instead of milliseconds... this is prohibitively costly for reports, so we need to either create a simpler Cohort model in reporting to use instead of the more complex one in core, or change the one in core to perform better.

      fyi mseaton

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mseaton Mike Seaton
                mogoodrich Mark Goodrich
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: