DATABASES AND DATABASE USERS CHAPTER 1

Similar documents
BASIC SQL CHAPTER 4 (6/E) CHAPTER 8 (5/E)

BASIC SQL CHAPTER 4 (6/E) CHAPTER 8 (5/E)

CS 338 Databases and Database Users INTRODUCTION

CONSTRAINTS AND UPDATES CHAPTER 3 (6/E) CHAPTER 5 (5/E)

CONSTRAINTS AND UPDATES CHAPTER 3 (6/E) CHAPTER 5 (5/E)

Chapter 1. Types of Databases and Database Applications. Basic Definitions. Introduction to Databases

FUNCTIONAL DEPENDENCIES CHAPTER , 15.5 (6/E) CHAPTER , 10.5 (5/E)

Chapter 1. Introduction of Database (from ElMasri&Navathe and my editing)

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 1-1

Introduction: Databases and. Database Users

Introduction: Databases and Database Users. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1

Introduction to Database Systems. Motivation. Werner Nutt

LECTURE1: PRINCIPLES OF DATABASES

Introduction Database Concepts

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

Overview of Data Management

Database Management System. Fundamental Database Concepts

CSE 3241: Database Systems I Databases Introduction (Ch. 1-2) Jeremy Morris

Introduction: Database Concepts Slides by: Ms. Shree Jaswal

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

CS275 Intro to Databases. File Systems vs. DBMS. Why is a DBMS so important? 4/6/2012. How does a DBMS work? -Chap. 1-2

CSC 355 Database Systems

Databases & Database Users

Database Systems: Learning Outcomes. Examples of Database Application. Introduction

Database Technology. Topic 2: Relational Databases and SQL. Olaf Hartig.

What is Data? ANSI definition: Volatile vs. persistent data. Data. Our concern is primarily with persistent data

What is Data? Volatile vs. persistent data Our concern is primarily with persistent data

Database Technology. Topic 3: SQL. Olaf Hartig.

Chapter 6. Foundations of Business Intelligence: Databases and Information Management VIDEO CASES

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization

UNIT I. Introduction

Chapter 1 Introduction

Introduction to Databases

Overview of Data Management

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

Course Logistics & Chapter 1 Introduction

Data, Information, and Databases

Database Technology Introduction. Heiko Paulheim


COMP102: Introduction to Databases, 1 & 2

CS102B: Introduction to Information Systems. Minerva A. Lagarde

Chapter 11 Database Concepts

Chapter 1: Introduction

5/23/2014. Limitations of File-based Approach. Limitations of File-based Approach CS235/CS334 DATABASE TECHNOLOGY CA 40%

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction

Chapter 1: Introduction

TIM 50 - Business Information Systems

Chapter 1: Introduction. Chapter 1: Introduction

Chapter 6 VIDEO CASES

Database systems. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)

DATABASE CONCEPTS. Dr. Awad Khalil Computer Science & Engineering Department AUC

Chapter 3. Foundations of Business Intelligence: Databases and Information Management

Chapter Two. DBMS Architecture How should DBS be organized?

The functions performed by a typical DBMS are the following:

Chapter 1: Introduction

Practical Database Design Methodology and Use of UML Diagrams Design & Analysis of Database Systems

Meaning & Concepts of Databases

Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 1 Database Systems

Database Management System

5-1McGraw-Hill/Irwin. Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved.

U1. Data Base Management System (DBMS) Unit -1. MCA 203, Data Base Management System

Foundations of Business Intelligence: Databases and Information Management

4/28/2014. File-based Systems. Arose because: Result

Database Management Systems

CHAPTER 3 Implementation of Data warehouse in Data Mining

Chapter 1: Introduction

16/06/56. Databases. Databases. Databases The McGraw-Hill Companies, Inc. All rights reserved.

Fundamentals of Database Systems (INSY2061)

Databases The McGraw-Hill Companies, Inc. All rights reserved.

DATABASE DEVELOPMENT (H4)

Management Information Systems Review Questions. Chapter 6 Foundations of Business Intelligence: Databases and Information Management

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System?

Data Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau

Topics covered 10/12/2015. Pengantar Teknologi Informasi dan Teknologi Hijau. Suryo Widiantoro, ST, MMSI, M.Com(IS)

Outline. Managing Information Resources. Concepts and Definitions. Introduction. Chapter 7

The InfoLibrarian Metadata Appliance Automated Cataloging System for your IT infrastructure.

