Download File

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Open Database Connectivity wikipedia , lookup

Relational model wikipedia , lookup

Commitment ordering wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Functional Database Model wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Versant Object Database wikipedia , lookup

Serializability wikipedia , lookup

Concurrency control wikipedia , lookup

Transcript
Data Mining & Data
Warehouse
Asso. Profe. Dr. Raed Ibraheem Hamed
University of Human Development,
College of Science and Technology
Department of Information Technology
2016 – 2017
(1)
Points to Cover









OLTP (On-line Transaction Processing)
IT with OLTP and OLAP
What is a Transaction?
What is a Transaction Processing System?
Transaction Processing System
System Requirements
Online Transaction Processing (OLTP) can include
Processing Cycle
Examples - Supermarket
Department of IT- DMDW - UHD
1-2
OLTP (On-line Transaction Processing)
Is characterized by a large number of short online transactions (INSERT, UPDATE, DELETE).
The main emphasis for OLTP systems is put on
very fast query processing, maintaining database
in
multi-access
environments
and
an
effectiveness
measured
by
number
of
transactions per second.
Department of IT- DMDW - UHD
1-3
IT with OLTP and OLAP
We can divide IT systems into transactional (OLTP) and
analytical (OLAP). In general we can assume that OLTP
systems provide source data to data warehouses, whereas
OLAP
systems
help
to
analyze
it.
Department of IT- DMDW - UHD
1-4
What is a Transaction?
• When an event in the real world changes the
state of the enterprise, a transaction is
executed to cause the corresponding change
in the database state,
• A transaction is an application program with
special properties - to guarantee maintains
database correctness
Department of IT- DMDW - UHD
1-5
What is a Transaction Processing System?
 Transaction execution is controlled by a TP
monitor
 TP monitor and DBMS together guarantee
the maintains of database,
 A Transaction Processing System consists of
TP monitor, databases, and transactions
Department of IT- DMDW - UHD
1-6
transactions
Transaction Processing System
DBMS
database
DBMS
database
TP Monitor
Department of IT- DMDW - UHD
1-7
System Requirements
• Long Lifetime: complex systems are not easily
replaced, Must be designed so they can be easily
extended as the needs of the enterprise change
• Security: sensitive information must be carefully
protected since system is accessible to many users,
Authentication, authorization.
• High Throughput:
transactions/sec
many
users
=>
many
• Low Response Time: on-line => users are waiting
Department of IT- DMDW - UHD
1-8
Online Transaction Processing (OLTP) can include:
1. Banking, Financial, Hospital, Universities,
Airline reservations operations, etc.
2. Purchases & Orders (phone, Internet,
direct)
3. Real-time systems, immediate feedback
4. Real-time Reports and databases updates
Department of IT- DMDW - UHD
1-9
Online Transaction Processing Cycle
Roles in Design, Implementation, and
Maintenance of a TPS
• System Analyst - specifies system using input
from customer; provides complete description of
functionality from customer’s and user’s point of
view
• Database Designer - specifies structure of data
that will be stored in database
• Application
Programmer
implements
application programs (transactions) that access
data and support enterprise rules
Department of IT- DMDW - UHD
1-11
Examples - Supermarket
• OLTP
– Event is 3 cans of soup and 1 box of crackers
bought; update database to reflect that event
• OLAP
– Last winter in all stores in northeast, how many
customers bought soup and crackers together?
• Data Mining
– Are there any interesting combinations of foods
that customers frequently bought together?
Department of IT- DMDW - UHD
1-12
Department of IT- DMDW - UHD
21