Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-3325

CLONE - LP #1285365: Bug query optimizer when multiple conditions are included in ON section

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Incomplete
    • None
    • None
    • None

    Description

      **Reported in Launchpad by Jared Kipe last update 25-08-2014 09:25:32

      Basically a query with a left join, and conditions keep any index from being used, thus resulting in terrible performance.

      https://gist.github.com/jaredkipe/4b752bd4ceca710e5839

      Rewriting the query (from Magento in /app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php ) resulted in a 710ms -> 10ms response reduction on that query.

      Attachments

        Issue Links

          Activity

            People

              lalit.choudhary Lalit Choudhary
              Borislav Borislav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist