>In the same time Alexander starting now to study how transactions are >implemented on other dbs, then think for ours and then implement them.
Take a look at SQL Server. It has a nice transaction system. Basically, all transactions are logged.
You start with a checkpoint. From there, SQL Server logs all transactions. You then create another checkpoint.
When you need to rollback or restore, you go to a checkpoint and play the logs subsequent to the checkpoint.
Oracle uses a similar system.
Gunnar ©2002 Gunnar Swan |