Chapter 1 Chapter-1

Top 88 Question Asked in Part I of MIS 150 EXAM #1 (Chapter 1-4, Appendix C) Exams questions gathered from old tests dating back to Fall 2000

These are all examples of relatively simple databases. All of the information is textual or referential.

Database Systems. Chapter 5. Emmanuel Stefanakis

Rapid Application Development

data dependence Data dependence Structure dependence

Data, Databases, and DBMSs

Managing Information Resources

Database Systems Overview. Truong Tuan Anh CSE-HCMUT

BUSINESS INTELLIGENCE AND OLAP

COSC 304 Introduction to Database Systems. Database Introduction. Dr. Ramon Lawrence University of British Columbia Okanagan

1. Analytical queries on the dimensionally modeled database can be significantly simpler to create than on the equivalent nondimensional database.

EE British Academy Film Awards Sunday 10 February Previous Nominations and Wins

Management Information Systems

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World

Introduction to Database Systems (1)

Databases and Database Management Systems

A WHITE PAPER By Silwood Technology Limited

Bonus Content. Glossary

Technology In Action, Complete, 14e (Evans et al.) Chapter 11 Behind the Scenes: Databases and Information Systems

Part I What are Databases?

Database Management Systems (CPTR 312)

UVA. Database Systems. Need for information

Transcription:

1 DATABASES AND DATABASE USERS CHAPTER 1

2 LECTURE OUTLINE Introduction An Example Characteristics of the Database Approach Actors on the Scene Workers behind the Scene When Not to Use a DBMS

3 WEALTH OF DATA Traditional database applications Store numeric short textual information Typically for managing enterprises Text and multimedia databases Store documents, digital images, audio, and video streams Geographic information systems (GIS) Store maps, weather data, and satellite images For route-finding, agriculture, and natural resource management Data warehouses and online analytical processing (OLAP) systems Store historical business information For business analytics and decision support Real-time and active database technology Store process models, constraints, and key performance indicators Control industrial and manufacturing processes

4 TERMINOLOGY Database Collection of related data (logically coherent) Known facts that can be recorded and that have implicit meaning Represents some aspect(s) of the real world (miniworld) Built for a specific purpose Examples of large databases Amazon.com, Canadian Census, The Bay s product inventory, data collection underlying Quest

