Incrementally saving a DataTable

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



For purposes of this question, suppose I have a DataTable, and I add
one row per second, over the course of several hours.

I have to:
- Keep this data in memory, and
- Not lose more than the last second's worth of data in the event of a
computer crash.
- Satisfy the first two requirements reasonably quickly, and without
slowing down over time.

To avoid losing data, I want to save the DataTable to a file, but I
don't know how to easily do this without saving the entire set of
data, and this will not scale well as the DataTable grows large. Any
ideas on how to accomplish this?
.



Relevant Pages

  • Re: How to get Post-Scarcity?
    ... I want a world with plentiful energy ... for all purposes, and enough freely available manufactured goods to satisfy ...
    (rec.arts.sf.science)
  • Re: Canon Rebel XT zoom lens recommendations, please
    ... purposes. ... But, if it provides the sharpness I seek, I would ... It looks like you won't find one lens to satisfy your requirements. ...
    (rec.photo.digital)
  • Re: Canon Rebel XT zoom lens recommendations, please
    ... purposes. ... But, if it provides the sharpness I seek, I would ... It looks like you won't find one lens to satisfy your requirements. ...
    (rec.photo.digital)
  • Re: XP based DAW: More than one meg of memory?
    ... down by borrowing resources for other purposes :-) Does your ... theoretically faster drive system really make a significant ... And yes, because I'm I/O bound rather than CPU bound, I can perform other work ... in the background without slowing things down appreciably (assuming that I'm not ...
    (rec.audio.pro)