MySQL Forums
Forum List  »  Spanish

Re: Como reciclar una base de datos una y otra vez
Posted by: Jesús Uzcanga
Date: April 08, 2018 09:00PM

Bueno podrias hacer un script (.sh si es linux o .bat si es Windows) que mida el espacio disponible en disco y si el espacio disponible es menor a x% entonces ejecutar un script que borre todos los registros de la base de datos con fecha mayor a xx dias o meses (claro que debes incluir un campo de fecha en tus tablas).

Con eso resuleves tu problema.

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Como reciclar una base de datos una y otra vez
246
April 08, 2018 09:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.