SlideShare a Scribd company logo
1 ) a transaction is a logical unit of work each transaction is sequence of logical related
commands that acomplish one task and transforms the database from one consistent state into
another .transactions are atomic in other words sysbase iq executes all the statements within the
transaction as unit at the end of each transaction changes can be commited to make them
permanent for any reason if transactions do not process properly then some or all other
intermediate changes can be undone or rolled back and the user application controls under which
the changes are commited or rolled back .
4) transaction has four properties ie atomicity ,consistency , isolation and durability ie atomicity -
requires that all parts of transaction must be completed or transactions is aborted and this
property ensures that the database remains in a consistent state
consistency- indicates the permenance of database in the consistency state .
isolation - means that the data required by an executing transaction cannot be accessed by any
other transactions until the first transaction finishes this propert ensures the data consistency for
concurrently executing transactions.
durability - indicates that the database will be in permanent consistent state after the execution of
transaction
5) serialiazability- means that the series of concurrent transactions will yield the same result as if
they were executed one after another .
2) consistent databse state is one in which all data integrity constraints are satisfied to achieve a
consistence database state a transaction must take the database from one consistent state to
another .
3) the databse is designed to verify the syntactic accuracy of the database commands given by
the user to be executed by the dbms the dbms will check the database exists that the referenced
attributes exists in the selected tables , that the attribute data type are correct and so on
unfortunately the dbms is not designed to guarantee that the syntacticaly correct transaction
actually represent the real world events .
6) transaction log is a special dbms table that contains description of all the database transactions
executed by the dbms . the database transaction log plays a crucial role in maintaining database
concurrency control and integrity .the information stored in the log is used by the dbms to
recover the database after the transaction is aborted or after system failure the transaction log is
stored in different hard disks or in different media tape to prevent the failure caused by a media
error .
7) the scheduler is the dbms concept that establish the order in which concurrent database
operations are executed . the schedular interleaves the execution of the database operations to
ensure the serialiazability of transactions in other woords the schedular guarantees that the
execution of concurrent transactions will yield the same results as though the transactions were
executed one after the another .the scheduler is important because it is dbms component that will
ensure transaction serializability and it also allows the concurrent execution of transactions
giving end users impression that they are dbms users only.
8) a lock is a mechanism used in concurrency control to guarantee the exclusive use of data
element to the transaction that owns the lock for eg if the data element is x is currently locked by
the transaction t1 and transaction t2 will not have the access to the data element x untill t1
releases its lock .and a data item can only be in two states ie locked or unlocked . to access data
element x t1 must request a lock to the dbms and if the data element x is not in use then the dbms
will lock x to be used by t1 exclusively no other transaction will have access to x while t1 is
executed .
Solution
1 ) a transaction is a logical unit of work each transaction is sequence of logical related
commands that acomplish one task and transforms the database from one consistent state into
another .transactions are atomic in other words sysbase iq executes all the statements within the
transaction as unit at the end of each transaction changes can be commited to make them
permanent for any reason if transactions do not process properly then some or all other
intermediate changes can be undone or rolled back and the user application controls under which
the changes are commited or rolled back .
4) transaction has four properties ie atomicity ,consistency , isolation and durability ie atomicity -
requires that all parts of transaction must be completed or transactions is aborted and this
property ensures that the database remains in a consistent state
consistency- indicates the permenance of database in the consistency state .
isolation - means that the data required by an executing transaction cannot be accessed by any
other transactions until the first transaction finishes this propert ensures the data consistency for
concurrently executing transactions.
durability - indicates that the database will be in permanent consistent state after the execution of
transaction
5) serialiazability- means that the series of concurrent transactions will yield the same result as if
they were executed one after another .
2) consistent databse state is one in which all data integrity constraints are satisfied to achieve a
consistence database state a transaction must take the database from one consistent state to
another .
3) the databse is designed to verify the syntactic accuracy of the database commands given by
the user to be executed by the dbms the dbms will check the database exists that the referenced
attributes exists in the selected tables , that the attribute data type are correct and so on
unfortunately the dbms is not designed to guarantee that the syntacticaly correct transaction
actually represent the real world events .
6) transaction log is a special dbms table that contains description of all the database transactions
executed by the dbms . the database transaction log plays a crucial role in maintaining database
concurrency control and integrity .the information stored in the log is used by the dbms to
recover the database after the transaction is aborted or after system failure the transaction log is
stored in different hard disks or in different media tape to prevent the failure caused by a media
error .
7) the scheduler is the dbms concept that establish the order in which concurrent database
operations are executed . the schedular interleaves the execution of the database operations to
ensure the serialiazability of transactions in other woords the schedular guarantees that the
execution of concurrent transactions will yield the same results as though the transactions were
executed one after the another .the scheduler is important because it is dbms component that will
ensure transaction serializability and it also allows the concurrent execution of transactions
giving end users impression that they are dbms users only.
8) a lock is a mechanism used in concurrency control to guarantee the exclusive use of data
element to the transaction that owns the lock for eg if the data element is x is currently locked by
the transaction t1 and transaction t2 will not have the access to the data element x untill t1
releases its lock .and a data item can only be in two states ie locked or unlocked . to access data
element x t1 must request a lock to the dbms and if the data element x is not in use then the dbms
will lock x to be used by t1 exclusively no other transaction will have access to x while t1 is
executed .

