Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19821

Remove performance degrading joins from activity search (& api calls)

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Like https://issues.civicrm.org/jira/browse/CRM-19815 but for activity

      Note that removing the join on the SELECT & WHERE parts is relatively easy.

      It is also possible to remove it on the ORDER BY (a less common function but one that happens if you sort the columns) and since that is more work to do I did some checks to see how much value it would give. The upshot is 'quite a bit'

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: