SlideShare a Scribd company logo
1 of 16
TOPICS Covered = Designations in IT Companies ,Colleges ,MNC’s
,Govt. Sectors ,Business .
Prepared By:- Sunny Saini
Asst. Professor
LKCW, Jalandhar City
Email: sunnysaini090@gmail.com
Website: www.techz.tk
What is a Transaction?
“A transaction is a smallest unit of program
execution .”
It is a set of changes that must all be made together . It
is a program unit whose execution may or may not
change the contents of the database.transaction is
executed as a single unit.
Transaction consists of definite number of steps:
For Example
A tranfer of money from one bank account to other
bank account can be treated as transaction.
Concept of a Transaction
Saving Account
Rs.5000 TO 3000
Loan Account
Rs.5000 to 7000
Transaction Properties
There are four important properties of transaction
that a DBMS must ensure to maintain data in the
case of concurrent access and system failures.
These are also called as ACID properties:
A. Atomicity
C. Consistency
I. Isolation
D. Durability
Atomicity
A transaction is said to be atomic if a transaction always
executes all its actions in one step or donot execute any
action at all.
 Consistency
A transaction must preserve the consistency of a database
after the execution.
Isolation
The transaction must behave as if they are executed in
isolation.it means that if several transactions are executed
concurrently the results must be same as if they were
executed serially in same order.
Durability
The effect of completed or committed transactions
should persist even after a crash.it means once a
transaction commits , the system must guarantee that
the result of its operations will never be lost,inspite of
subsequent failures.
Transaction States
Through out the life cycle of a transaction, the
transaction must be in one of the following states:
1.Activethis is the initial state ,the transaction stays
in this state while it is executing.
2.Partially CommittedA transaction is in the state
when it has executed the final statement.
3.Failedwhen the normal execution can no longer
preceed.
4.AbortedAfter the transaction has been rolled back
and the database has been restored to its state prior
to the start of the transaction.
5.CommittedAfter successful completion.
Transaction States
New
Transaction
Database
Initial
State
ACTIVE
PARTIALLY
COMMITTE
D
COMMITTE
D
FAILED ABORTED
Restored
To
Initial
State
CONCURRENCY AND
CONCURRENCY CONTROL
“Allowing multiple transactions to run concurrently on
the same database is called Concurrency.”
Feature of Concurrency is available due to the multi-
programming features of operating systems.
“Concurrency control is the process of regulating
access to the same data by multiple transactions
operating in the same database environment.”
Consider what can happen if two or more concurrent
users access the same data without any concurrency
control.
Advantages of Concurrency
Control
*Improved Throughputconsider that transaction
are performed in serial order and active transaction is
waiting for a page to be read in from disk ,then
instead of CPU waiting for a page ,it can process
another transaction.
*Reduced Waiting TimeInterleaved execution of a
short transaction with a long transaction
Usually allows the short transaction to complete
quickly.
Disadvantages of Concurrency
Control
-Lost update Problem
-The temporary Update (uncommited
dependency)Problem
-The incorrect Summary(inconsistent analysis)Problem
Concurrency Control Schemes
Concurrency control schemes are divided into two
categories:
Pessimistic or Conservative Approach
Optimistic Approach
Job Opportunity

More Related Content

Similar to Job Opportunity

Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxKoteswari Kasireddy
 
DBMS-chap 2-Concurrency Control
DBMS-chap 2-Concurrency ControlDBMS-chap 2-Concurrency Control
DBMS-chap 2-Concurrency ControlMukesh Tekwani
 
Transaction management
Transaction managementTransaction management
Transaction managementArchanaMani2
 
Session 9 Tp9
Session 9 Tp9Session 9 Tp9
Session 9 Tp9phanleson
 
Introduction to transaction management
Introduction to transaction managementIntroduction to transaction management
Introduction to transaction managementDr. C.V. Suresh Babu
 
Transaction Properties in database | ACID Properties
Transaction Properties in database | ACID PropertiesTransaction Properties in database | ACID Properties
Transaction Properties in database | ACID Propertiesnomanbarki
 
Transaction Processing Concept
Transaction Processing ConceptTransaction Processing Concept
Transaction Processing ConceptNishant Munjal
 
E-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptxE-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptxthejaswini40
 
Please I need this answered with refrences - Thanks In a database- to.docx
Please I need this answered with refrences - Thanks In a database- to.docxPlease I need this answered with refrences - Thanks In a database- to.docx
Please I need this answered with refrences - Thanks In a database- to.docxrtodd19
 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011sumit_study
 
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxFALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxhritikraj888
 
Spring Transaction Management
Spring Transaction ManagementSpring Transaction Management
Spring Transaction ManagementYe Win
 
Optimistic concurrency control in Distributed Systems
Optimistic concurrency control in Distributed SystemsOptimistic concurrency control in Distributed Systems
Optimistic concurrency control in Distributed Systemsmridul mishra
 

Similar to Job Opportunity (20)

