© InfoGem Introduction to Database l Database system is a computer based record keeping system. l It is a system whose overall purpose is to record and.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Lecture-7/ T. Nouf Almujally
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Chapter 2 Database Environment.
Introduction to Databases Transparencies
Mgt 20600: IT Management & Applications Databases
Chapter 2 Database Environment Pearson Education © 2014.
Introduction to Database Management System
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Database Management Infsy 540 Dr. R. Ocker.
Chapter 1 Introduction to Databases
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Design and Introduction to SQL
Introduction to DBMS Purpose of Database Systems View of Data
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Chapter 2 CIS Sungchul Hong
Web-Enabled Decision Support Systems
Database Environment Chapter 2 AIT632 Sungchul Hong.
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Introduction to Database Systems
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
311: Management Information Systems Database Systems Chapter 3.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Copyright © Curt Hill The Relational Model of Database Basic organization and terms.
Ch. 1 데이터베이스시스템 (2). Ch.1 Database System 데이터베이스시스템 2 What to Learn Database System Overview Entity-Relationship diagram Relational Data Model  Structure.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
 Three-Schema Architecture Three-Schema Architecture  Internal Level Internal Level  Conceptual Level Conceptual Level  External Level External Level.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
Introduction to database system What is a Database system? What is a Database system? Data System Components Data System ComponentsDataHardwareSoftwareUser.
Database Environment Session 2 Course Name: Database System Year : 2013.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Chapter 1 Introduction to Databases Transparencies.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Dr Gordon Russell, Napier University Unit Introduction 1 Introduction to CO22001 Unit 1.1.
Chapter 2 Database Environment.
1 Chapter 2 Database Environment Pearson Education © 2009.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
RELATIONAL DATABASE MANAGEMENT SYSTEM - I Subject code : BCA-12 and PGDCA 1.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Introduction to DBMS Purpose of Database Systems View of Data
Database Management.
Introduction To Database IT-402
Chapter 2 Database Environment.
Chapter 4 Relational Databases
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Database Management System
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 2 Database Environment Pearson Education © 2014.
Advanced Database System
Presentation transcript:

© InfoGem Introduction to Database l Database system is a computer based record keeping system. l It is a system whose overall purpose is to record and maintain information. The information concerned can be anything that is deemed important to the organization. l In another words, database is collection of stored operational data which can be used and shared by different applications and users of any enterprise. This enterprise could be scientific, commercail, educational, etc.

© InfoGem Why Database l Database system provides the enterprise with centralized control of its operational data, which is one of its most valuable assets. l This is totally oposite of the situation that is happening in many organizations today, where typically each application has its own private files and a lot of times its own private tapes and disk packs too. This makes the operational data widely dispered and difficult to control.

© InfoGem Advantage of centralized database l Redundancy can be reduced l Inconsistency can be avoided l Data can be shared l Standards can be enfored l Security restrictions can be applied l Integrity can be maintained l Conflicting requirements can be balanced

© InfoGem Data independence l Data indepencence is an objective in database development l Most present day applications are data dependent. This is the way in which the data is organized in secondary storage and is accessed. Both are dictated by the requirements of the application. This is undesirable because: »Different applications will need defferent view of the same data. »Data Base Adminstrator (DBA) must have the freedom to change the storage structure or access strategy or both in response to changing requirements without the necessity of modifying existing application.

© InfoGem Data independence l Data independence could be defined as that, applications concerned with data, not depend on storage structure or access strategy of data. l With data independence database is able to grow without affecting existing applications (another major reason).

