Pike v8.1 release 6

Method Yabu.Table()->reorganize()


Method reorganize

int reorganize(float|void ratio)

Description

Reorganize the on-disk storage, compacting it.

If ratio is given it is the lowest ratio of useful/total disk usage that is allowed.

As an example, if ratio is 0.7 at lest 70% of the on-disk storage must be live data, if not the reoganization is done.