Introduction to Databases

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Introduction to Databases
Introduction to Databases
1 Pertemuan 01 Pengantar tentang database Matakuliah: >/ > Tahun: > Versi: >
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.
INTRODUCTION TO DATABASES
Chapter 1 Introduction to Databases
Introduction and Conceptual Modeling
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.
Introduction to Databases and Database Languages
Introduction to Database
Introduction Chapter 1. Reference Book  Database Systems Thomas Connolly, Carolyn Begg, Anne Strachan Addison-Wesley 1999 ISBN:
Fundamental of Database (FCT 1083) Chapter 1: Concept of Databases.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 1 Introduction to Databases Pearson Education ©
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.
8/27/2012ISC 329 Isabelle Bichindaritz1 File Systems Introduction to Databases.
Databases and Database Management Systems
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
Database Design Chapter-1- Basic Concepts Reference:
1 Chapter 1 Introduction to Databases Transparencies Last Updated: Pebruari 2010 By M. Arief Updated by RSO Feb 2011
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
Introduction to Databases
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Module 1: Database System
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
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.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
1 Lecture1 Introduction to Databases Systems Database 1.
What is Database Administration ?
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases Ashima wadhwa
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Connolly and Begg
Tahun : <<2005>> Versi : <<1/1>>
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Database Management System
Data Base System Lecture 2: Introduction to Database
Introduction to Databases
Introduction to Databases Transparencies
Database System Architecture
Lecture 1 File Systems and Databases.
Introduction to Databases
Introduction to Databases
INTRODUCTION TO Databases
Introduction to Databases Transparencies
INTRODUCTION TO DATABASES
Terms: Data: Database: Database Management System: INTRODUCTION
MIS CA – 40% Exam – 60% Lecture slides Assignment Test
Introduction to Databases
Presentation transcript:

Introduction to Databases Chapter 1 Introduction to Databases Pearson Education © 2009

Chapter 1 - Objectives Some common uses of database systems. Database Concepts. Characteristics of file-based systems. Problems with file-based approach. Meaning of the term database. Meaning of the term Database Management System (DBMS). Typical functions of a DBMS. Major components of the DBMS environment. Personnel involved in the DBMS environment. Advantages and disadvantages of DBMSs. Pearson Education © 2009

Examples of Database Applications Purchases from the supermarket Purchases using your credit card Booking a holiday at the travel agents Local Examples : Edugate and ERegister. KSU Library. Saudi Airlines Reservations. Pearson Education © 2009

Database Concepts Data is a meaningless static value. e.g. Ali, 3421… What does 3421 means? Information is the data you process in a manner that makes it meaningful. Information can be provided only if proper data exists. e.g. “Ali ID number is 0987”. A database (DB) is a collection of a logically related persistent data, designed to meet the information needs of an organization. Can be generated & maintained manually or automatically. Pearson Education © 2009

Database Concepts Database Management System (DBMS): A software system that facilitates the creation and maintenance of a database, i.e. implementing database application. (Database) application programs :a computer program that interacts with database by issuing an appropriate request (SQL statement) to the DBMS. Database System (DBS): is database and Software (DBMS + Application Program). Pearson Education © 2009

DBS Environment Users/Programmers DBS Application Program DBMS Query Process Data Access Meta-Data Database Pearson Education © 2009

File-Based Systems Collection of application programs that perform services for the end users (e.g. reports)where each program defines and manages its own data. Pearson Education © 2009

Limitations of File-Based Approach Separation and isolation of data Each program maintains its own set of data. Users of one program may be unaware of potentially useful data held by other programs. Duplication of data Same data is held by different programs. Wasted space and potentially different values and/or different formats for the same item. Pearson Education © 2009

Limitations of File-Based Approach Data dependence File structure is defined in the program code. Incompatible file formats Programs are written in different languages, and so cannot easily access each other’s files. Fixed Queries/Proliferation of application programs Programs are written to satisfy particular functions. Any new requirement needs a new program. Pearson Education © 2009

Database Approach Arose because (These limitations of the FBS approach attributed to two factors( : Definition of data was embedded in application programs, rather than being stored separately and independently. No control over access and manipulation of data beyond that imposed by application programs. Result: the database and Database Management System (DBMS). Pearson Education © 2009

Database Shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization. System catalog (metadata) provides description of data to enable program–data independence. Logically related data comprises entities, attributes, and relationships of an organization’s information. Pearson Education © 2009

Database Systems (DBS) DBS is a single large repository of data, defined once and managed using DBMS while used by many application programs DBS Data Entry & Reports User 1 (Sales) Sales Application Program DBMS Data Entry & Reports User 2 (HR) Database HR Application Program Pearson Education © 2009

Database Management System (DBMS) A software system that enables users to define, create, maintain, and control access to the database. DBMS facilitates the following: Create and Define a DB through Data Definition Language (DDL). Construct and Load a DB contents. Manipulate a DB -query & update the DB- through Data Manipulation Language (DML). Control access to data Some Relational DBMS vendors/products like : Access & SQL Server/MS , MySQL,Oracle ..etc Pearson Education © 2009

Components of DBMS Environment Hardware Can range from a PC to a network of computers. Software DBMS, operating system, network software (if necessary) and also the application programs. Pearson Education © 2009

Components of DBMS Environment Data Used by the organization and a description of this data Procedures Instructions and rules that should be applied to the design and use of the database and DBMS. People Pearson Education © 2009

Roles in the Database Environment System Analyst Sophisticated End User Communicate DBMS App Program DB User Requirement Procedure DBA Naïve End User Application programmer DB Designer H/W Design Manage Write Use

Roles in the Database Environment System Analyst: Determine the user requirements and develop the system specifications. Database Designer: Identify the data and choose the appropriate structure to represent and store the data. Application Programmer: Implement the application program based on the system specification. Database administrator (DBA): Administrates the DB, DBMS and related software. Pearson Education © 2009

Roles in the Database Environment Database End-users: They use the data for queries, reports and some of them update the database content (data). End-users can be categorized into: Naïve users: Invokes one of the permanent application programs that have been written previously. Sophisticated users: form requests in a database query language. Pearson Education © 2009

Advantages of DBMSs Control of data redundancy Data consistency More information from the same amount of data Sharing of data Improved data integrity Improved security Enforcement of standards Economy of scale Pearson Education © 2009

Advantages of DBMSs Balance conflicting requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services Pearson Education © 2009

Disadvantages of DBMSs Complexity Size Cost of DBMS Additional hardware costs Cost of conversion Performance Higher impact of a failure Pearson Education © 2009