Delete partially and gradually a very large table (1 million records)

Hello, I would like to know, in your opinion what's the best way to create a script that cleans partially and gradually a large table, I also have some conditions that I have to keep, first, I cannot delete records from last moth, only older, second, I can only delete one hundred thousand records at a time. thanks in advance for your help,

Best regards, ​​​​​​​Eduardo Cardona

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.