More Related Content

PDF
DBMS-chap 2-Concurrency Control
PPT
Chapter 4 u
DOCX
Dbms voc 5 unit
PPTX
Transaction management
PPTX
Presentation on Transaction
PPTX
Vani dbms
PPT
Dbms sixth chapter_part-1_2011
DOCX
DBF-Lecture11-Chapter12.pptDatabase Principles Fundam.docx
DBMS-chap 2-Concurrency Control
Chapter 4 u
Dbms voc 5 unit
Transaction management
Presentation on Transaction
Vani dbms
Dbms sixth chapter_part-1_2011
DBF-Lecture11-Chapter12.pptDatabase Principles Fundam.docx

Similar to 1 ) a transaction is a logical unit of work each transaction is sequ.pdf (20)

PPTX
Overview of Concurrency Control & Recovery in Distributed Databases
PPT
chapter 1 Transaction_Management_and_Concurrency_Control_all_lectures.ppt
PPTX
DBMS UNIT 4
PPTX
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
DOCX
Please I need this answered with refrences - Thanks In a database- to.docx
DOC
Concurrency control
PDF
Transaction Management
PPTX
Understanding Transactions in Databases.pptx
PPTX
TRANSACTION MANAGEMENT PROCESSING DBMS(5)
PDF
chp13.pdf
PPTX
1. Transaction Processing and Concurrency Control.pptx
PDF
TRANSACATION CONCEPTS ACID PNeed for Concurrencyroperties Serializability
PPTX
Presentation transaction
PDF
presentationprintTemp presentationorint.pdf
PPTX
Transation in data base management system.pptx
PPTX
Acid properties
PDF
Advance DBMS
PPTX
Concurrent control
PPTX
Transactions and Concurrency Control
Overview of Concurrency Control & Recovery in Distributed Databases
chapter 1 Transaction_Management_and_Concurrency_Control_all_lectures.ppt
DBMS UNIT 4
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Please I need this answered with refrences - Thanks In a database- to.docx
Concurrency control
Transaction Management
Understanding Transactions in Databases.pptx
TRANSACTION MANAGEMENT PROCESSING DBMS(5)
chp13.pdf
1. Transaction Processing and Concurrency Control.pptx
TRANSACATION CONCEPTS ACID PNeed for Concurrencyroperties Serializability
Presentation transaction
presentationprintTemp presentationorint.pdf
Transation in data base management system.pptx
Acid properties
Advance DBMS
Concurrent control
Transactions and Concurrency Control
Ad

More from kareemangels (20)

