DDC-2672: Using fetchAll() in Hydration can improve TCP Wait #3410

Open
doctrinebot opened this Issue Sep 11, 2013 · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

Hydration currently fetches the rows and hydrates them by interleaving both operations. This can cause an increased TCP wait time, because the PHP processing takes a bit of time.

We should investigate weather changing to fetchAll() improves the overall performance.

Ping [rande][guilhermeblanco]

@doctrinebot

Comment created by @beberlei:

We can introduce a new query hint to allow us to support both: 'DBALFETCHALL'. If that is set, use fetchAll(), otherwise fetchRow().

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment