SlideShare a Scribd company logo
1 of 15
Chapter 3
On-Line Transaction
Processing (OLTP)
Outline
• Queries that an OLTP system can process
• Advantages of an OLTP system
• Challenges of an OLTP system
• The queries that OLTP cannot answer
• Data Model for OLTP
OLTP
• OLTP systems refer to a class of systems that
manage transaction-oriented applications.
• These applications are mainly concerned with the
entry, storage, and retrieval of data.
• They are designed to cover most of the day-to-
day operations of an organization such as
purchasing, inventory, manufacturing, payroll,
accounting, etc.
• Definition : Transaction system that is primarily
responsible for capturing and storing data related
to day-to-day business functions.
OLTP
• OLTP systems are characterized by a large
number of short on-line transactions such as
– INSERT (a new customer added to the database),
– UPDATE (the prise of a product has been raised
from $10 to $10.5),
– DELETE ( a product has gone out of demand and
therefore removed)
OLTP
• Almost all industries today (including airlines,
mail-order, supermarkets, banking, insurance,
etc.) use OLTP systems to record transactional
data.
• The data captured by OLTP systems is usually
stored in commercial relational databases.
OLTP
• For example, the database of a supermarket
store consists of the following tables to store
the data about its:
– Transactions
– ProductMaster
– EmployeeDetails
– InventorySupplies
– Suppliers
Queries that an OLTP system can process
ProductID ProductName ProductDescription UnitPrice QtyInStock
P101 Glucon D Energy Drink 1.75 250
P102 Boost Energy Drink 1.50 300
P103 Maxwell DVD DVD 0.80 500
P104 Poison Perfume 125 50
P105 Reynolds Pen 0.65 125
P106 Maggi Sauce Tomato Sauce 1.40 250
A few sample records of the ProductMaster table
Queries that an OLTP system can
process
• Search for a particular customer’s record
• Retrieve the product description and unit
price of a particular product
• Filter all products with a unit price equal to or
above $25
• Filter all products supplied by a particular
supplier
• Search and display the record of a particular
supplier
Advantages of an OLTP system
• Simplicity:
– It is designed typically for use by clerks, cashiers,
clients, etc.
• Efficiency:
– It allows its users to read, write, and delete data
quickly
• Fast query processing
– It responds to user actions immediately and also
supports transaction processing on demand
Challenges of an OLTP system
• Security:
– An OLTP system requires concurrency control
(locking) and recovery mechanisms (logging)
• OLTP system data content not suitable for
decision making:
– A typical OLTP system manages the current data
within an enterprise/organization. This current
data is far too detailed to be easily used for
decision making.
The queries that OLTP cannot answer
• Cannot handle complex queries, for example:
The supermarket store is deciding on introducing a
new product. The key questions they are debating
are:
– “Which product should they introduce?” and
– “should it be specific to a few customer
segments?”
The queries that OLTP cannot answer
The supermarket store is looking at offering some
discount on their year-end sale. The questions here
are:
– “how much discount should they offer?” and
– “should different discounts be given to different
customer segments?”
The queries that OLTP cannot answer
The supermarket is looking at rewarding its most
consistent salesperson. The question here is:
– “how to zero in on its most consistent salesperson
(consistent on several parameters)”
Data model for OLTP
• Entity Relationship (ER) data model
What is OLTP? - Oracle
• https://www.oracle.com/database/what-is-
oltp/

More Related Content

Similar to Chap3.pptx

Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousingAhmad Shlool
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousingAhmad Shlool
 
Business Intelligence Overview
Business Intelligence OverviewBusiness Intelligence Overview
Business Intelligence Overviewnetpeachteam
 
Presentation data warehouse easy and simple words.pptx
Presentation data warehouse easy and simple words.pptxPresentation data warehouse easy and simple words.pptx
Presentation data warehouse easy and simple words.pptxshamsbhai495
 
data warehousing
data warehousingdata warehousing
data warehousing143sohil
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processingSamraiz Tejani
 
presentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptxpresentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptxvipush1
 
Module 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptxModule 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptxnikshaikh786
 
MariaDB AX: Solución analítica con ColumnStore
MariaDB AX: Solución analítica con ColumnStoreMariaDB AX: Solución analítica con ColumnStore
MariaDB AX: Solución analítica con ColumnStoreMariaDB plc
 
MariaDB AX: Analytics with MariaDB ColumnStore
MariaDB AX: Analytics with MariaDB ColumnStoreMariaDB AX: Analytics with MariaDB ColumnStore
MariaDB AX: Analytics with MariaDB ColumnStoreMariaDB plc
 
Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Paul Hoekstra
 
3 recent development
3 recent development3 recent development
3 recent developmentsakshi garg
 
Data Mining & Data Warehousing
Data Mining & Data WarehousingData Mining & Data Warehousing
Data Mining & Data WarehousingAAKANKSHA JAIN
 
Transforming your procure to pay process
Transforming your procure to pay processTransforming your procure to pay process
Transforming your procure to pay processLisa Wilberding
 

Similar to Chap3.pptx (20)

Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousing
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousing
 
Lecture1
Lecture1Lecture1
Lecture1
 
Business Intelligence Overview
Business Intelligence OverviewBusiness Intelligence Overview
Business Intelligence Overview
 
