1
0
mirror of synced 2025-02-13 10:49:25 +03:00
Maik Penz 0677423d14 iteration risk note
> instead of loading the whole result into memory at once
is not the full truth.

There is a certain risk of processes getting killed due to memory allocation with large iteration. This is caused by result buffering of the client not being visible to PHP and thus not from 'within' the process.

It is not certain that this occurs with all database clients but seems rather likely to at this point.

This is only a proposal for discussion as I am not certain how to best add the information or if to add it at all (was it obvious before?). Personally I got confused by the existing description and didn't notice the memory implication until further investigation using `top` reported the process to run at 3+GB memory while PHP reported 400M real peak usage.
2014-02-17 10:33:10 +01:00
2014-02-17 10:33:10 +01:00
2013-12-16 11:05:05 -05:00
2013-06-27 20:18:21 -04:00
2013-03-07 14:12:10 +01:00
2013-09-07 12:56:49 +02:00
2013-09-07 12:56:49 +02:00
2013-12-14 11:29:07 +01:00
2012-05-26 14:37:00 +02:00
2013-03-11 00:08:58 +00:00
2014-01-20 09:36:15 +01:00
2013-03-11 00:08:58 +00:00

Doctrine 2 ORM

Master: Build Status 2.4: Build Status 2.3: Build Status 2.2: Build Status 2.1: Build Status

Master: Coverage Status

Doctrine 2 is an object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

More resources:

Description
Doctrine 2 Object Relational Mapper (ORM)
Readme MIT 32 MiB
Languages
PHP 100%