moodle/lib/dml
sam marshall ed00d67c99 MDL-60174 core_dml: get_recordset on Postgres eats all the RAM
On Postgres, get_recordset_sql loads all the results into memory
(within the Postgres library, which doesn't count towards the PHP
memory limit, but does count towards making your server run out of
memory) as soon as the query completes.

This commit changes the code to use cursors, which in Postgres
allow the results to be returned in smaller chunks (by default
100,000 rows).
2017-11-27 11:10:29 +00:00
..
tests MDL-60174 core_dml: get_recordset on Postgres eats all the RAM 2017-11-27 11:10:29 +00:00
database_column_info.php MDL-53213 caching: Faster databasemeta caching for all databases. 2016-02-28 17:03:14 +11:00
mariadb_native_moodle_database.php MDL-59583 dml: fixed breaking change added w/ MariaDB 10.2.7+ 2017-07-25 12:36:23 +02:00
moodle_database.php MDL-46269 dml: Add casesensitive argument to sql_regex() 2017-10-16 16:53:46 +08:00
moodle_recordset.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
moodle_temptables.php MDL-53213 caching: Faster databasemeta caching for all databases. 2016-02-28 17:03:14 +11:00
moodle_transaction.php MDL-52284 core: PHP7 engine errors have type Throwable 2015-12-10 10:49:37 +08:00
mssql_native_moodle_database.php MDL-57192 dml: Temporarily disable query logging during setup 2017-01-03 17:24:21 +05:30
mssql_native_moodle_recordset.php MDL-39019 make sure MSSQL does not return non-string data types 2013-04-08 10:06:55 +02:00
mssql_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
mysqli_native_moodle_database.php MDL-59099 dml: MySQL8 supports only the Barracuda file format. 2017-10-27 17:38:36 +02:00
mysqli_native_moodle_recordset.php MDL-37718 release low level recordsets as soon as possible 2013-01-26 17:20:43 +01:00
mysqli_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
oci_native_moodle_database.php MDL-57192 dml: Temporarily disable query logging during setup 2017-01-03 17:24:21 +05:30
oci_native_moodle_package.sql Merge branch 'w14_MDL-38750_m25_ocierrors' of git://github.com/skodak/moodle 2013-04-09 02:26:49 +02:00
oci_native_moodle_recordset.php MDL-37718 release low level recordsets as soon as possible 2013-01-26 17:20:43 +01:00
oci_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
pdo_moodle_database.php MDL-51374 core_dml: change database layer to pass table name as parameter 2016-03-15 14:43:45 +08:00
pdo_moodle_recordset.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
pgsql_native_moodle_database.php MDL-60174 core_dml: get_recordset on Postgres eats all the RAM 2017-11-27 11:10:29 +00:00
pgsql_native_moodle_recordset.php MDL-60174 core_dml: get_recordset on Postgres eats all the RAM 2017-11-27 11:10:29 +00:00
pgsql_native_moodle_temptables.php MDL-39725 database: Add statistics collection functions 2013-12-10 20:31:47 +11:00
sqlite3_pdo_moodle_database.php MDL-51374 core_dml: change database layer to pass table name as parameter 2016-03-15 14:43:45 +08:00
sqlsrv_native_moodle_database.php Merge branch 'MDL-57698-master' of https://github.com/xow/moodle 2017-07-25 11:48:09 +01:00
sqlsrv_native_moodle_recordset.php MDL-39027 make sure sqlsrv does not return non-string data types 2013-04-08 23:29:52 +02:00
sqlsrv_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00