Based on G. Post, Database Management Systems University of Manitoba Asper School of Business 3500 DBMS Bob Travica Updated 2015 Chapter 1 Introduction.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Lecture-7/ T. Nouf Almujally
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Chapter Information Systems Database Management.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
Jerry Post Copyright © Database Management Systems Chapter 1 Introduction.
Database Management: Getting Data Together Chapter 14.
Geographic Information Systems
DATABASE APPLICATION DEVELOPMENT SAK 3408 Introduction (week 1)
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
1 Database Systems (Part I) Introduction to Databases I Overview  Objectives of this lecture.  History and Evolution of Databases.  Basic Terms in Database.
Introduction to Databases
1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
1 Copyright © 2010 Jerry Post. All rights reserved. Introduction to DBMS IS240 – DBMS Lecture #2 – M. E. Kabay, PhD, CISSP-ISSMP Assoc. Prof.
Database Management COP4540, SCS, FIU An Introduction to database system.
Database Design and Introduction to SQL
Introduction to Database
1 Introduction to Databases Lecture One Relational and Object-Oriented Database Concepts Introduction to Database Design and Techniques.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
The University of Akron Dept of Business Technology Computer Information Systems Intro to Database Management 2440: 180 Database Concepts Instructor: Enoch.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Module Title? DBMS Introduction to Database Management System.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Web-Enabled Decision Support Systems
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Jerry Post Copyright © Database Management Systems Chapter 1 Introduction.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Architecture for a Database System
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Data resource management
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Database Basics BCIS 3680 Enterprise Programming.
1 Introduction to MIS Databases Chapter 5 and 6 in your textbook Relational Database Concepts.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Geographic Information Systems GIS Data Databases.
Chapter 1 Introduction.
An Introduction to database system
Database Management:.
Information Systems Today: Managing in the Digital World
Database Management System
Geographic Information Systems
Introduction to Database Management System
Introduction to DBMS IS240 – DBMS Lecture #2 –
DATABASES WHAT IS A DATABASE?
Presentation transcript:

Based on G. Post, Database Management Systems University of Manitoba Asper School of Business 3500 DBMS Bob Travica Updated 2015 Chapter 1 Introduction

DBSYSTEMS 2 of 15 Basic Concepts of Database Systems  Database is  A collection of data organized in some way grouped on what they refer to, or on technical types relationships between pieces of data determined  Data = symbols for recording and communication (e.g., customer ID and name)  Example: Think of records (paper, electronic) describing employees.  The organization of data can be explained by metadata.  Metadata define how data are organized (e.g., Employee is a class of data, which has x number of attributes, and each attribute belongs to a data type). More  EmployeeIDNumber LastNameText FirstNameText PhoneNumber

DBSYSTEMS 3 of 15 Basic Concepts  Database Management System (DBMS)  Software for creating databases, storing & retrieving data, creating user interface (forms), creating reports, and administering a DB system (security, access, etc.).  DBMS Product (a specific DBMS software; same as “DBMS Brand”).  Database System (DBMS Application, Application)*:  An implementation of a DBMS product including one or more databases, logic (business rules), some code, and user interface. Supporting various information needs.  An information system that results from “applying” a DBMS or a database. Supporting specific information needs.

DBSYSTEMS 4 of 15 File (Processing) Systems vs. DB systems (DBS)  History but also a frequent shortcut today (e.g., Excel as surrogate of DBS)  File Processing Systems:  Data files and program files (code) that work on data files, or  Data and code in the same file  Separate code (functionality) for data input, modification, retrieval, & deletion.  Data files are closely coupled with programs that define metadata - tight coupling reducing design flexibility (changes). More 

DBSYSTEMS 5 of 15 DBS are:  Higher on retrieval capabilities  Lower redundancy, higher data integrity  Data independent from programs (code); looser coupling – changes in data and code less restricted  Better security and management of concurrent access to database  Significantly lower development and maintenance cost  But keep in mind: Excel’s enduring popularity in companies. File (Processing) Systems vs. DB systems

DBSYSTEMS 6 of 15 Modifying Data in DBS -- Data-Program independence  Add cell tel. number to employee table  Open table template  Add data element  Existing reports, queries, code will not crash although need to be modified to output new data – looser coupling Field NameData TypeDescription EmployeeIDNumberAutonumber.. TaxpayerIDTextFederal ID LastNameText FirstNameText... PhoneTextPhone Number... CellPhoneTextCell Phone No.

DBSYSTEMS 7 of 15 DB System Components Database Engine: CRUD* operations & Data Dictionary Concurrency & Lock Manager Recovery Manager Disk Space Manager Query Processor Form Builder Report Writer Application Generator Data & Metadata Management Security Management D B M S Database Retrieval Input/Output; User Interface System development tools *CRUD= Create, Read, Update, Delete Note: The Post book mixes “database” With “data” and “application”.

DBSYSTEMS 8 of 15 Creating Outputs via Report Writer Output: Report Database Database Engine Report Writer 1 Query Processor

DBSYSTEMS 9 of 15 Relational Database Standard  “Relation” = table, a logical view of the data structure for storing data. An example of Table (Sale) created in Oracle.

DBSYSTEMS 10 of 15 Examples of Relational DBMS Products  Oracle  Sybase  Informix (Unix)  DB2, SQL/DS (IBM)  Access, SQL Server (Microsoft)  Many limited to PC (MS Access, dBASE, Paradox, …)  Open source: MySQL (more)more

DBSYSTEMS 11 of 15 Hierarchical Database Item#ItemNameQuantity 998Dog Food12 764Cat Food11 Items Order files Customers files To retrieve how many of item A are sold, start at the top from Customer. Then all nested data are retrieved top-down and left-right. Different data models needed for different retrieval tasks (e.g., Order at the root) => high data redundancy in DBS! Customer XYZ Order 1 Item A Order 2 Item B Item A Item C Entry point pointers First commercial standard (IBM’s IMS) Still used in legacy systems

DBSYSTEMS 12 of 15 Network Database Customer XYZ Order 1Order 2 Entry point Entry points Item A Item B Item C One data model supports different retrieval paths (by customer, order, item). Relationships between records also supported by pointers; complex programming.

DBSYSTEMS 13 of 15 Relational Database Customer(CustomerID, Name, …) Order(OrderID, CustomerID, OrderDate, …) ItemOrdered(OrderID, ItemID, Quantity, …) Item(ItemID, Description, Price, …) Data organized as logical tables, consisted of rows (records) and columns (attributes), and connected via key attributes. Possible to retrieve almost any combination of rows and columns, and a specific piece of data (field) within a row. Pointers transparent to developers, just need to specify Primary Key (PK)—Foreign Key (FK) relationships. Primary Key (PK, Key) Foreign Key (FK)

DBSYSTEMS 14 of 15 Object-Oriented Databases Inheritance in Generalization/Speci- alization relationship Customer CustomerID Name … Add Customer Drop Customer Change Address… Government Customer ContactName ContactPhone Discount, … NewContact Corporate ContactName ContactPhone … AddNewContact Order OrderID CustomerID … NewOrder DeleteOrder … Procedures (behavior, methods) for processing data. Data Pure OODB: a storage of objects with various retrieval techniques depending on objects’ APIs. Rare in business. Extends data types and methods over relational DB. Takes advantages of OO capabilities (e.g., inheritance).

DBSYSTEMS 15 of 15 Object-Relational DB Systems  More frequent than pure object-oriented systems  Architecture:  Database is relational  Objects are created in main memory according to class diagram and business rules, and populated by data from the relational databases (data access layer in system sequence diagrams). Extended data and method capabilities in objects.  System operations are performed by objects