Interview Questions for Business Analysts and Systems Analysts


Recent Interview Questions | Search | Subscribe (RSS)

?
INTERVIEW QUESTION:

How do you define a database transaction?

Posted by Chris Adams

Article Rating // 25351 Views // 1 Additional Answers & Comments

Categories: Systems Analysis, Data Analysis & Modeling

ANSWER

Business analysts who work on system solutions should have a basic understanding of database concepts.  Many databases are part of a class of systems called OLTP (OnLine Transaction Processing) systems.  So what is a database transaction within this context?

A database transaction is a series of operations performed within a database management system against a database such that, once completed, the data is left in a reliable and consistent state.  If any step of the transaction fails then all steps are reversed (rolled back), so that data integrity can be maintained.

Database transactions serve two main purposes.  First, to conduct and bundle units of work that allow for accurate recovery of data in the case of system failures.  Second, to provide isolation between different programs which may attempt to access the data simultaneously.

A database transaction should conform to the principles described by the acronym ACID (Atomic, Consistent, Isolated and Durable).

Atomic means that a series of database operations either all occur, or nothing occurs. Atomicity avoids partial database updates which can cause issues with data integrity.  Atomic transaction can be described as indivisible and irreducible.  Transactions, while atomic, can make updates to multiple database stores operating on multiple systems.

Consistent refers to the idea that a transaction will bring the database from one valid state to another and that the data written to the database will conform to defined rules. The rules can consist of constraints, triggers, and cascades.  However, understanding these additional concepts go beyond what is necessary for this definition.

Isolated describes keeping changes made by one transaction hidden from other concurrently running transactions and operations until such time as they should be made visible based on defined rules.

Durable means that any transactions that have been committed to the database will survive permanently.  This level of guarantee is often achieved by copying all transactions into a transaction log on a secondary storage medium.  A transaction is considered committed only after it has be copied to the transaction log.

RATE THIS TOPIC

ADDITIONAL ANSWERS / COMMENTS

Themba posted on Sunday, August 25, 2013 5:03 PM
A database transaction is one of several activities that are performed on the database and its tables and records. The principal transactions\activities that can be performed on a database's tables and records are are Add, Delete, Retrieve (Read), and Modify (Update).
Themba
Only registered users may post comments.

Do your homework prior to the business analysis interview!

Having an idea of the type of questions you might be asked during a business analyst interview will not only give you confidence but it will also help you to formulate your thoughts and to be better prepared to answer the interview questions you might get during the interview for a business analyst position.  Of course, just memorizing a list of business analyst interview questions will not make you a great business analyst but it might just help you get that next job.

 



Upcoming Live Webinars

 




Select ModernAnalyst Content

Register | Login

Copyright 2006-2024 by Modern Analyst Media LLC