|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Limit the size of a database. Rotate the log after this size
From: Guillaume Blanc (guillaume.b.blanc
gmail.com)
Date: Fri Aug 20 2010 - 09:55:05 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello everyone,
I've actually a database (MySAM) which is growing very quickly (1,3Go/hour).
I would like to limit the size of the database but with a log rotation after
the size is reached. Do you know a way to do it ?
I thought of maybe a script who would delete the oldest entry when it reach
a certain size. But i don't know how to write it.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]