[Koha] Truncating the nozebra table in koha DB
Chris Cormack
chris at bigballofwax.co.nz
Sat Sep 3 14:00:33 NZST 2011
That script is for the zebraqueue table, truncating the nozebra table is
only a good idea if you are using zebra, because you dont need that table
with zebra.
And like Robin suggested, you should set file per table or innodb cannot
reclaim the space. Or follow Henri-Damiens advice and set the table to
myisam. Without doing one of these 2 things, deleting rows or truncating
tables does not reclaim space.
We run all our koha with file per table, that way you dont end up with an
ever increasing ibdata file.
Chris
On 3 Sep 2011 12:53, "Paul" <paul.a at aandc.org> wrote:
> At 04:35 PM 9/2/2011 +0200, you wrote:
>>Le 02/09/2011 14:49, sheldon_tappin a écrit :
>> > Hi All,
>> >
>> >
>> > Is it OK to truncate the nozebra table in koha database. The table is
too
>> > big for a database backup.
>>[snip]
>> >
>>Hi It is ok.
>>In fact, there is/was a cleanup_database script which does that in
>>misc/cronjobs... could be a scheduled task
>>check that the table is MyISAM and not innodb, unless you want to keep a
>>huge innodb file......
>
> Yup - that script seems to have disappeared ... my innodb is now 5.5
> Gigabytes ... what on earth is happening? (end of day, I'll have a closer
> look tomorrow)
>
> Best
> Paul
> ---
> Tired old sys-admin
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katipo.co.nz/pipermail/koha/attachments/20110903/39adc4ae/attachment.html>
More information about the Koha
mailing list