0

Hey guys, I just have a few questions:

What is a Transactional File System? Is Windows 7 a Transactional File System? If not what needs to be changed to make it transactional?

Any help would be appreciated.

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Reverend Jim
0

A transaction is used in database processing where you want to make non-trivial changes. For example, in banking, when you want to make a transfer from one account to another you could do the following

1) deduct the given amount from the first account
2) add the given amount to the second account

Obviously, if step 2 fails you want to put the funds back into the first account. You can easily add appropriate error checking into your code to handle this. As the required changes become more complex (if you have more steps), the code becomes increasingly complex as you program in multiple "undo" scenarios. Instead of handling this in code you can use a transaction. Simply put you do something similar to

START TRANSACTION
do step 1
do step 2
.
.
.
do step n
END TRANSACTION

If any of the steps fails then the transaction is canceled. You don't have to worry about undoing all of the steps preceding the error. A transactional file system would be similar except on a file rather than a database level.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.