Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15117

Split eZContentObject::fillNodeListAttributes SQL query into smaller ones

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.1.3
    • Database related
    • None

    Description

      When the database contains a very large amound of attributes, the SQL query generated by eZContentObject::fillNodeListAttributes generates a very big "Using where; Using temporary; Using filesort" in MySQL which slows down the page generation.

      The idea is to split this query into smaller ones which should be executed much faster.

      On small sites, the difference might not be noticeable it might even slow the pages down a bit, but on sites with a lot of content (more than 100K attributes) this should make the difference.

      Attachments

        1. bug15117_2.diff
          5 kB
        2. bug15117.diff
          5 kB
        3. bug15117-ezp40.diff
          5 kB

        Activity

          People

            unknown unknown
            qwix qwix
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: