Store.pm: clear_fsck_log()

Brad Fitzpatrick brad at danga.com
Tue Mar 11 20:19:03 UTC 2008


In any case, do it in Store/MySQL.pm, not Store.pm <http://store.pm/> base
class.

On Tue, Mar 11, 2008 at 12:01 PM, dormando <dormando at rydia.net> wrote:

> On Mon, 10 Mar 2008, Ask Bjørn Hansen wrote:
>
> >
> > On Mar 10, 2008, at 15:43, Mark Smith wrote:
> >
> >> AFAIK this trick doesn't work on InnoDB, since they use a flat
> >> tablespace TRUNCATE just maps to DELETE FROM anyway.
> >
> > It does if you use the (recommended) innodb_file_per_table
> configuration...
> >
> >
> > - ask
>
> While you won't reclaim disk space, TRUNCATE TABLE is always fast under
> innodb.
>
> Honestly I thought I fixed this a while ago? Maybe I've been manually
> running TRUNCATE TABLE in prod :(
>
> -Dormando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/mogilefs/attachments/20080311/603e47c3/attachment.html 


More information about the mogilefs mailing list