Designing IA for AI - Information Architecture Conference 2024
Transaction
1.
2. Disclaimer: This presentation is prepared by
trainees of baabtra as a part of mentoring
program. This is not official document of baabtra –
Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System
Technologies Pvt . Ltd
4. A transaction is a sequential group of one or
more SQL commands.
Which is performed as one single work unit.
A transaction will never be complete unless
each individual operation within the group is
successful
5. Atomicity
Ensures that all operations within the work unit are
completed successfully; otherwise, the transaction is
aborted at the point of failure and previous operations
are rolled back to their former state.
Consistency
◦ Ensures that the database properly changes states
upon a successfully committed transaction.
6. Isolation
◦ Enables transactions to operate independently on
and transparent to each other.
Durability
◦ Ensures that the result or effect of a committed
transaction persists in case of a system failure.
7. transactions begin with the statement BEGIN
TRANSACTION
End with either a COMMIT or a ROLLBACK
statement.
The SQL commands between the beginning
and ending statements form the bulk of the
transaction.
8. Commit and Rollback
• When a successful transaction is completed, the
COMMIT command should be issued so that the
changes to all involved tables will take effect
• If a failure occurs, a ROLLBACK
9. Autocommit
The transaction can be control by setting
autocommit.
Set autocommit disables or enables the default
autocommit mode for the current session.
Set autocommit=0|1.
10. • If AUTOCOMMIT is set to 1 then each SQL
statement is considered a complete
transaction and committed by default when it
finishes.
• AUTOCOMMIT is set to 0, the subsequent
series of statements acts like a transaction and
no activities are committed until an explicit
COMMIT statement is issued.
14. Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
15. Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
16. Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com