mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
![]() When resetting a sequence number, we call change_database_structure() which in turns clears the MUC cache for databasemeta. This cache contains information about the table, columns, etc. After the cache is cleared, it must be re-filled, and it was discovered that the get_columns() code which fills this cache can take a particularly long time. Given that this is called for every table in Moodle, this can add up to a significant period, and this is done on a per-testsuite basis. On my SSD install this was taking approximately 40 seconds on each re-fill of the cache. |
||
---|---|---|
.. | ||
classes | ||
generator | ||
tests | ||
lib.php |