On 11/1/12 9:02 PM, Ben Elliston wrote: > Hi all. > > I have a very large CArray that I need to extend (of course, you can't > extend a CArray). I want to do this in the least operation intensive > way I can. > > What's the easiest way? Create a new CArray of the right size, copy > the data into it and delete the old one?
Yes, this is the best approach. > I understand that deleting > the old one will not reclaim any space in the database -- is that > right? Yes, that's correct. For claiming the old space you should 'repack' the file either using ptrepack PyTable's own tool or the HDF5 native tool called h5repack. HTH, -- Francesc Alted ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users