mysqldebiandebian-basedturnkeylinux.org

Disable mysql daily table optimization


I'm using Turnkey Linux LAMP and I need to disable the daily table optimization performed by mysql (my tables are InnoDB). The task starts automatically with user debian-sys-maint. I cannot find where to disable it (or at least change it frequency).

I've checked my.cnf, init.d etc with no avail.

Thanks!


Solution

  • I doubt this is something that is part of MySQL itself. I've certainly never seen it.

    I would say that it is much more likely to be running from cron. You should be able to find it in /etc/crontab, /etc/cron.d/ or /var/spool/cron/