-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
2.9.5, 3.0.3, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-53735-master -
- Run PHPUnit tests for lib/dml/test/dml_test.php.
- Confirm that it passes.
- Run PHPUnit tests for lib/dml/test/dml_test.php.
When querying/deleting records by bulk, we can get errors when the values array becomes too large (i.e. > 65535 parameters for PostgreSQL, >1000 for Oracle). Basically, this involves the \moodle_database methods that use where_clause_list(), such as \moodle_database::get_recordset_list(), \moodle_database::get_records_list(), and \moodle_database::delete_records_list().
We need to split the values array into chunks in order to avoid these errors.
- has a non-specific relationship to
-
MDL-66864 Upgrade fails with error 'number of parameters must be between 0 and 65535' on large sites
- Closed
- has been marked as being related by
-
MDL-53425 Unable to reset Dashboard for all users - postgres fails if number of parameters over 65535
- Closed
-
MDL-66498 Analytics cleanup() causes error for large moodle installations under postgres
- Closed
- will be (partly) resolved by
-
MDL-70055 Support large number of SQL-IN parameters in Postgres
- Closed
- will help resolve
-
MDL-60208 Background processing for question engine (core\task\question_cron_task) failed with error ORA-01795
- Closed
-
MDL-67746 Cleanup of task logs fails with big number of records to be deleted
- Closed