Professional Documents
Culture Documents
Concepts of
DBMS
Presented by
Suvendu Chattaraj
Contents:
• Online Analytical Processing (OLAP)
• Online Transaction Processing (OLTP)
• Data Warehousing and Data Mining
• Concept
• Features
• Components
• Application areas
• Data Backup
• Concept
• Types
Online Transaction Processing (OLTP)
• Refers to a class of systems that facilitate and manage transaction-
oriented applications
• Typically for data entry and retrieval transaction processing
banking, airlines, mail-order, supermarkets,
manufacturers…
• Or in the context of commercial transactions processing in
which the system must responds immediately to user requests
An automatic teller machine (ATM) for a bank
• An OLTP system captures and maintains transaction data in a
database.
• OLTP enables the real-time execution of large numbers of
database transactions by large numbers of people, typically over
the internet
• Emphasis is on fast processing, because OLTP databases are read,
written, and updated frequently
Concept:
• With the advent of digital customer interactions, OLTP systems
are coming into greater demand
• To manage interactions with digital customers, companies
require to store and manage huge volume of data related to
customers as well as operations
• Managing such activities manually is infeasible due to possibility
of human error, involvement of huge cost etc.
• OLTP is more reliable in this context
• It replaces paper-based processes to make businesses more
efficient
Concept (Continues…):
• OLTP systems allow businesses to support thousands or even
millions of transactions for many users concurrently in near real
time.
• OLTP plays a central role in delivering everyday services, from
ATM withdrawals to online purchases.
• Defining characteristics of OLTP are short response time,
high concurrency, small and simple transactions, assured
data integrity, high availability...
• OLTP Systems are supported by relational databases which are
built on the principals of ACID
Characteristics of an OLTP Systems:
• Short Response Time:- A very short response time to perform
real time transactions in a timely manner helps the user of OLTP
systems to remain productive. If a user need to wait for 10-15
minutes inside an ATM counter to withdraw cash, such system
would have lost popularity.
Reference:- https://docs.oracle.com/database/121/VLDBG/GUID-0BC75680-5BD4-43A9-826F-CD8837D30EB2.htm#VLDBG1367
Characteristics of an OLTP Systems:
• Small and simple transactions:- OLTP systems typically comprised
of simple transactions, such as data updates, insertions, deletions and
simple queries. It manipulates highly selective, small amounts of data.
For example, one of many call center employees retrieves customer
details for every call and enters customer complaints while reviewing
past communications with the customer.
• High availability:- The availability requirements for OLTP systems
are often extremely high. An unavailable OLTP system can impact a
very large user population, and organizations can suffer major losses if
OLTP systems are unavailable. For example, a stock exchange system
has extremely high availability requirements during trading hours.
• Data integrity:- in OLTP systems data transactions happen in a
specific order and users cannot change data simultaneously which
ensures data integrity. If a failure takes place in any step of a
transaction, the transaction is cancelled and can not be continued
further.
Reference:- https://docs.oracle.com/database/121/VLDBG/GUID-0BC75680-5BD4-43A9-826F-CD8837D30EB2.htm#VLDBG1367
Examples of OLTP
• Cash withdrawals from ATM machines.
• The purchasing journey and transactions taking place on large
ecommerce websites.
• Taking restaurant orders via a food delivery app, even with many
customers ordering at once.
Reference:- https://www.techtarget.com/searchdatamanagement/definition/OLAP
Introduction to Data Mining
• Data is raw fact or disconnected fact.
• Information is the Processed data.
• Knowledge is derived from information by applying rules to it.
Reference:- https://static.javatpoint.com/tutorial/data-mining/images/data-mining-architecture.png
Components of data mining (Continues…)
• Databases − One or a set of databases, data warehouses,
spreadsheets, and another type of data repository where
data cleaning and integration techniques can be
implemented.
• Data warehouse server − A server to fetch the relevant
records based on users request from a data warehouse
• Knowledge base − Knowledge repository to discover
important patterns.
• Data mining engine − a module to perform machine
learning tasks (classification, association, cluster analysis,
etc.)
• Pattern evaluation module − investigates patterns using a
threshold value
• User interface − Enables users to interact with the system
through the graphical user interface.
Types of Data for Mining
• Transaction Log Backup - A backup of transaction logs that includes all log
records that were not backed up in a previous log backup. (full recovery
model)
• Partial Backup - Contains data from only some of the filegroups in a
database, including the data in the primary filegroup, every read/write
filegroup, and any optionally-specified read-only files.