© InfoGem ANSI database system architecture External Level... Conceptual Level Cmmunity user view External Level (Individual user view) Internal Level (phisical storage view

© InfoGem ANSI database system architecture External Level... Conceptual Level Cmmunity user view External Level (Individual user view) Internal Level (phisical storage view A1 A2 A3 An mapping External/conceptualmapping conceptual/internal Database Management System (DBMS) Data Dictionary Conceptual Schema External Schema External Schema Internal schema DBA

© InfoGem Database architecture-terms l Schema: defines a database and sub-schema defines a portion of the database. l Schema and mapping built and maintained by the database adminstrator. l Conceptual schema is known as data model l Internal level is concerned with the in which the data is actually stored. l Users are: »application programmers »ad hoc users »external users

© InfoGem Database architecture-terms l Each user communicates with the database via a language referred as data sub-language (DSL), which is the subset of the language concerned with the retrieval and storage of information in the database. l Mapping defines the correspondence between data models and external/internal schema. l DBMS is the software that handles all access to the database and also is responsible for applying the authorization checks and validation procedures. l DBMS is a bridge between users and data.

© InfoGem Data Base Adminstrator l DBA is responsible for supervising the overall DBS. l DBA’s responsibilities: »Deceiding the information content of the DBS »Decide about the storage structure and access strategy »Interface between users and DBS: –Insure the availability of data for users –Assist users for their inquiries –In cooperation with users set up the external schema »Define authorization check and validation procedures. »Define the strategy for back up and recovry process. »monitoring the performance and respond to changing requirements.

© InfoGem Data Dictionary l Data dictionary is the most important tool for DBA. l Data dictionary is a database on its own right. l It defines all data and their relationship, “ data anot data” or information about meta data.

© InfoGem Disadvantage of Database Systems l Database is more vulnerble to destruction thru: »machine malfunction »personal error »Deliberate human tampring l Cost: the cost of required hardware, DB development, and DB maintenance is high. l Complexity: Due to its complexity, the user should understand it well enough to use it effecienty and effectively.

© InfoGem Database models l Almost all of the database systems developed over the past two decades are relational. l Almost all of the database research is also based on relational related ideas. l Relational database is a system in which: »the data is perseived by the user as tables »the operators at user’s disposal are operators which generate a new table from old l We can categorize systems by the data structures and operators they present to the users.

© InfoGem Database Models - Product - Vendor l The four major data model categories are: »Relational DB2 IBMSQL/DS Ingress Relational Technology Oracle Oracle corp. Access Microsoft »Network DMS100 Unysis IDMS Cullinet »Heirarchical IMS IBM System 2000 Intel »Object oriented Postgress Relational Technology Starburst IBM Gemstone Orion

© InfoGem Relational Database l Relational database is a collection of tables l Formally a table is called a relation l Database is a structure that can hold information about tables, rows, and columns

© InfoGem Relational Database Relational Relational Traditional Model DBMS File System Relation Table File Tuple Row Record Attribute Column Field Primary Key (PK) Primary Key (PK) Search Key Relationship (FK) Relationship (FK) Not Used

© InfoGem Relational Database l Primary Key (PK): An attribute which can uniquely identify each record (tuple) of a relation (table). l Foreign Key (FK): An attribute which is a regular attribute in one table but a primary key in another table.

© InfoGem Example of a Relational Database SalesNO Name Rate City Dept# 10 James 10 Dallas A Black 15 Denver F Black 8 WashDC A211 Sale Primary Key (PK) Relation Name Tuple (record) Attribute

© InfoGem SalesNO Name Rate City Dept# 10 James 10 Dallas A Black 15 Denver F Black 8 WashDC A211 Sale CustID Name Balance City SaleNo 132 Black Dallas Tom Denver Tom (132.90)Dallas 10 Customer SalesNO is PK in Sales table Example of a Relational Database

© InfoGem SalesNO Name Rate City Dept# 10 James 10 Dallas A Black 15 Denver F Black 8 WashDC A211 Sale CustID Name Balance City SaleNo 132 Black Dallas Tom Denver Tom (132.90)Dallas 10 Customer SalesNO is PK in Sales table and FK in Customer table Example of a Relational Database

© InfoGem OrderLine ONO Oline# Part# Qty Part# EX DE DC810 ONO DATECustIDSalesNO /2/ /15/ /4/ Order CustID Name Balance City SaleNo 132 Black Dallas Tom Denver Tom (132.90) Dallas 10 Customer SalesNO Name Rate City Dept# 10 James 10 Dallas A Black 15 Denver F Black 8 WashDC A211 Sale Example: Order Entry Database