Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine 2 - ORM
  • Doctrine 2 - ORM
  • DDC-952 Several features to batch eager selec...
  • DDC-53

Introduce batching of eager loads

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0-ALPHA2
  • Fix Version/s: 2.1
  • Component/s: None
  • Security Level: All
  • Labels:
    None

Description

During hydration when an association is encountered that is configured EAGER this entity is directly loaded through a separate SQL statement. This is inefficient for single-valued associations as it leads to the n+1 queries problem. This should be improved by somehow collecting all entities that need to be eagerly fetched and loading them in a single statement or in batches.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Roman S. Borschel made changes - 28/Oct/09 11:17 AM
Field Original Value New Value
Priority Major [ 3 ] Minor [ 4 ]
Hide
Permalink
Roman S. Borschel added a comment - 31/Oct/09 9:13 AM - edited

Update: This affects inverse sides of a one-one association since these can never be lazy as well as one-one owning sides that are configured EAGER.

Probably batching of collection loads is also somehow possible but all this needs quite some design and planning before implementation.

Show
Roman S. Borschel added a comment - 31/Oct/09 9:13 AM - edited Update: This affects inverse sides of a one-one association since these can never be lazy as well as one-one owning sides that are configured EAGER. Probably batching of collection loads is also somehow possible but all this needs quite some design and planning before implementation.
Hide
Permalink
Roman S. Borschel added a comment - 26/Aug/10 8:02 AM

Rescheduled.

Show
Roman S. Borschel added a comment - 26/Aug/10 8:02 AM Rescheduled.
Roman S. Borschel made changes - 26/Aug/10 8:02 AM
Fix Version/s 2.x [ 10090 ]
Fix Version/s 2.0 [ 10021 ]
Benjamin Eberlei made changes - 27/Dec/10 6:24 PM
Parent DDC-952 [ 12257 ]
Issue Type Improvement [ 4 ] Sub-task [ 5 ]
Benjamin Eberlei made changes - 27/Dec/10 6:24 PM
Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
Hide
Permalink
Benjamin Eberlei added a comment - 06/Mar/11 5:26 AM - edited

I implemented batching of eager loads for Many-To-One and Owning One-To-One associations so far as part of DDC-952.

Show
Benjamin Eberlei added a comment - 06/Mar/11 5:26 AM - edited I implemented batching of eager loads for Many-To-One and Owning One-To-One associations so far as part of DDC-952 .
Hide
Permalink
Benjamin Eberlei added a comment - 16/Mar/11 6:35 PM

Implemented

Show
Benjamin Eberlei added a comment - 16/Mar/11 6:35 PM Implemented
Benjamin Eberlei made changes - 16/Mar/11 6:35 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.1 [ 10022 ]
Fix Version/s 2.x [ 10090 ]
Resolution Fixed [ 1 ]
Benjamin Eberlei made changes - 07/Jul/12 2:01 PM
Workflow jira [ 10197 ] jira-feedback [ 14123 ]
Benjamin Eberlei made changes - 07/Jul/12 2:08 PM
Workflow jira-feedback [ 14123 ] jira-feedback2 [ 15987 ]
Benjamin Eberlei made changes - 08/Jul/12 6:21 AM
Workflow jira-feedback2 [ 15987 ] jira-feedback3 [ 18240 ]
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
  • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-53, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

People

  • Assignee:
    Benjamin Eberlei
    Reporter:
    Roman S. Borschel
Vote (1)
Watch (0)

Dates

  • Created:
    15/Oct/09 6:32 PM
    Updated:
    16/Mar/11 6:35 PM
    Resolved:
    16/Mar/11 6:35 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.