Chapter 1 Introduction to Databases

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
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
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Database Management Systems (DBMS)
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 to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
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.
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 1 Introduction to Databases Pearson Education ©
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
CSC271 Database Systems Lecture # 4.
Introduction: Databases and Database Users
Introduction to Database Systems
Databases and Database Management Systems
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.
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.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
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.
DATABASE MANAGEMENT SYSTEM By: YAMINI TRIPATHI. INTRODUCTION Consists - Collection of interrelated data - Set of programs to access those data Definition.
Introduction to Databases
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.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
What is Database Administration ?
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Roles in the Database Environment
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
Data Base System Lecture 2: Introduction to Database
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases
INTRODUCTION TO Databases
Introduction to Databases Transparencies
Introduction to Databases
Presentation transcript:

Chapter 1 Introduction to Databases

Traditional File-Based Systems File-Based Approach: A collection of application programs that perform services for the end-users such as the production of reports. Each program defines and manages its own data.

Limitations of the File-Based Approach Separation and isolation of data When data is isolated in separate files, it is more difficult to access data that should be available. The application developer must synchronize the processing of two files to ensure the correct data is extracted. This difficulty is compounded if we require data from more than two files.

Limitations of the File-Based Approach Duplication of data the file-based approach encouraged, if not necessitated, the uncontrolled duplication of data. Duplication is wasteful. It costs time and money to enter the data more than once. It takes up additional storage space, again with associated costs. Perhaps more importantly, duplication can lead to loss of data integrity.

Limitations of the File-Based Approach Data dependence The physical structure and storage of the data files and records are defined in the application code. This means that changes to an existing structure are difficult to make.

Limitations of the File-Based Approach Incompatible file formats Because the structure of files is embedded in the application programs, the structures are dependent on the application programming language. For example, the structure of a file generated by a COBOL program may be different from the structure of a file generated by a ‘C’ program. The direct incompatibility of such files makes them difficult to process jointly.

Limitations of the File-Based Approach Fixed queries/proliferation of application programs file-based systems are very dependent upon the application developer, who has to write any queries or reports that are required. As a result, two things happened. the type of query or report that could be produced was fixed In other organizations, there was a proliferation of files and application programs.

Database Approach The Database A shared collection of logically related data, and a description of this data, designed to meet the information needs of an organization. The database is a single, possibly large repository of data that can be used simultaneously by many departments and users.

Database Approach The database is no longer owned by one department but is a shared corporate resource. The database holds not only the organization’s operational data but also a description of this data. database is also defined as a self-describing collection of integrated records. The description of the data is known as the system catalogue.

The Database Management System (DBMS) A software system that enables users to define, create, maintain, and control access to the database. It allows users to define the database, usually through a Data Definition Language (DDL). The DDL allows users to specify the data types and structures and the constraints on the data to be stored in the database.

The Database Management System (DBMS) It allows users to insert, update, delete, and retrieve data from the database, usually through a Data Manipulation Language (DML). Having a central repository for all data and data descriptions allows the DML to provide a general inquiry facility to this data, called a query language. The most common query language is the Structured Query Language (SQL).

The Database Management System (DBMS) a security system, which prevents authorized users accessing the database; an integrity system, which maintains the consistency of stored data; a concurrency control system, which allows shared access of the database; a recovery control system, which restores the database to a previous consistent state following a hardware or software failure; a user-accessible catalogue, which contains descriptions of the data in the database.

Components of the DBMS Environment Hardware The hardware can range from a single personal computer, to a single mainframe, to a network of computers. The particular hardware depends on the organization’s requirements and the DBMS used. Some DBMSs run only on particular hardware or operating systems, while others run on a wide variety of hardware and operating systems.

Components of the DBMS Environment Software The software component comprises the DBMS software itself and the application programs, together with the operating system, including network software if the DBMS is being used over a network. The target DBMS may have its own fourth-generation tools that allow rapid development of applications through the provision of non-procedural query languages, reports generators, forms generators, graphics generators, and application generators.

Components of the DBMS Environment Data The database contains both the operational data and the metadata, the ‘data about data’. The structure of the database is called the schema.

Components of the DBMS Environment Procedures Procedures refer to the instructions and rules that govern the design and use of the database. The users of the system and the staff that manage the database require documented procedures on how to use or run the system.

Components of the DBMS Environment log on to the DBMS. use a particular DBMS facility or application program. start and stop the DBMS. make backup copies of the database. handle hardware or software failures.

People Consist of Following Categories Data and Database Administrators Data and database administration are the roles generally associated with the management and control of a DBMS and its data.

Components of the DBMS Environment The Data Administrator (DA) is responsible for the management of the data resource including database planning, development and maintenance of standards, policies and procedures, and conceptual/logical database design. The Database Administrator (DBA) is responsible for the physical realization of the database, including physical database design and implementation, security and integrity control, maintenance of the operational system, and ensuring satisfactory performance of the applications for users.

Components of the DBMS Environment Database Designers There are two type of designers logical database designer is concerned with identifying the data, the relationships between the data, and the constraints on the data that is to be stored in the database.

Components of the DBMS Environment The physical database designer decides how the logical database design is to be physically realized. This involves: mapping the logical database design into a set of tables and integrity constraints; selecting specific storage structures and access methods for the data to achieve good performance; designing any security measures required on the data

Components of the DBMS Environment Application Developers the application developers work from a specification produced by systems analysts. Each program contains statements that request the DBMS to perform some operation on the database. This includes retrieving data, inserting, updating, and deleting data. The programs are written in Programming Languages

Components of the DBMS Environment End-Users The end-users are the ‘clients’ for the database. Naïve users are typically unaware of the DBMS. They access the database through specially written application programs that attempt to make the operations as simple as possible. Sophisticated users are familiar with the structure of the database and the facilities offered by the DBMS.

Advantages and Disadvantages 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

Advantages and Disadvantages of DBMSs Economy of scale Balance of conflicting requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services

Advantages and Disadvantages of DBMSs Complexity Size Cost of DBMSs Additional hardware costs Cost of conversion Performance Higher impact of a failure