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

avoid database overload when fetching a node by remote_id

    XMLWordPrintable

Details

    Description

      using the fetch operator with parameter hash( 'remote_id', $some_param ) will cause very slow queries on a large system, can be 10s or more for a single query if there are 1M+ objects in the db.

      creating an index on ezcontentobject_tree.remote_id stops the problem, allows the db usage to go up from overloaded to running cool once more.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: