Overview of Databases and Transaction Processing

Slides:



Advertisements
Similar presentations
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
Advertisements

Chapter 1 Overview of Databases and Transaction Processing.
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Overview of Databases and Transaction Processing Chapter 1.
Chapter 3 Database Management
Database Management: Getting Data Together Chapter 14.
Transaction Processing IS698 Min Song. 2 What is a Transaction?  When an event in the real world changes the state of the enterprise, a transaction is.
The Architecture of Transaction Processing Systems
Databases and Database Management System. 2 Goals comprehensive introduction to –the design of databases –database transaction processing –the use of.
Database – Part 2 Dr. V.T. Raja Oregon State University.
1 Recap Database: –collection of data central to some enterprise that is managed by a Database Management System –reflection of the current state of the.
Databases and Database Management System. 2 Goals comprehensive introduction to –the design of databases –database transaction processing –the use of.
1 Introduction Introduction to database systems Database Management Systems (DBMS) Type of Databases Database Design Database Design Considerations.
Database Fundamentals Introduction
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Lecture 1 DBMS & More Atif Farid Mohammad Adjunct Professor UNCC
Chapter 1 Overview of Databases and Transaction Processing.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
Chapter 1 Introduction to Databases Pearson Education ©
Introduction: Databases and Database Users
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Chapter 1 Overview of Databases and Transactions.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Chapter 1 Overview of Databases and Transaction Processing.
What is a database? (a supplement, not a substitute for Chapter 1…) some slides copied/modified from text Collection of Data? Data vs. information Example:
James A. Senn’s Information Technology, 3rd Edition
Introduction to Databases
Chapter 1 Database and Database Users
Databases and Database Users
Introduction to DBMS Purpose of Database Systems View of Data
CS4222 Principles of Database System
Databases and Database Users
On-Line Transaction Processing
Databases We are particularly interested in relational databases
Outline Types of Databases and Database Applications Basic Definitions
Chapter 1: Introduction
Database and Database Users
Chapter 2 Database System Concepts and Architecture
Data warehouse.
Chapter 1: Introduction
Introduction to Databases
Chapter Ten Managing a Database.
9/22/2018.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database Management System (DBMS)
Introduction to Database Systems
Basic Concepts in Data Management
Chapter 1: Introduction
Chapter 1 Database Systems
Database solutions Database environment Marzena Nowakowska Faculty of Management and Computer Modelling Kielce University of Technology rooms: 3.21 C,
Introduction to Data Warehousing
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Databases
Chapter 1: Introduction
Chapter 1 Database Systems
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 3 Database Management
Chapter 1: Introduction
Database System Concepts and Architecture
Enabling the Organization – Decision Making
Terms: Data: Database: Database Management System: INTRODUCTION
Chapter 1: Introduction
Introduction to Databases
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Data Warehouse and OLAP Technology
Database management systems
Presentation transcript:

Overview of Databases and Transaction Processing Chapter 1

What is a Database? Collection of data central to some enterprise Essential to operation of enterprise Contains the only record of enterprise activity An asset in its own right Historical data can guide enterprise strategy Of interest to other enterprises State of database mirrors state of enterprise Database is persistent

What is a Database Management System? A Database Management System (DBMS) is a program that manages a database: Supports a high-level access language (e.g. SQL). Application describes database accesses using that language. DBMS interprets statements of language to perform requested database access.

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 With an on-line database, the event causes the transaction to be executed in real time A transaction is an application program with special properties - discussed later - to guarantee it maintains database correctness

What is a Transaction Processing System? Transaction execution is controlled by a TP monitor Creates the abstraction of a transaction, analogous to the way an operating system creates the abstraction of a process TP monitor and DBMS together guarantee the special properties of transactions A Transaction Processing System consists of TP monitor, databases, and transactions

Transaction Processing System DBMS database transactions DBMS database TP Monitor

Systems: Then and Now Relational model using SQL - high-level view of data Older systems presented low-level view Might contain multimedia data Older systems restricted to alphanumeric data On-line: database accessed at time of event Older systems were off-line, batch

Systems: Then and Now (con’t) Concurrent - multiple transactions execute simultaneously Older systems processed transactions sequentially Distributed computation - different parts of the application execute on different computers Older systems were centralized

Systems: Then and Now (con’t) Distributed data - different parts of the data are stored in different databases on different computers Older systems were centralized Heterogeneous - involves HW and SW modules from different manufacturers Older systems were homogeneous Accessed by everyone (e.g., e-commerce) Older systems restricted to trained personnel

System Requirements High Availability: on-line => must be operational while enterprise is functioning High Reliability: correctly tracks state, does not lose data, controlled concurrency High Throughput: many users => many transactions/sec Low Response Time: on-line => users are waiting

System Requirements (con’t) 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, encryption

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

Roles in Design, Implementation and Maintenance of a TPS (con’t) Database Administrator - maintains database once system is operational: space allocation, performance optimization, database security System Administrator - maintains transaction processing system: monitors interconnection of HW and SW modules, deals with failures and congestion

OLTP vs. OLAP On-line Transaction Processing (OLTP) Day-to-day handling of transactions that result from enterprise operation Maintains correspondence between database state and enterprise state On-line Analytic Processing (OLAP) Analysis of information in a database for the purpose of making management decisions

OLAP Analyzes historical data (terabytes) using complex queries Due to volume of data and complexity of queries, OLAP often uses a data warehouse Data Warehouse - (offline) repository of historical data generated from OLTP or other sources Data Mining - use of warehouse data to discover relationships that might influence enterprise strategy

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?