in reply to Re^4: Database in a folder?
in thread Database in a folder?
Consider the following. Your database monitors your flock of sheep, and the number of gold coins in your pocket. ${$sheep}{$count} stored in \somedatadir\sheep and ${$coins}{$gold} stored in \somedatadir\coins.
Now you sell a sheep for 15 coins. Now you've got to subtract 1 from one counter, and add 15 to another. What happens if your program fails after finishing one task, and before starting the other? Your data is no longer consistent, and in the best case, you go bankrupt, and in the worst case you'll be arrested after failing the SEC's audit.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Database in a folder?
by Anonymous Monk on Feb 19, 2010 at 03:27 UTC | |
|
Re^6: Database in a folder?
by AriSoft (Sexton) on Feb 19, 2010 at 17:48 UTC |