Assignment 5 - Transactions
Objectives
Demonstrate understanding of ACID and transactions
Create a transaction that meets these requirements
Assignment
ACID is a set of rules, not an algorithm. For a database system to implement ACID requirements it must implement it using an algorithm
You will submit a paper with information on how SQL Server implements transaction management to meet the ACID requirements. In addition you will create a transaction for the supplied database.
User Credit Database
Table - Users
- UserId
- UserName
- UserInformation (this can be emails, address, etc...)
Table UserAccount
- UserAccountId
- UserId
- AccountType
- CreditBalance
Table - Transactions
- TransactionId
- UserAccountId
- TransferAmount
- CreditOrWithdrawal
- TransferCode (Reason for transaction - can be null)
- TransactionDateTime
|
The transaction must transfer credits from User Account to another given; UserId, UserAccountIdFrom, UserAccountIdTo, TransferAmount, TransferCode. Note that when transferring credits there should be a transaction entry for the from account and another for the to account.
Submit the assignment in pdf or doc format.
Information
You will want to Google Search on implementing database ACID
Estimated Completion Time
5-10 hours to watch video, research requirements - and write the paper and stored procedure.
Supporting Lectures
Lecture - Getting Started with Transactions in T-SQL
Questions and Answers
This will require some web research into the algorithms used.
External Resources
Web sources are sufficient for this assignment, you will need to do some product research (Post-Gre, Oracle, IBM Progress, MySQL, are all examples of database that you can use for comparison)
Grading Criteria
The paper should be a well written document with no grammar errors and represents your research and knowledge of ACID and specific implementations to meet the requirements of ACID in transaction management.
Comments (0)
You don't have permission to comment on this page.