AnsweredAssumed Answered

vrf New file at midnight - solution

Question asked by VRFuser on Aug 31, 2006
One final point -  for my purposes, I seem to be able to get away with closing each file after each entry. If I didn't do this, old files would

remain open unless a "new file name" test corrected this situation (see Mike Asbery's "New File at Midnight" response).

One point about this, file fragmentation could get very large.  I have a system that stores data every 0.5 second.  When closing the file after every update period, after 24 hours, the files (several Mbytes in size) had several 100's of fragments.  When I didn't close the file, the fragmentation rate dropped significantly (a few 10's or less).

Dave Andersen
Software Engineer
Space & National Systems Division
General Dynamics C4 Systems

To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".
Search the "unofficial vrf archive" at "".