Presentation data warehouse easy and simple words.pptx
Presentation data warehouse easy and simple words.pptxPresentation data warehouse easy and simple words.pptx
Presentation data warehouse easy and simple words.pptx
 
Topic 4 -enterprize_system
Topic 4 -enterprize_systemTopic 4 -enterprize_system
Topic 4 -enterprize_system
 
data warehousing
data warehousingdata warehousing
data warehousing
 
Msbi by quontra us
Msbi by quontra usMsbi by quontra us
Msbi by quontra us
 
Andrew Waugh Business Systems
Andrew Waugh Business SystemsAndrew Waugh Business Systems
Andrew Waugh Business Systems
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
presentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptxpresentationofism-complete-1-100227093028-phpapp01.pptx
presentationofism-complete-1-100227093028-phpapp01.pptx
 
Module 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptxModule 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptx
 
MariaDB AX: Solución analítica con ColumnStore
MariaDB AX: Solución analítica con ColumnStoreMariaDB AX: Solución analítica con ColumnStore
MariaDB AX: Solución analítica con ColumnStore
 
MariaDB AX: Analytics with MariaDB ColumnStore
MariaDB AX: Analytics with MariaDB ColumnStoreMariaDB AX: Analytics with MariaDB ColumnStore
MariaDB AX: Analytics with MariaDB ColumnStore
 
DWH_Session_1.pptx
DWH_Session_1.pptxDWH_Session_1.pptx
DWH_Session_1.pptx
 
Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...
 
3 recent development
3 recent development3 recent development
3 recent development
 
Data Mining & Data Warehousing
Data Mining & Data WarehousingData Mining & Data Warehousing
Data Mining & Data Warehousing
 
Tps presentation
Tps presentationTps presentation
Tps presentation
 
Transforming your procure to pay process
Transforming your procure to pay processTransforming your procure to pay process
Transforming your procure to pay process
 

Recently uploaded

VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 

Recently uploaded (20)

VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 

Chap3.pptx

  • 2. Outline • Queries that an OLTP system can process • Advantages of an OLTP system • Challenges of an OLTP system • The queries that OLTP cannot answer • Data Model for OLTP
  • 3. OLTP • OLTP systems refer to a class of systems that manage transaction-oriented applications. • These applications are mainly concerned with the entry, storage, and retrieval of data. • They are designed to cover most of the day-to- day operations of an organization such as purchasing, inventory, manufacturing, payroll, accounting, etc. • Definition : Transaction system that is primarily responsible for capturing and storing data related to day-to-day business functions.
  • 4. OLTP • OLTP systems are characterized by a large number of short on-line transactions such as – INSERT (a new customer added to the database), – UPDATE (the prise of a product has been raised from $10 to $10.5), – DELETE ( a product has gone out of demand and therefore removed)
  • 5. OLTP • Almost all industries today (including airlines, mail-order, supermarkets, banking, insurance, etc.) use OLTP systems to record transactional data. • The data captured by OLTP systems is usually stored in commercial relational databases.
  • 6. OLTP • For example, the database of a supermarket store consists of the following tables to store the data about its: – Transactions – ProductMaster – EmployeeDetails – InventorySupplies – Suppliers
  • 7. Queries that an OLTP system can process ProductID ProductName ProductDescription UnitPrice QtyInStock P101 Glucon D Energy Drink 1.75 250 P102 Boost Energy Drink 1.50 300 P103 Maxwell DVD DVD 0.80 500 P104 Poison Perfume 125 50 P105 Reynolds Pen 0.65 125 P106 Maggi Sauce Tomato Sauce 1.40 250 A few sample records of the ProductMaster table
  • 8. Queries that an OLTP system can process • Search for a particular customer’s record • Retrieve the product description and unit price of a particular product • Filter all products with a unit price equal to or above $25 • Filter all products supplied by a particular supplier • Search and display the record of a particular supplier
  • 9. Advantages of an OLTP system • Simplicity: – It is designed typically for use by clerks, cashiers, clients, etc. • Efficiency: – It allows its users to read, write, and delete data quickly • Fast query processing – It responds to user actions immediately and also supports transaction processing on demand
  • 10. Challenges of an OLTP system • Security: – An OLTP system requires concurrency control (locking) and recovery mechanisms (logging) • OLTP system data content not suitable for decision making: – A typical OLTP system manages the current data within an enterprise/organization. This current data is far too detailed to be easily used for decision making.
  • 11. The queries that OLTP cannot answer • Cannot handle complex queries, for example: The supermarket store is deciding on introducing a new product. The key questions they are debating are: – “Which product should they introduce?” and – “should it be specific to a few customer segments?”
  • 12. The queries that OLTP cannot answer The supermarket store is looking at offering some discount on their year-end sale. The questions here are: – “how much discount should they offer?” and – “should different discounts be given to different customer segments?”
  • 13. The queries that OLTP cannot answer The supermarket is looking at rewarding its most consistent salesperson. The question here is: – “how to zero in on its most consistent salesperson (consistent on several parameters)”
  • 14. Data model for OLTP • Entity Relationship (ER) data model
  • 15. What is OLTP? - Oracle • https://www.oracle.com/database/what-is- oltp/