Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Techniques for writing critical text data

We take text/csv like data over long periods (~days) from costly experiments and so file corruption is to be avoided at all costs.

Recently, a file was copied from the Explorer in XP whilst the experiment was in progress and the data was partially lost, presumably due to multiple access conflict.

What are some good techniques to avoid such loss? - We are using Delphi on Windows XP systems.

Some ideas we came up with are listed below - we'd welcome comments as well as your own input.

like image 501
Brendan Avatar asked Feb 03 '26 23:02

Brendan


1 Answers

Use a database as a secondary data storage mechanism and take advantage of the atomic transaction mechanisms

like image 57
2 revs, 2 users 67%Brendan Avatar answered Feb 05 '26 14:02

2 revs, 2 users 67%Brendan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!