1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Lecture-7/ T. Nouf Almujally
IiWAS2002, Bandung, Indonesia Teaching and Learning Databases Dr. Stéphane Bressan National University of Singapore.
Introduction to Databases
ETEC 100 Information Technology
File Systems and Databases
Ch1: File Systems and Databases Hachim Haddouti
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
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Fall 2001Arthur Keller – CS 1801–1 Computer Science 180: Database Systems Arthur M. Keller (best way to reach me) Office: Baskin.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 1 An Overview of Database Management. 1-2 Topics in this Chapter What is a Database System? What is a Database? Why Database? Data Independence.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Chapter 1 Introduction to Databases
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
Introduction to Database
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
CSC2012 Database Technology & CSC2513 Database Systems.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Database Design - Lecture 1
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Module Title? DBMS Introduction to Database Management System.
Chapter 1 Databases Introduction The content 1).Database Application 2).Database concept 3).An example of database 4).Function of DBMS 5).DBMS product.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Web-Enabled Decision Support Systems
Fundamentals of Information Systems, Fifth Edition
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
8/27/2012ISC 329 Isabelle Bichindaritz1 File Systems Introduction to Databases.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
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.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Database Terminology Database Terminology. DATA: Data is a collection of raw facts and figures and is represented in alphabets, digits and special characters.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Data resource management
1 Chapter 1 Introduction to Databases Transparencies.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter-1- Basic Concepts Reference: Prof. Mona Mursi Lecture notes
ASET 1 Amity School of Engineering & Technology B. Tech. (CSE/IT), III Semester Database Management Systems Jitendra Rajpurohit.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Database Management Systems By Dinesha L Lecturer, Dept. Of CSE SSIT, Tumkur Chapter-1.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
1 Lecture1 Introduction to Databases Systems Database 1.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Fundamental of Database Systems
Introduction to DBMS Purpose of Database Systems View of Data
Introduction To DBMS.
Fundamentals & Ethics of Information Systems IS 201
Database Management System
Databases and Information Management
Introduction to Database Management System
Data base management system dbms
Databases and Information Management
Introduction to DBMS Purpose of Database Systems View of Data
Presentation transcript:

1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions of Database and DBMS  Components of Database System  Characteristics, Functions and Uses of DBMS  Limitations, Advantages and Disadvantages of DBMS  Three aspects to study in DBMS and its Marketplace  Preview : Database Design and Introduction to SQL

2 Lecture 31 Objectives of this Lecture  Understand the evolution of database and DBMS  Understand the limitations of file processing systems and how database management systems overcome these limitations.  Understand the term database.  Understand the definition and the concept of database management systems.  Understand the functions, uses and limitations of DBMS

3 Lecture 31 History and Evolution of Databases  Early computers were mainly used for scientific and engineering computation (number crunching).  However, it was soon understood that, computers could also be used to store and manipulate information. Thus, the business community where information handling is the main task, began to take interest in computers.  The first popular language for this kind of applications, COBOL (COmmon Business Oriented Language) was developed and it soon became one of the most popular languages, second only to FORTRAN.  In early processing systems, the information was stored as groups of records in separate flat files.  These file processing systems (FPS) consisted of a few data files and many application programs written in COBOL or FORTRAN  However, business processes are dynamic, requiring continuous changes in files and applications. Any slight change in the data would require a corresponding change in the COBOL programs that uses it.  The file processing system has the following limitations.

4 Lecture 31 File Processing System Application Program File Physical memory

5 Lecture 31 Limitations of FPS and Evolution of DBMS  No relationship between data in different files  Data Redundancy  Program – Data independence involving file formats and access techniques  Difficulty in representing the data from the user’s view  Data Inflexibility In order to overcome these limitation, a whole new area of Computer science called Database Applications (or simply Data Bases) evolved. DBMS overcomes limitations  Eliminates separation and isolation of data  Reduces Data Redundancy  Eliminates dependence between Program and Data  Allows for representation of data from the user’s view  Increases Data Flexibility