Transaction
TransactionTransaction
Transaction
 
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
 
Acid properties
Acid propertiesAcid properties
Acid properties
 
DBMS-chap 2-Concurrency Control
DBMS-chap 2-Concurrency ControlDBMS-chap 2-Concurrency Control
DBMS-chap 2-Concurrency Control
 
Transaction management
Transaction managementTransaction management
Transaction management
 
Rdbms1
Rdbms1Rdbms1
Rdbms1
 
DBMS UNIT 4
DBMS UNIT 4DBMS UNIT 4
DBMS UNIT 4
 
Session 9 Tp9
Session 9 Tp9Session 9 Tp9
Session 9 Tp9
 
Introduction to transaction management
Introduction to transaction managementIntroduction to transaction management
Introduction to transaction management
 
Chapter 4 u
Chapter 4 uChapter 4 u
Chapter 4 u
 
Transaction Properties in database | ACID Properties
Transaction Properties in database | ACID PropertiesTransaction Properties in database | ACID Properties
Transaction Properties in database | ACID Properties
 
Transaction Processing Concept
Transaction Processing ConceptTransaction Processing Concept
Transaction Processing Concept
 
E-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptxE-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptx
 
Please I need this answered with refrences - Thanks In a database- to.docx
Please I need this answered with refrences - Thanks In a database- to.docxPlease I need this answered with refrences - Thanks In a database- to.docx
Please I need this answered with refrences - Thanks In a database- to.docx
 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011
 
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxFALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
 
Spring Transaction Management
Spring Transaction ManagementSpring Transaction Management
Spring Transaction Management
 
09 workflow
09 workflow09 workflow
09 workflow
 
Autonomous transaction
Autonomous transactionAutonomous transaction
Autonomous transaction
 
Optimistic concurrency control in Distributed Systems
Optimistic concurrency control in Distributed SystemsOptimistic concurrency control in Distributed Systems
Optimistic concurrency control in Distributed Systems
 

Recently uploaded

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Job Opportunity

  • 1. TOPICS Covered = Designations in IT Companies ,Colleges ,MNC’s ,Govt. Sectors ,Business . Prepared By:- Sunny Saini Asst. Professor LKCW, Jalandhar City Email: sunnysaini090@gmail.com Website: www.techz.tk
  • 2. What is a Transaction? “A transaction is a smallest unit of program execution .” It is a set of changes that must all be made together . It is a program unit whose execution may or may not change the contents of the database.transaction is executed as a single unit. Transaction consists of definite number of steps:
  • 3. For Example A tranfer of money from one bank account to other bank account can be treated as transaction.
  • 4. Concept of a Transaction Saving Account Rs.5000 TO 3000 Loan Account Rs.5000 to 7000
  • 5. Transaction Properties There are four important properties of transaction that a DBMS must ensure to maintain data in the case of concurrent access and system failures. These are also called as ACID properties: A. Atomicity C. Consistency I. Isolation D. Durability
  • 6. Atomicity A transaction is said to be atomic if a transaction always executes all its actions in one step or donot execute any action at all.  Consistency A transaction must preserve the consistency of a database after the execution. Isolation The transaction must behave as if they are executed in isolation.it means that if several transactions are executed concurrently the results must be same as if they were executed serially in same order.
  • 7. Durability The effect of completed or committed transactions should persist even after a crash.it means once a transaction commits , the system must guarantee that the result of its operations will never be lost,inspite of subsequent failures.
  • 8. Transaction States Through out the life cycle of a transaction, the transaction must be in one of the following states: 1.Activethis is the initial state ,the transaction stays in this state while it is executing. 2.Partially CommittedA transaction is in the state when it has executed the final statement. 3.Failedwhen the normal execution can no longer preceed.
  • 9. 4.AbortedAfter the transaction has been rolled back and the database has been restored to its state prior to the start of the transaction. 5.CommittedAfter successful completion.
  • 11. CONCURRENCY AND CONCURRENCY CONTROL “Allowing multiple transactions to run concurrently on the same database is called Concurrency.” Feature of Concurrency is available due to the multi- programming features of operating systems.
  • 12. “Concurrency control is the process of regulating access to the same data by multiple transactions operating in the same database environment.” Consider what can happen if two or more concurrent users access the same data without any concurrency control.
  • 13. Advantages of Concurrency Control *Improved Throughputconsider that transaction are performed in serial order and active transaction is waiting for a page to be read in from disk ,then instead of CPU waiting for a page ,it can process another transaction. *Reduced Waiting TimeInterleaved execution of a short transaction with a long transaction Usually allows the short transaction to complete quickly.
  • 14. Disadvantages of Concurrency Control -Lost update Problem -The temporary Update (uncommited dependency)Problem -The incorrect Summary(inconsistent analysis)Problem
  • 15. Concurrency Control Schemes Concurrency control schemes are divided into two categories: Pessimistic or Conservative Approach Optimistic Approach