Question

In: Computer Science

Why is atomicity in database design important?

Why is atomicity in database design important?

Solutions

Expert Solution

Atomicity It is one of the properties of ACID (Atomicity, Consistency, Isolation, Durability) in DBMS It is the property which treats the transaction as one atomic unit means Either transaction done(If all operation executed successfully) or failed (If any of one opreation is failed). so there is no option to left the transaction partially completed. Whaterver the operation done before the transaction and after it should be defined means whether it is executed or failed

Why is atomicity in database design important?

Atomicity in database design is important because it maintains the integrity,accuracy and completeness of whatever transaction is done on database it will be more clear my an example

Suppose Alice want to send 100 to Bob

Operation done on Alice account

1. Open Alice account

2. Old Balance = Balance

3. New balance = Old balance - 100

4. Balance = New balance

5. Close account

Operation done on Bob account

1. Open Bob account

2. Old Balance = Balance

3. New balance = Old balance + 100

4. Balance = New balance

5. Close Bob account

If any one of operation is failed the transaction must be failed as per atomicity says to maintain the integrity,completeness and accuracy.

Please hit the like button if you find this helpful for you THANK YOU AND HAPPY LEARNING:)


Related Solutions

Why business rules are important for a good database design? Give 3 examples of business rules...
Why business rules are important for a good database design? Give 3 examples of business rules in academic environment.
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important...
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important standard in database processing today. Why do you feel that this model has continued to be successful in the world of IT? What would happen if large corporations decided to reject this theory, and store their data using a non-relational model? Are there any success stories where this has happened?
In the world of database design and building it is very important to define Primary keys...
In the world of database design and building it is very important to define Primary keys in each table. The text this week talks about primary keys. What are they and why are they so important to a properly functioning database?
Database __________ which is the logical design of the database, and the database _______ which is...
Database __________ which is the logical design of the database, and the database _______ which is a snapshot of the data in the database at a given instant in time. a) Instance, Schema b) Relation, Schema c) Relation, Domain d) Schema, Instance
True or False: Logical database design is the process of modifying the physical database design to...
True or False: Logical database design is the process of modifying the physical database design to improve performance. The two major logical database design techniques are conversion of E-R diagrams to relational tables and data normalization. Multivalued attributes are not permitted in unnormalized data. A many-to-many binary relationship in an E-R diagram requires the creation of a total of three tables in a relational database. A one-to-one unary relationship in an E-R diagram requires the creation of a total of...
What is important aspect about REA modeling for Accounting Information Systems database design?
What is important aspect about REA modeling for Accounting Information Systems database design?
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw...
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw with pencil and paper diagram (take photo of it and submit) along with a summary of the diagram you prepared in a Word document. Use the scenario from Assignment 1: Business Rules and Data Models to complete the lab: Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In...
Database Design Design a database and show the relationship between each tables. I need multiple tables....
Database Design Design a database and show the relationship between each tables. I need multiple tables. *Must meet the requirements for Third Normal Form. These are the information for employee DB. Employee Number, First Name, Last Name, Date of birth, Address, city, state, zip, department, job title, supervisor, health insurance number, health insurance provider, dental insurance number, dental insurance provider, spouse/partner, children, children's ages.
"Database design" is the second phase in the database life cycle. This phase focuses on the...
"Database design" is the second phase in the database life cycle. This phase focuses on the design of the database model that will support an organisation’s operations and objectives. Explain key activities along with relevant examples in the context of designing a database to support the medical practice’s patient appointments system.   Based on the definition of a transaction as “a logical unit of work that must be entirely completed or aborted; no intermediate states are accepted”, use a specific example...
explain please why you read an articles about relational database management system. why it is important...
explain please why you read an articles about relational database management system. why it is important to understand the characteristics of relational database management system?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT