--What is a Database--1 What is a database What is a Database.

Slides:



Advertisements
Similar presentations
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Advertisements

Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users
Introduction to Database Review 1. What is a database  Basic Definitions  Database Management System (DBMS): A software package to facilitate the process.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
Database Management COP4540, SCS, FIU An Introduction to database system.
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.
Introduction to DBMS Purpose of Database Systems View of Data
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 1 - Introduction: Databases and Database Users - Outline Types of Databases and.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
1 Introduction to databases concepts CCIS – IS department Level 4.
Module Title? DBMS Introduction to Database Management System.
Database System Concepts and Architecture
Database and Database Users. Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS.
CSC271 Database Systems Lecture # 4.
Database System Concepts and Architecture
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
2. Database System Concepts and Architecture
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts COMP319: Introduction Course Structure Course Assessment Review: DBMS Structure Review: Terminology.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Database Design Chapter-1- Basic Concepts Reference:
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Chapter-2- Database System Concepts and Architecture Text Book : “Fundamentals of Database Systems” Additional References: Prof. Beat Signer Lecture notes.
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.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
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.
1 Chapter 1 Introduction to Databases Transparencies.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
Database Architecture Models and Design Ian Horrocks & Robert Stevens room: 2.75/2.91
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
DataBase System Concepts and Architecture
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
Databases Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
©Silberschatz, Korth and Sudarshan 1.1 Database System Concepts قواعد البيانات Data Base قواعد البيانات CCS 402 Mr. Nedal hayajneh E- mail
CHAPTER 1: INTRODUCTION Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Storage Management Database.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Introduction to DBMS Purpose of Database Systems View of Data
Databases (CS507) CHAPTER 2.
Databases and DBMSs Todd S. Bacastow January 2005.
Databases and Database Users
Outline Types of Databases and Database Applications Basic Definitions
Chapter 2 Database Environment.
Database and Database Users
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment.
Introduction to Database Systems
Data, Databases, and DBMSs
Introduction to DBMS Purpose of Database Systems View of Data
Database System Concepts and Architecture
Presentation transcript:

--What is a Database--1 What is a database What is a Database

--What is a Database--2 Basic Difinitions  Miniworld: Some part of the real world about which information is stored.  Data: Known facts about the miniworld  recorded  have an implicit meaning  Database (DB): A collection of related data elements  Database Management System (DBMS): A software package to facilitate the process of  Defining - specifying types, organization (schema)  Constructing - loading the data  Manipulating - querying the data  One DBMS, many DBs, many applications  Database system: A database and a DBMS

--What is a Database--3 A DBMS database application program user persistent storage database DBMS

--What is a Database--4 Pictorial Representation Users/Programs Application Programs/Queries Software to Process Queries/Programs Software to Access Stored Data DATABASE SYSTEM DBMS SOFTWARE Stored Database Definition (Meta-Data) Stored Database

--What is a Database--5 Functions of a DBMS  Provides persistent, shared storage  Objects live beyond program execution  Shared by multiple applications  DBMS reduces redundancy in Development and maintenance  Provides multiple interfaces  Query language, embedded query language, APIs, GUIs  Protects against  Software/hardware failure  Security breaches

--What is a Database--6 When not to use a DBMS  Main costs of using a DBMS  High initial investment  May need additional hardware  Overhead  Training  When a DBMS may be unnecessary  Application is simple, well-defined, and not expected to change  Stringent real-time requirements  (Write) access to data by multiple users is not needed

--What is a Database--7 Classes of DB users – Workers on the scene  Persons whose job involves daily use of a large database.  Database administrators (DBAs)  Responsible for managing the database system.  Database designers  End users  The people that use the database for querying, updating, generating reports  Interactive users: Use full DBMS capabilities directly via a DML.  Parametric (or naive) end users: They use pre-programmed canned transactions to interact continuously with the database. For example, bank tellers or reservation clerks.  Application programmers  Design and implement canned transactions for parametric users.

--What is a Database--8 DBA Duties  Chooses  storage structure and access strategy  performance-enhancing data structures  Acts as liaison with users  Security czar  Defines authorization checks and validation procedures  Responsible for  backups and recovery  monitoring performance and updates (to schema)

--What is a Database--9 Database Users – Workers Behind the Scene  People who design and develop the DBMS software  DBMS designers and implementers  Tool developers  Design and implement tools that facilitate the use of DBMS software. Tools include design tools, performance tools, special interfaces, etc.  Operators and maintenance personnel  Run and maintain the hardware and software environment for the database system.

--What is a Database--10 Interfaces  Menu vs. form-based  GUI  Canned interfaces for parametric users  DBA  Application  Natural language  Web search engines  Shell

--What is a Database--11 Input (Using a Form)

--What is a Database--12 Sample of Input Form for a Lab Work

--What is a Database--13 Output (Using a Report) SIDName1’st2’nd3’rdTotal 8891Allen25%27%33%85% 8767Jones20%25%045% 2365Watson13% Cabeen15%20%17%52% Exam result for ID

--What is a Database--14 Sample Output Report for a Lab Work

--What is a Database--15 Data Models  A data model is a data definition language along with a data manipulation language.  Conceptual  Representational  Physical

--What is a Database--16 Data Models  A data definition language (DDL) describes database schemas.  Data relationships  Data semantics  Integrity constraints  Database schemas vs. instances  Similar to types and variables in programming languages  A data manipulation language (DML) is used for querying and updating database instances.

--What is a Database--17 Schema vs. Instance  Schema - Description of how data is organized and constrained.  Instance - The data in a database (conforms to a schema).  Snapshot - Database state at a particular point in time.  Initially empty  Database is populated or loaded, DBMS ensures every state is a valid state.  Schema evolution vs. data update

--What is a Database--18 Type of Data Models  Record-based conceptual models  (1960s) hierarchical model (e.g., IBM IMS)  (1970s) network model (e.g., CA-IDMS)  (1980s - current) relational model (e.g., Microsoft Access, Microsoft SQL Server, IBM DB2, Oracle8)  Object-based conceptual models  (late 1980s - current) entity-relationship model  §(late 1980s - current) object-oriented model  Text-based conceptual models  (late 1990s - current) XML

--What is a Database--19 ANSI Three-Schema Architecture  Supports DBMS characteristics of:  Program-data independence.  Support of multiple views of the data.  Defines DBMS schemas at three levels:  Physical How data is stored on disk Data storage structures Access paths to the data  Logical  External

--What is a Database--20 Schema and Mappings First NameLast NameSalaryStaffIDNameBirthdatestaff_nofnamelnamedobsalarybranch_no Struct STAFF { int staff_no; int branch_no; char fname [15]; char lname [15]; struct date dob; float salary; struct STAFF *next; }; index staff_no; index branch_no; external level physical level conceptual level

--What is a Database--21 Data Independence  Each level is “independent” in the sense that a completely different organization can be used.  Physical data independence - Physical level can change without having to change the logical level.  Logical data independence - Logical level can change without having to change the external level.

22 DBMS Achitecture DBMS DDL Statements Privileged Commands Interactive Query Precompiler Application Programs Application Programmers Host Language Compiler Canned Transactions DML Statements Query Compiler Query Execution Plan Run-time Evaluator Transaction and Data Manager Data Dictionary Data Files DDL Compiler DBA Staff Casual Users Parametric Users