Data Mining - raedh.weebly.com
Transcript of Data Mining - raedh.weebly.com
![Page 1: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/1.jpg)
(1)
Asso. Profe. Dr. Raed Ibraheem Hamed
University of Human Development,
College of Science and Technology
Department of Computer Science
2016 – 2017
Data Mining
![Page 2: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/2.jpg)
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
1-2Department of CS - DM - UHD
![Page 3: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/3.jpg)
Department of CS - DM - UHD 1-3
Is characterized by a large number of short on-
line 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.
OLTP (On-line Transaction Processing)
![Page 4: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/4.jpg)
Department of CS - DM - UHD 1-4
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.
IT with OLTP and OLAP
![Page 5: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/5.jpg)
Department of CS - DM - UHD 1-5
What is a Transaction?
• When an event in the real world changesthe state of the enterprise, a transaction isexecuted to cause the corresponding changein the database state,
• A transaction is an application program withspecial properties - to guarantee maintainsdatabase correctness
![Page 6: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/6.jpg)
Department of CS - DM - UHD 1-6
What is a Transaction Processing System?
Transaction execution is controlled by a TPmonitor
TP monitor and DBMS together guaranteethe maintains of database,
A Transaction Processing System consists ofTP monitor, databases, and transactions
![Page 7: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/7.jpg)
Department of CS - DM - UHD 1-7
Transaction Processing System
TP Monitor
DBMS databasetran
sact
ions DBMS database
![Page 8: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/8.jpg)
Department of CS - DM - UHD 1-8
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: many users => manytransactions/sec
• Low Response Time: on-line => users are waiting
![Page 9: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/9.jpg)
Department of CS - DM - UHD 1-9
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
Online Transaction Processing (OLTP) can include:
![Page 10: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/10.jpg)
Online Transaction Processing Cycle
Department of CS - DM - UHD 1-10
![Page 11: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/11.jpg)
Department of CS - DM - UHD 1-11
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
![Page 12: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/12.jpg)
Department of CS - DM - UHD 1-12
Examples - Supermarket
• OLTP
– Event is 3 cans of sugar and 1 box of milk
bought; update database to reflect that event
• OLAP
– Last winter in all stores in north, how many
customers bought sugar and milk together?
• Data Mining
– Are there any interesting combinations of foods
that customers frequently bought together?
![Page 13: Data Mining - raedh.weebly.com](https://reader035.fdocuments.net/reader035/viewer/2022081701/62e4a3721a8cda223660b79a/html5/thumbnails/13.jpg)
21Department of CS - DM - UHD 13