1 Lecture1 Introduction to Databases Systems Database 1.

Slides:



Advertisements
Similar presentations
Chapter 1: The Database Environment
Advertisements

Introduction to Databases
The Database Environment
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Chapter 1: The Database Environment
Introduction to Databases
1 Pertemuan 01 Pengantar tentang database Matakuliah: >/ > Tahun: > Versi: >
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
Introduction to Databases
1 Minggu 1, Pertemuan 1 Introduction to Database Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
© 2007 by Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Chapter 1 Introduction to Databases
Introduction and Conceptual Modeling
Chapter 1: The Database Environment
Introduction to Databases
Introduction to Database Systems 1.  Assignments – 3 – 9%  Marked Lab – 5 – 10% + 2% (Bonus)  Marked Quiz – 3 – 6%  Mid term exams – 2 – (30%) 15%
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Fundamental of Database (FCT 1083) Chapter 1: Concept of Databases.
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
CSC2012 Database Technology & CSC2513 Database Systems.
Chapter 1: The Database Environment and Development Process
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 1 Introduction to Databases Pearson Education ©
Web-Enabled Decision Support Systems
Introduction: Databases and Database Users
Architecture for a Database System
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 9 th Edition Jeffrey A. Hoffer,
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
1 Chapter 1 Introduction to Databases Transparencies Last Updated: Pebruari 2010 By M. Arief Updated by RSO Feb 2011
Database System Introduction to Database Environment October 31, 2009 Software Park, Bangkok Thailand Pree Thiengburanathum College of Arts and Media Chiang.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden © 2007 by Prentice.
CS370 Spring 2007 CS 370 Database Systems Lecture 1 Overview of Database Systems.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
Introduction to Databases
MSIS 635 DATABASE MANAGEMNT Database Systems Thomas Connolly and Carolyn Begg Third Edition – 2002 – ©Addison Wesley.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
1 Chapter 1 Introduction to Databases Transparencies.
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Chapter 1 © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter 1: The Database Environment and Development Process Modern Database Management.
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Connolly and Begg
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases
Chapter 1: The Database Environment
Introduction to Databases
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
Chapter 1: The Database Environment
The Database Environment
Chapter 1: The Database Environment
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
The Database Environment
Introduction to Databases
Presentation transcript:

1 Lecture1 Introduction to Databases Systems Database 1

Book DATABASE SYSTEMS A practical Approach To Design, Implementation and Manipulation Fifth Edition Thomas Connolly Carolyn Begg 2

Course Objectives  Introduction to very basics  Guides through different design stages  Familiarize with tools  Emphasis on design stages of database 3

Course Objectives 4  Typical functions of a DBMS.  Ability to design, develop and implement a relational database for an application.  Understanding of relational Model.  Major components of the DBMS environment.  Personnel involved in the DBMS environment.  A basic understanding of SQL Language.

Lecture Objectives  Some common uses of database systems.  Characteristics of file-based systems.  Problems with file-based approach.  Meaning of the term database.  Meaning of the term Database Management System (DBMS).

Examples of Database Applications  Purchases from the supermarket  Purchases using your credit card  Booking a holiday at the travel agents  Using the local library  Renting a video  Using the Internet  Studying at university

Data, Information, Database and DBMS Data are facts. E.G Fatemh Al-Malic. Data are processed to create Information E.G Fatemh Al-Malic Grade Name : Fatemah Al-Malic Subject/ Grade : INFT2040 A CS2213 B 7

Figure 1-1a Data in Context Context helps users understand data

Graphical displays turn data into useful information that managers can use for decision making and interpretation

Definitions of Database and DBMS  Database is collection of related data and information  Database Management System (DBMS) is a software package that is used to create, access and maintain database.

Requirement of today’s Information System Store Large amount of data. Efficient(fast )access & manipulation of data. Concurrent access by Large number of users. Security. Reliability. Data Integrity. Transaction Processing. 11

File Processing System  A collection of application programs that perform services for the end-users such as production of reports  Each program defines and manages its own data  You can create file and store data. 12

Disadvantages of File Processing  Sequential Access  Not efficient for large data amount  Duplication of Data (Data Redundancy)  Different systems/programs have separate copies of the same data Same data is held by different programs. Wasted space and potentially different values and/or different formats for the same item.  Limited Data Sharing  No centralized control of data  Programs are written in different languages, and so cannot easily access each other’s files. Cannot span disks Files can not span multiple disks.

Disadvantages of File Processing  Vulnerable to Inconsistency  Change in one table need changes in corresponding tables as well otherwise data will be inconsistent 14

Problems with Data Redundancy  Waste of space to have duplicate data  Causes more maintenance headaches  The biggest problem:  When data changes in one file, could cause inconsistencies ( Vulnerable to Inconsistency )

SOLUTION: The DATABASE Approach  Central repository of shared data  Data is managed by a controlling agent  Stored in a standardized, convenient form This requires a Database and Database Management System (DBMS)

17 Advantages of Database Approach Registration Examination Library Applications Library Examination Applications Registration Applications Database Management System University Students Database - Data Sharing- Data Independence - Controlled Redundancy- Better Data Integrity

Database Management System DBMS manages data resources like an operating system manages hardware resources

DBMS Environment There are many different types of persons in developing, maintaining and using a database in an organization. End-Users : all users for which the system was developed(customers, employees). Application Developers: Develop program that access the database. Database Designer: Designing the database. Database Administrator (DBA): Create and maintain database and system. 19

Three Level Database Architecture DBMS

DBMS Architecture The Internal or Physical Level: Describes data structure, indexes etc. that deal with the storage of the data. And it provides a low-level description of the physical database, and an interface between the operating system's file system and the record structures used in higher levels of abstraction. At this level record types and methods of storage are defined, as well as how stored fields are represented.

DBMS Architecture The Conceptual Level: It presents a logical view of the entire database, which allows you to bring all the data in the database together and see it in a consistent manner. Provides an integrated conceptual view of all the data stored in the data base.

DBMS Architecture The External or View Level: It provides a window on the conceptual view which allows the user to see only the data of interest to them. application user The user can be either an application program or an end user. The different applications views different parts of the database. The System Administrator and the DBA are special cases. Because they have responsibilities for the design and maintenance for the design and maintenance of the database, they at times need to be able to see the entire database. The external and the conceptual view are functionally equivalent for these two users.

Database Design Process Requirements Analysis. Facts findings techniques(interview, research..etc) Conceptual Database Design. Using Entity- Relationship Model(ER) model Logical database Design. Using Relational database schema. Physical Database Design. Storages structures and access methods are considered for efficient access. 24