Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.

Slides:



Advertisements
Similar presentations
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Advertisements

CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
Introduction to Introduction to Database Systems Rose-Hulman Institute of Technology Curt Clifton.
Copyright © 2004 Pearson Education, Inc.. Chapter 1 Introduction and Conceptual Modeling.
Copyright © 2004 Pearson Education, Inc.. Chapter 1 Database Concepts.
Copyright © 2004 Pearson Education, Inc. Instructor Dr. Amr Mahmoud Tolba Office No : 106 Floor 7 Website:
Databases and Database Users Winter 2007Ron McFadyen ACS Database applications Database Database Management System Characteristics Actors Advantages.
Slide 1- 1 Database Systems Hanem A. Eladly Computer Engineering Department Faculty of Engineering Cairo University
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Introduction and Conceptual Modeling
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Database Actors Database Administrators Database Designers
Databases and Database Users
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 1 - Introduction: Databases and Database Users - Outline Types of Databases and.
CSE314 Database Systems Lecture 1 Databases and Database Users Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Database and Database Users. Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
Introduction: Databases and Database Users
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Slide Chapter 1 Introduction: Databases and Database Users.
Course Introduction Ria Mae G. Corda ITB322 (Lecture) 2 nd Semeseter, AY
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Chapter 11 CS Introduction to Database Systems.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2004 Pearson Education, Inc. METU Department of Computer Eng Ceng 302 Introduction to DBMS Introduction and Conceptual Modeling by Pinar Senkul.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
DatabaseCSIE NUK1 Fundamentals of Database Systems Chapter 1 Database and Database Users.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2011 Pearson Education, Inc. Publishing as Pearson.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
ISC321 Database Systems I Chapter 1: Introduction to Databases Fall 2015 Dr. Abdullah Almutairi.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
Computer Science Centre University of Indonesia Chapter 1 Database & Database Users.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Slide Chapter 1 Introduction: Databases and Database Users.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Chapter 1 Databases and Database Users. Overview Traditional database applications Store textual or numeric information Multimedia databases Store images,
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
1 Chapter (1) Basic Concepts Objectives Introducing the concept of database system Some examples Advantages of using DBMS Implication of the DB approach.
10/3/2017.
Chapter 1 Database and Database Users
Introduction: Databases and Database Users
Databases and Database Users
Databases and Database Users
Introduction: Databases and Database Users
Outline Types of Databases and Database Applications Basic Definitions
Database and Database Users
Introduction: Databases and Database Users
7/4/2018.
9/22/2018.
11/14/2018.
1/2/2019.
Chapter 1 Outline Types of Databases and Database Applications
Presentation transcript:

Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas

Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS approach

Database Examples Database is involved like everywhere in our world For example: If we go to bank to deposit or withdraw Make hotel and airline reservation Purchase something on line Buy groceries in supermarkets

Database Applications These examples are what we called traditional database applications (First part of book focuses on traditional applications) More Recent Applications: Youtube iTunes Geographic Information Systems (GIS) Data Warehouses Many other applications

Database can be any size and complexity For example: A list of names and address IRS (assume it has 100 million taxpayers and each taxpayer file 5 forms with 400 characters of information per form=800Gbyte) Amazon.com (15 million people visit per day; about 100 people are responsible for database update)

Database System Database: A collection of related data. Data: Known facts that can be recorded and have an implicit meaning. Database Management System (DBMS): A software package/system to facilitate the Define, Construct, Manipulate and Share functions of a computerized database.

Typical DBMS Functionality Define a particular database in terms of its data types, structures, and constraints Construct or Load the initial database contents on a secondary storage medium Manipulate the database: Retrieval: Querying, generating reports Modification: Insertions, deletions and updates to its content Accessing the database through Web applications Share a database allows multiple users and programs to access the database simultaneously

Database System Database System: DBMS + Database

Simplified database system environment

Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS approach

An UNIVERSITY example A UNIVERSITY database for maintaining information concerning students, courses, and grades in a university environment We have: STUDENT file stores data on each student COURSE file stores data on each course SECTION file stores data on each section of each course GRADE_REPORT file stores the grades that students receive PREREQUISITE file stores the prerequisites

Example of a simple database

Database manipulation Database manipulation involves querying and updating Examples of querying are: Retrieve a transcript List the prerequisites of the “Database” course Examples of updating are: Enter a grade of “A” for “Smith” in “Database” course

Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS approach

Database V.S. File In the database approach, a single repository of data is maintained that is defined once then accessed by various users The major differences between DB and File are: 1. Self-describing of a DB 2. Insulation between programs and data 3. Support of multiple views of the data 4. Sharing of data and multiuser transaction processing

Self-describing nature of a database system Database system contains not only the database itself but also a complete definition of the database structure and constrains The information stored in the catalog is called Meta-data (data about data), and it describes the structure of the primary database.

Example of a simplified Meta-data

Insulation between programs and data In file processing, if any changes to the structure of a file may require changing all programs that access the file In database system, the structure of data files is stored in the DBMS catalog separately from the access program This is called program-data independence

Support of multiple views of the data Each user may see a different view of the database, which describes only the data of interest to that user It may also contain some virtual data that is derived from the database files but its not explicitly stored

Sharing of data and multi-user transaction processing Allowing a set of concurrent users to retrieve from and to update the database. Concurrency control within the DBMS guarantees that each transaction is correctly executed or aborted For example, when several reservation clerks try to assign a seat on an airplane flight (these types of applications are generally called online transaction processing (OLTP))

Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS approach

Database Users Database administrators: Responsible for authorizing access to the database, for coordinating and monitoring its use, acquiring software and hardware resources, controlling its use and monitoring efficiency of operations. Database Designers: Responsible to define the content, the structure, the constraints, and functions or transactions against the database. They must communicate with the end-users and understand their needs. End Users System Analysts

End Users Casual: access database occasionally by sophisticated query language when needed. (Manager) Naïve: they make up a large section of the end-user population. Learn only a few facilities that they may use repeatedly (bank clerk) Sophisticated: These include business analysts, scientists, engineers, others thoroughly familiar with the system capabilities. Stand-alone: maintain personal database by using well designed GUI (Turbotax users)

Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS approach

Controlling Redundancy Controlling Redundancy is one of most important feature to use DBMS The traditional file approach, each group independently keeps their own file. For example: accounting office keeps data on registration and billing info; whereas the registration office keeps track of registration, student courses and grades.

Controlling Redundancy This redundancy in storing the same data multiple times leads to several problems: 1. Logic update – we need to update several times 2. Storage space is wasted 3. The file that represent the same data may become inconsistent

Other Advantages of using the DBMS approach Restricting unauthorized access to data Providing Storage Structures (e.g. indexes) for efficient Query Processing Providing backup and recovery services

Other Advantages of using the DBMS approach Providing multiple interfaces to different classes of users Representing complex relationships among data.

When NOT to use DBMS? The overhead cost of using DBMS: High initial investment in hardware, software and training The cost of defining and processing data Overhead for security, concurrency control, recovery, and integrity functions

When NOT to use DBMS? Hence, it may be more desirable to use regular files under the following situations: Simple, well-defined database applications that are not expected to change Real-time requirements for some programs that may not be met due to DBMS overheads No multiple-user access to data