I manage a large moodle site (50,000+ students) for a university, everything works fine, but creating and deleting courses takes about 1 minute to complete for a single blank course with default settings. One minute to create or delete courses is not acceptable to us as we have to create thousands of courses at the beginning of each semester. Using the web interface or through the command line with moosh takes the same time. I guess it is because of the large amount of data in the DB (~100GB). The course table in MySQL has 45,000+ records. Everything else on the site is fast. Is there anything that can be done to reduce the time needed for course creation and deletion?
Moodle version: 3.10.4
Thanks in advance.