6 Lecture 31 Basic Terms in Database Systems  Entity: This is an object (abstract or concrete) about which information is being stored e.g., student, book, car, etc.  Field: This is an attribute of an entity. E.g., name, identification number, etc.  Record: This is a collection of related fields e.g. all the attribute of a student could constitute a record (ID number, name, major GPA, etc)  File: This is a collection of related records e.g., All records about books in a library. A file is usually arranged in a tabular form in which each row represent a record and each column represent a field.  A file organized in such a way that the records must be processed one by one from the beginning to end is called a sequential file.  In such a file, two records are separated by an inter-record gap. The end of the file is indicated by a special character called end-of-file (EOF) marker.  In contrast to sequential files, random access files (also called direct-access files) enable processing of a record without the review of other records. On the record fields is set as a key field or index.

7 Lecture 31 Definitions – Database and DBMS  Database: This is a collection of related files. For example, all the files that are used to store information in a library system.  Database Management System (DBMS): This is a program that allows users to define, manipulate, and process the data in a database in order to produce meaningful information  Three main components in a database system:  Physical database: This consists of the actual files comprising the database, usually arranged in some structured manner- to avoid duplication, redundancy and to ensure integrity of the data. The physical database is almost always on a disk, magnetic tape or CD-ROM  Database Management Systems (DBMS): These are programs that provide facilities for creating, accessing and maintaining the physical database. Examples of DBMD are dBASE, ACCESS & SQL Specifically, the DBMS must provide an efficient and convenient environment for users to create, add, retrieve and delete data.  Application Software: These are program written using the facilities provided by DBMS to allow access to the physical database (or a partition of it) In a user-friendly and user-specific manner.

8 Lecture 31 Components of Database Management System Application Program Operating System DBMS ENGINE File Physical memory File

9 Lecture 31 Database Schema  Database Schemas: This is a logical design of a database. It consists of a set of tables of the data types used, giving the names of entities and attributes and the relationship among them.  Schemas are classified as internal – when they correspond to physical database and external when they correspond to data in application programs.  The capability to change the internal schemas as needed without affecting the external schema is called data independence.  Schemas are generally written in a data definition language which generates the schema tables stored in a file called a data dictionary. The data dictionary is always accessed before any change to the physical data is made. The following figure illustrates some of these concept.

10 Lecture 31 Database Schema Secondary Storage Data Dictionary Data files Data Definition language Database Schema Users DBMS

11 Lecture 31 Characteristics, Functions and Uses of a DBMS Characteristics :  It is a computerized record-keeping system.  It contains facilities that allow the user to...  Add and delete files to the system.  Insert, retrieve, update, and delete data in existing files.  It is collection of databases.  A DBMS may contain many databases that can be used for separate purposes or combined to provide useful information. Functions :  To store data  To organize data  To control access to data  To protect data Uses :  To provide decision support Managers and analysts retrieve information generated by the DBMS for inquiry, analysis, and decision-making.  To provide transaction processing Users input, update, and process data with transactions that generate information needed by managers and other users or by other departments.

12 Lecture 31 Advantages and Disadvantages of a DBMS Advantages:  Centralized Data reduces management problems.  Data redundancy and consistency are controllable.  Program - data interdependency is diminished.  Flexibility of data is increased.  DBMS manages very large amounts of data.  DBMS Supports efficient access to very large amounts of data.  DBMS Supports concurrent access to very large amounts of data.  Example: bank and its ATM machines.  DBMS Supports secure, atomic access to very large amounts of data.  Contrast two people editing the same UNIX file --- last to write ``wins'' --- with the problem if two people deduct money from the same account via ATM machines at the same time --- new balance is wrong whichever writes last. Disadvantages:  Reduction in speed of data access time.  Requires special knowledge.  Possible dependency of application programs to specific DBMS versions.  Application Languages need specific interface (Drivers) to interact with DBMS

13 Lecture 31 Three Aspects in DBMS and its Marketplace Three Aspects to Study in DBMS: 1.Modeling and design of databases.  Allows exploration of issues before committing to an implementation. 2.Programming: queries and DB operations like update.  SQL = ``intergalactic dataspeak.'' 3.DBMS implementation. The DBMS Marketplace:  Relational DBMS companies --- Oracle, Informix, Sybase --- are among the largest software companies in the world.  IBM offers its relational DB2 system. With IMS, a non-relational system, IBM is by some accounts the largest DBMS vendor in the world.  Microsoft offers SQL­Server, plus Microsoft Access for the cheap DBMS on the desktop, answered by ``lite'' systems from other competitors.  Relational companies also challenged by ``object­oriented DB'' companies.  But countered with ``object­relational'' systems, which retain the relational core while allowing type extension as in OO systems.