Data Base System Lecture 2: Introduction to Database

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.
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.
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.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Module Title? DBMS Introduction to Database Management System.
Chapter 1 Introduction to Databases Pearson Education ©
Database System Concepts and Architecture
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.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Module 1: Database System
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
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.
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
Chapter 2 Database Environment.
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Connolly and Begg
Tahun : <<2005>> Versi : <<1/1>>
Introduction What is a Database?.
Introduction to Databases
Introduction to Databases
Introduction to Databases
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
Data Base System Lecture : Database Environment
Dr. Awad Khalil Computer Science Department AUC
Introduction to Databases
Introduction to Databases Transparencies
Lecture 1 File Systems and Databases.
Introduction to Databases
Introduction to Databases
Introduction to Databases
INTRODUCTION TO Databases
Introduction to Databases Transparencies
INTRODUCTION TO DATABASES
Chapter 2 Database Environment Pearson Education © 2014.
Dr. Awad Khalil Computer Science Department AUC
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases
Presentation transcript:

Data Base System Lecture 2: Introduction to Database By: Nur Uddin, Ph.D

General Definition Database is a collection of related data. Database management system (DBMS) is a software that manages and controls access to the database. Database application is simply a program that interacts with the database at some point in its execution. Database system as a collection of application programs that interact with the database along with the DBMS and the database itself.

Traditional File-Based Systems File-based system is 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. File-based system is largely obsolete.

Sales Department Form

Sales Department Files

Contracts Department Form

Contracts Department Files

File-Base Processing

Limitation of File-Base Approach Separation and isolation of data Duplication of data Data dependence (difficult to change the structure) Incompatible file formats (different software) Fixed queries/proliferation of application programs

Database Approach Limitations of the file-based approach can be attributed to two factors: The definition of the data is embedded in the application programs, rather than being stored separately and independently. There is no control over the access and manipulation of data beyond that imposed by the application programs. A new approach was required and what emerged were the database and the Database Management System (DBMS).

Database Database is a shared collection of logically related data and its description, 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. Instead of disconnected files with redundant data, all data items are integrated with a minimum amount of duplication. The database is no longer owned by one department but is a shared corporate resource.

Database The database holds not only the organization’s operational data, but also a description of this data. For this reason, a database is also defined as a self-describing collection of integrated records. The description of the data is known as the system catalog (or data dictionary or metadata—the “data about data”). It is the self-describing nature of a database that provides program–data independence.

Database Management System (DBMS) DBMS is a software system that enables users to define, create, maintain, and control access to the database. DBMS provides the following facilities: define a database through a Data Definition Language (DDL) insert, update, delete, and retrieve data from the database through a Data Manipulation Language (DML). The DML to provide a general inquiry facility to this data, called a query language and the most common is the Structured Query Language (SQL) SQL is the standard language for relational DBMSs.

Database Application Programs Database application program is a computer program that interacts with the database by issuing an appropriate request (typically an SQL statement) to the DBMS.

Database Processing

Components of the DBMS Environment

Components of the DBMS Environment 1. Hardware

Components of the DBMS Environment 2. 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. Typically, application programs are written in a third-generation programming language (3GL), such as C, C++, C#, Java, Visual Basic, COBOL, Fortran, Ada, or Pascal, or a fourth-generation language (4GL), such as SQL, embedded in a third-generation language.

Components of the DBMS Environment 3. Data Data is the most important component of the DBMS environment. 4. Procedure Procedures refer to the instructions and rules that govern the design and use of the database. 5. People The final component is the people involved with the system.

Database Design: The Paradigm Shift The structure of the database is determined during database design. File-based systems, where the work was driven by the application needs of individual departments. Database approach : the data first and the application second.

Roles in the Database environment Four distinct types of people in the DBMS environment: data and database administrators database designers application developers end-users.

Data and Database Administrators 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.

Database Designers Two types of database designer: Logical database designers Concerned with identifying the data, the relationships between the data, and the constraints on the data that is to be stored in the database. 2. Physical database designers 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.

History

History (Cont’d)