MDL-65403 notifications: Create additional database indexes

This adds indexes on the timecreated and timeread columns, which greatly
speeds up the queries used by \core\task\messaging_cleanup_task on large
sites.
This commit is contained in:
Mark Johnson
2023-11-24 16:01:38 +00:00
parent 6374475dc3
commit 1fd2f91fa2
3 changed files with 27 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2023112400.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2023112400.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '4.4dev (Build: 20231124)'; // Human-friendly version name