PDF
MOLARITY = No. of moles Lit of Sol 3 = n.25 .pdf
PDF
let x = molL of water that dissociate at equilib.pdf
PDF
Wind Turbine -  Wind power has been used as long as humans have p.pdf
PDF
YearAccounts Title and ExplanationsDebitCredit2011Income T.pdf
PDF
When the plant has water------ solvent in surrounding area of root .pdf
PDF
The set T - R is same as T as they have no point in common.T - R =.pdf
PDF
The zero force members are AH, HG, CD, DESolutionThe zero forc.pdf
PDF
The equation for copper(II) sulfate dissolving in water isCuSO4(s.pdf
PDF
The balanced equation isFe + CuSO4 = FeSO4 + CuReducing agent .pdf
PDF
The acid associated with gastric acidity is hydrochloric acid (HCl)..pdf
PDF
Teacher.javaimport java.util.Arrays; import java.util.Scanner;.pdf
PDF
H2SO4(aq)+HNO3(aq)--HNO3(aq)+SO2(g)+H2O(l) .pdf
PDF
Since evolution of mammals followed a linear pattern of evolution ra.pdf
PDF
Polarity is measured on a scale of electronegativity (the electron d.pdf
PDF
pH = - log(H+) = 1.86concentration of H+ = 0.0138molLSolution.pdf
PDF
Pathway 1 Under aerobic conditions, pyruvate is first converted int.pdf
PDF
MELTINGWhen you heat something faster, chances are youre hea.pdf
PDF
Let Universe has size n.Then set of disjoint sets will be {) and U.pdf
PDF
Keywords Infrastructure, Civil Engineering, Sustainable development.pdf
PDF
If we have to invest certain money in a business and operate it. Out.pdf
MOLARITY = No. of moles Lit of Sol 3 = n.25 .pdf
let x = molL of water that dissociate at equilib.pdf
Wind Turbine -  Wind power has been used as long as humans have p.pdf
YearAccounts Title and ExplanationsDebitCredit2011Income T.pdf
When the plant has water------ solvent in surrounding area of root .pdf
The set T - R is same as T as they have no point in common.T - R =.pdf
The zero force members are AH, HG, CD, DESolutionThe zero forc.pdf
The equation for copper(II) sulfate dissolving in water isCuSO4(s.pdf
The balanced equation isFe + CuSO4 = FeSO4 + CuReducing agent .pdf
The acid associated with gastric acidity is hydrochloric acid (HCl)..pdf
Teacher.javaimport java.util.Arrays; import java.util.Scanner;.pdf
H2SO4(aq)+HNO3(aq)--HNO3(aq)+SO2(g)+H2O(l) .pdf
Since evolution of mammals followed a linear pattern of evolution ra.pdf
Polarity is measured on a scale of electronegativity (the electron d.pdf
pH = - log(H+) = 1.86concentration of H+ = 0.0138molLSolution.pdf
Pathway 1 Under aerobic conditions, pyruvate is first converted int.pdf
MELTINGWhen you heat something faster, chances are youre hea.pdf
Let Universe has size n.Then set of disjoint sets will be {) and U.pdf
Keywords Infrastructure, Civil Engineering, Sustainable development.pdf
If we have to invest certain money in a business and operate it. Out.pdf
Ad

Recently uploaded (20)

PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
Classroom Observation Tools for Teachers
PDF
Complications of Minimal Access Surgery at WLH
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Cell Types and Its function , kingdom of life
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Updated Idioms and Phrasal Verbs in English subject
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
Cell Structure & Organelles in detailed.
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Computing-Curriculum for Schools in Ghana
Classroom Observation Tools for Teachers
Complications of Minimal Access Surgery at WLH
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Anesthesia in Laparoscopic Surgery in India
Cell Types and Its function , kingdom of life
Supply Chain Operations Speaking Notes -ICLT Program
Updated Idioms and Phrasal Verbs in English subject
A systematic review of self-coping strategies used by university students to ...
2.FourierTransform-ShortQuestionswithAnswers.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
Paper A Mock Exam 9_ Attempt review.pdf.
Cell Structure & Organelles in detailed.

1 ) a transaction is a logical unit of work each transaction is sequ.pdf

  • 1. 1 ) a transaction is a logical unit of work each transaction is sequence of logical related commands that acomplish one task and transforms the database from one consistent state into another .transactions are atomic in other words sysbase iq executes all the statements within the transaction as unit at the end of each transaction changes can be commited to make them permanent for any reason if transactions do not process properly then some or all other intermediate changes can be undone or rolled back and the user application controls under which the changes are commited or rolled back . 4) transaction has four properties ie atomicity ,consistency , isolation and durability ie atomicity - requires that all parts of transaction must be completed or transactions is aborted and this property ensures that the database remains in a consistent state consistency- indicates the permenance of database in the consistency state . isolation - means that the data required by an executing transaction cannot be accessed by any other transactions until the first transaction finishes this propert ensures the data consistency for concurrently executing transactions. durability - indicates that the database will be in permanent consistent state after the execution of transaction 5) serialiazability- means that the series of concurrent transactions will yield the same result as if they were executed one after another . 2) consistent databse state is one in which all data integrity constraints are satisfied to achieve a consistence database state a transaction must take the database from one consistent state to another . 3) the databse is designed to verify the syntactic accuracy of the database commands given by the user to be executed by the dbms the dbms will check the database exists that the referenced attributes exists in the selected tables , that the attribute data type are correct and so on unfortunately the dbms is not designed to guarantee that the syntacticaly correct transaction actually represent the real world events . 6) transaction log is a special dbms table that contains description of all the database transactions executed by the dbms . the database transaction log plays a crucial role in maintaining database concurrency control and integrity .the information stored in the log is used by the dbms to recover the database after the transaction is aborted or after system failure the transaction log is stored in different hard disks or in different media tape to prevent the failure caused by a media error . 7) the scheduler is the dbms concept that establish the order in which concurrent database operations are executed . the schedular interleaves the execution of the database operations to ensure the serialiazability of transactions in other woords the schedular guarantees that the
  • 2. execution of concurrent transactions will yield the same results as though the transactions were executed one after the another .the scheduler is important because it is dbms component that will ensure transaction serializability and it also allows the concurrent execution of transactions giving end users impression that they are dbms users only. 8) a lock is a mechanism used in concurrency control to guarantee the exclusive use of data element to the transaction that owns the lock for eg if the data element is x is currently locked by the transaction t1 and transaction t2 will not have the access to the data element x untill t1 releases its lock .and a data item can only be in two states ie locked or unlocked . to access data element x t1 must request a lock to the dbms and if the data element x is not in use then the dbms will lock x to be used by t1 exclusively no other transaction will have access to x while t1 is executed . Solution 1 ) a transaction is a logical unit of work each transaction is sequence of logical related commands that acomplish one task and transforms the database from one consistent state into another .transactions are atomic in other words sysbase iq executes all the statements within the transaction as unit at the end of each transaction changes can be commited to make them permanent for any reason if transactions do not process properly then some or all other intermediate changes can be undone or rolled back and the user application controls under which the changes are commited or rolled back . 4) transaction has four properties ie atomicity ,consistency , isolation and durability ie atomicity - requires that all parts of transaction must be completed or transactions is aborted and this property ensures that the database remains in a consistent state consistency- indicates the permenance of database in the consistency state . isolation - means that the data required by an executing transaction cannot be accessed by any other transactions until the first transaction finishes this propert ensures the data consistency for concurrently executing transactions. durability - indicates that the database will be in permanent consistent state after the execution of transaction 5) serialiazability- means that the series of concurrent transactions will yield the same result as if they were executed one after another . 2) consistent databse state is one in which all data integrity constraints are satisfied to achieve a consistence database state a transaction must take the database from one consistent state to another . 3) the databse is designed to verify the syntactic accuracy of the database commands given by
  • 3. the user to be executed by the dbms the dbms will check the database exists that the referenced attributes exists in the selected tables , that the attribute data type are correct and so on unfortunately the dbms is not designed to guarantee that the syntacticaly correct transaction actually represent the real world events . 6) transaction log is a special dbms table that contains description of all the database transactions executed by the dbms . the database transaction log plays a crucial role in maintaining database concurrency control and integrity .the information stored in the log is used by the dbms to recover the database after the transaction is aborted or after system failure the transaction log is stored in different hard disks or in different media tape to prevent the failure caused by a media error . 7) the scheduler is the dbms concept that establish the order in which concurrent database operations are executed . the schedular interleaves the execution of the database operations to ensure the serialiazability of transactions in other woords the schedular guarantees that the execution of concurrent transactions will yield the same results as though the transactions were executed one after the another .the scheduler is important because it is dbms component that will ensure transaction serializability and it also allows the concurrent execution of transactions giving end users impression that they are dbms users only. 8) a lock is a mechanism used in concurrency control to guarantee the exclusive use of data element to the transaction that owns the lock for eg if the data element is x is currently locked by the transaction t1 and transaction t2 will not have the access to the data element x untill t1 releases its lock .and a data item can only be in two states ie locked or unlocked . to access data element x t1 must request a lock to the dbms and if the data element x is not in use then the dbms will lock x to be used by t1 exclusively no other transaction will have access to x while t1 is executed .