Ouch, was just playing with a course with 400 users and restoring it cost 13k db queries!
I quickly put a few mtraces in restore_create_users with $PERF->dbqueries and it seems to cost about 6000 queries on itself to end up not doing much.
- will be (partly) resolved by
-
MDL-14269 META: Backup performance
- Closed