A Thursday 16 September 2010 18:23:38 Charles Krohn escrigué:
> Hello all,
> 
> 
> 
> I had a large file (~50GB) consisting of seven tables.  I removed all
> but one of the tables using the remove() command, e.g.
> f.root.t032010.remove(). After closing the file, the file size
> remains exactly the same.  Is there some way to actually remove the
> data from the file, rather than merely delete the reference to the
> node?

No directly.  You will need to copy the contents of the file to another 
one (via File.copy() for example) if you want to get rid of unused 
space.  You may also want to check the ptrepack utility.

Hope that helps,

-- 
Francesc Alted

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to