mdl_message table is no longer used?

mdl_message table is no longer used?

by Charles Avg -
Number of replies: 2

Hello,

in our database, the mdl_message table (without s) exceeds 4 GB.

I understand this table is not used anymore since version 3.5 (link). The last entry in our table dates from 2018, which would confirm this.

Do you know if we can delete the entries of this table, and if so, how without impacting other tables?

Thank you!

Average of ratings: Useful (1)
In reply to Charles Avg

Re: mdl_message table is no longer used?

by Stuart Mealor -
I believe that it is safe to remove those - although obviously it might impact the history of messages for users when you do.
In reply to Charles Avg

Re: mdl_message table is no longer used?

by Andrew Lyons -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
We no longer put new content into this table, but content is migrated for existing users as and when they log in.

MDL-67601 will handle the removal of this table and final migration of its data. I expect that this should be done for Moodle 3.9.
Average of ratings: Useful (4)