D
dvestal
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?
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?