5 TERMINOLOGY (CONT'D.) Database management system (DBMS) Collection of programs Enables users to create and maintain a database Allows multiple users and programs to access and manipulate the database concurrently Provides protection against unauthorized access and manipulation Provides means to evolve database and program behaviour as requirements change over time Examples of database management systems IBM s DB2, Microsoft s Access and SQL Server, Oracle, MySQL, SAP s SQL Anywhere

6 TERMINOLOGY (CONT'D.) Defining a database Specifying the data types, structures, and constraints of the data to be stored Uses a Data Definition Language Meta-data Database definition or descriptive information Stored by the DBMS in the form of a database catalog or data dictionary Phases for designing a database: Requirements specification and analysis Conceptual design e.g., using the Entity-Relationship model Logical design e.g., using the relational model Physical design

7 TERMINOLOGY (CONT'D.) Populating a database Inserting data to reflect the miniworld Query Interaction causing some data to be retrieved uses a Query Language Manipulating a database Querying and updating the database to understand/reflect miniworld Generating reports Uses a Data Manipulation Language Application program Accesses database by sending queries and updates to DBMS Transaction An atomic unit of queries and updates that must be executed as a whole e.g., buying a product, transferring funds, switching co-op streams

DBMS SCHEMATIC 8

9 AN EXAMPLE Movie database Information concerning movies, actors, awards Data records Film Person Role Honours Define structure of each type of record by specifying data elements to include and data type for each element String (sequence of alphabetic characters) Numeric (integer or real) Date (year or year-month-day) Monetary amount etc.

10 AN EXAMPLE (CONT'D.) Film Populate MOVIES database Store data to represent each film, actor, director, award, role title genre year director runtime budget gross The Company Men drama 2010 John Wells 104 15,000,000 4,439,063 Lincoln biography 2012 Steven Spielberg 150 65,000,000 181,408,467 War Horse drama 2011 Steven Spielberg 146 66,000,000 79,883,359 Argo drama 2012 Ben Affleck 120 44,500,000 135,178,251 Fire Sale comedy 1977 Alan Arkin 88 1,500,000 0 Honours movie award category winner Lincoln Critic's Choice actor Daniel Day-Lewis Argo Critic's Choice director Ben Affleck Lincoln Screen Actors Guild supporting actor Tommy Lee Jones Lincoln Screen Actors Guild actor Daniel Day-Lewis Lincoln Critic's Choice screenplay Tony Kushner Argo Screen Actors Guild cast Argo War Horse BMI Flim music John Williams Role Person name birth city Ben Affleck Alan Arkin 1972 Berkeley 1934 New York Tommy Lee Jones 1946 San Saba John Wells Steven Spielberg Daniel Day-Lewis 1957 Alexandria 1946 Cincinnati 1957 Greenwich actor movie persona Ben Affleck Argo Tony Mendez Alan Arkin Argo Lester Siegel Ben Affleck The Company Men Bobby Walker Tommy Lee Jones The Company Men Gene McClary Tommy Lee Jones Lincoln Thaddeus Stevens Alan Arkin Fire Sale Ezra Fikus Daniel Day-Lewis Lincoln Abraham Lincoln

11 AN EXAMPLE (CONT'D.) Manipulation involves querying and updating Examples of queries: List the cast of characters for Lincoln. Who directed a drama in 2012? Who directed a film in which he or she also played a role? What awards were won by War Horse? Examples of updates: Record that Argo won a Golden Globe award for best picture. Add another $395,533 to the gross earnings for Lincoln. Change the birthplace for Daniel Day-Lewis to London. Delete Fire Sale from the database.

12 TERMINOLOGY (CONT'D.) Reorganizing a database Changes the metadata rather than the data More drastic than data updates May require massive changes to the data May require changes to some application programs Uses the Data Definition Language again Examples: Rename gross to be domestic earnings and add a new column for foreign earnings. Move director from FILM to a separate relation DIRECTOR with columns for person and movie Change birth from yyyy to yyyy/mm/dd Split name in PERSON to separate surname from given names. Include column movieid in FILM (to accommodate remakes and other duplications of film title) and update other relations accordingly.

13 PRE-DBMS DATABASES Used traditional file processing Each user defines and implements the files needed for a specific software application As the application base grows many shared files a multitude of file structures a need to exchange data among applications Eventually recognized that data is a critical corporate asset (along with capital and personnel)

14 DATABASE APPROACH Single repository maintains data that is defined once and then accessed by various users Addresses a variety of problems redundancy: multiple copies inconsistency: independent updates inaccuracy: concurrent updates incompatibility: multiple formats insecurity: proliferation inauditability: poor chain of responsibility inflexibility: changes are difficult to apply

15 CHARACTERISTICS OF THE DATABASE APPROACH Programs isolated from data through abstraction Does not expose details of how (or where) data is stored or how operations are implemented Data sharing through multiple views Multiuser transaction processing Encapsulates sequence of operations to behave atomically Data is self-defining Database system contains complete definition of structure and constraints as meta-data Database catalog used by: DBMS software Database users who need information about database structure

DATABASE CATALOG 16

17 ACTORS ON THE SCENE Database administrator (DBA) responsible for: Authorizing access to the database Coordinating and monitoring its use Acquiring software and hardware resources Tuning the DBMS for best performance Database designer responsible for: Identifying the data to be stored Choosing appropriate structures to represent and store this data

18 ACTORS ON THE SCENE (CONT'D.) End users Those whose jobs require access to the database Naive or parametric end users canned queries and updates Casual end users occasional, special-purpose access Sophisticated end users deep knowledge of database design and DBMS facilities Standalone users users of personal databases System analysts Determine requirements of end users Application programmers Implement complex specifications (business logic) as programs

19 WORKERS BEHIND THE SCENE DBMS system designers and implementers Design and implement the DBMS modules and interfaces as a software package Tool developers Design and implement tools Operators and maintenance personnel Responsible for running and maintenance of hardware and software environment for database system

20 WHEN NOT TO USE A DBMS More desirable to use regular files for: Simple, well-defined applications with no expected changes at all Small variety of data and/or small amount of data Stringent, real-time requirements that cannot afford DBMS overhead Only single (personal) access to data Unlikely that any of these apply to corporate data management. In fact, corporations often maintain many databases across many database systems.

21 LECTURE SUMMARY Database Collection of related data (recorded facts) DBMS Generalized software package for implementing and maintaining a computerized database Provides many services to manage data resources Several categories of database users