|
From: Mike R. <mik...@no...> - 2006-03-17 22:20:52
|
>>>>> " " == Francesc Altet <fa...@ca...> writes:
[snip]
> Mmm, right now, I think that PyTables can reclaim the space
> freed in a file only if it is reclaimed in the same opening
> session (this is ultimately an HDF5 limitation). So, perhaps
> you can get a better behaviour if you remove the older run
> *before* storing the new one.
It looks like pytables won't reuse space because hdf5 won't reuse
space.
>> <From the hdf5 FAQ>:
>> Can you delete objects in an HDF5 file ? If yes, how ?
>>
>> Yes, use the H5Gunlink function to delete objects in an HDF5
>> file. Currently, however, the space where the object was located
>> in the file does not get re-used. So the size of the file will
>> remain the same. You can get rid of this unused space in a file
>> by writing the contents of the HDF5 file to a new file. This can
>> be done with the HDFView tool. A user also contributed the
>> h5compact.c utility for compacting simple files.
>>
>> In a future release of HDF5 we will include support for managing
>> the free space in a file.
So, this would make having access to the H5Fmount() function from
pytables even more desirable.
Mike Romberg
|