Seconding the RDBMS recommendations, but if your heart's set on flat files and you can swing it you might look at a scheme akin to the way maildir does things.
In reply to Re: Append to a busy flat-file db without leaving customer in lurch
by Fletch
in thread Append to a busy flat-file db without leaving customer in lurch
by davebaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |