1
0
mirror of synced 2025-01-10 02:57:10 +03:00
Doctrine 2 Object Relational Mapper (ORM)
Go to file
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
bin Moved tools to Advanced topic, included simple setting up tools in Installation. Reworked CLI tool to print a template when no cli-config.php is defined. 2013-03-17 12:16:42 +01:00
docs iteration risk note 2014-02-17 10:33:10 +01:00
lib Can cache many to many empty relations 2014-02-11 15:08:49 +01:00
tests Typo fix on many-to-many assocaition cascade test 2014-02-12 08:18:34 +01:00
tools/sandbox Region cache clear commands 2013-12-16 11:05:05 -05:00
.coveralls.yml coveralls code coverage 2013-06-27 20:18:21 -04:00
.gitattributes Remove README.markdown from .gitattributes 2013-01-19 20:04:43 +01:00
.gitignore Added composer.lock to .gitignore 2013-03-07 14:12:10 +01:00
.gitmodules Removing submodules as of doctrine/doctrine2#570 2013-02-15 18:33:29 +01:00
.travis.yml exclude unsupported HHVM + PostgreSQL and HHVM + Mysqli from travis build matrix for now 2014-01-08 20:19:10 +01:00
build.properties New Build process 2013-09-07 12:56:49 +02:00
build.properties.dev Add support to distribute the XSD to a given directory during build process 2011-08-27 13:23:17 +02:00
build.xml New Build process 2013-09-07 12:56:49 +02:00
composer.json Fix master dependening on DBAL 2.5-dev 2013-09-12 08:00:08 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2013-12-14 11:29:07 +01:00
doctrine-mapping.xsd Merge branch 'master' of github.com:doctrine/doctrine2 into ValueObjects 2014-01-04 17:52:32 +01:00
LICENSE LGPL => MIT 2012-05-26 14:37:00 +02:00
phpunit.xml.dist Fixed typos 2013-03-11 00:08:58 +00:00
README.markdown Remove badges 2014-01-20 09:36:15 +01:00
run-all.sh Fixed typos 2013-03-11 00:08:58 +00:00
UPGRADE.md Merge pull request #835 from schmittjoh/ValueObjects 2014-02-08 16:24:47 +01: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: