1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.

Slides:



Advertisements
Similar presentations
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Advertisements

Introduction to Databases
Introduction to Databases
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Chapter 2 Database Environment.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
Chapter 2 Database Environment Pearson Education © 2014.
Introduction to Database Management System
Methodology Conceptual Database Design
Lecture Two Database Environment Based on Chapter Two of this book:
Modeling & Designing the Database
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
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
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Overview of the Database Development Process
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 2 CIS Sungchul Hong
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.
ITEC224 Database Programming
Database Environment Chapter 2 AIT632 Sungchul Hong.
Chapter 16 Methodology - Conceptual Database Design.
Methodology - Conceptual Database Design Transparencies
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Methodology Conceptual Databases Design
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
ITEC313 Database Programming
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
Conceptual Database Design
Methodology - Conceptual Database Design
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
Database Environment Session 2 Course Name: Database System Year : 2013.
1 Chapter 1 Introduction to Databases Transparencies.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Chapter 2 Database Environment.
1 Database Environment. 2 Objectives of Three-Level Architecture u All users should be able to access same data. u A user’s view is immune to changes.
1 Chapter 2 Database Environment Pearson Education © 2009.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
Introduction to Databases
Methodology Conceptual Databases Design
Database Management.
Chapter 2 Database Environment.
An Introduction to database system
Methodology Conceptual Database Design
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Database Environment Transparencies
Introduction to Databases
Methodology Conceptual Databases Design
Presentation transcript:

1 Introduction to Database Systems

2 Database and Database System / A database is a shared collection of logically related data designed to meet the information needs of an organization. / Components of a Database Systems 4Database 4Hardware 4Software - DBMS 4Users

3 Database / The data in the database will be expected to be both integrated and shared particularly on multi-user systems / Integration - The database may be thought of as a unification of several otherwise distinct files, with any redundancy among these files eliminated / Shared - individual pieces of data in the database may be shared among several different users

4 Hardware / These are secondary storage on which the database physically resides, together with the associated I/O devices, device controllers etc.

5 DBMS 2 Examples of DBMS Products l Oracle l Informix l Access l DB2 l Fox pro l dBase l SQL Server l My SQL

6 Typical Function of DBMS Data storage, retrieval and update A user-accessible catalog Transaction support Concurrency and control services Recovery services Authorization services Support of data communication Integrity Services Services to promote data independence Utility services

7 Users 2 Application Programmer - writes programs that use the database 2 Database Designers - designs conceptual and logical database 2 Database Administrator (DBA) 2 Data Administrator 2 End - user - interacts with the system from an on-line terminal by using Query Languages etc.

8 Data & Database Administration 2 Data Administrator – a business manager responsible for controlling the overall corporate data resources 2 Database Administrator (DBA) - a technical person responsible for development of the total system

9 Sample Applications  Student Records  Banking  Insurance  Billing Systems e.g. Electricity, Phone  ISPs  Personnel Records  Accounting Systems  Reservation Systems e.g. Airline, Hotel  Medical Records

10 Advantages  Control of data redundancy  Data consistency  Multipurpose use of data  Sharing of data,  Enforcement of standards  Economy of scale  Balance conflicting user requirement  Improved data accessibility and responsiveness  Increased productivity  Improved maintenance through data independence  Increased concurrency  Improved backup and recovery services.

11 Disadvantages  Complexity  Size  Cost of DBMS  Additional hardware costs  Cost of conversion

12 Database Architecture External Level – concerned with the way users perceive the database Conceptual Level – concerned with abstract representation of the database in its entirety Internal Level – concerned with the way data is actually stored

13 Architecture of Db System DBMS Application 2Application 1Application 3 Database Conceptual Level Internal Level External Level Logical Data Independence Physical Data Independence

14 Data Independence 2 Logical Data Independence – users and user programs are independent of logical structure of the database 2 Physical Data Independence – the separation of structural information about the data from the programs that manipulate and use the data i.e. the immunity of application programs to changes in the storage structure and access strategy

15 Data Independence 2 Different applications will need different views of the same data, so that if they are not interested in a part of the database, that part need not be included in their view. This feature is also important for controlling access to parts of database 2 The DBA must have the freedom to change the storage structure or access strategy in response to changing requirements, without having to modify the existing applications

16 Db Development Life Cycle  Database planning  System definition  Requirement collection and analysis  Database design  DBMS selection  Application design  Prototyping  Implementation  Data conversion and loading  Testing  Operational maintenance

17 Database Design l Conceptual database design - the process of constructing a model of the information used in an organization, independent of all physical considerations Step 1 Build local conceptual data model for each user view

18 Database Design l Logical database design for the relational model - the process of constructing a model of the info used in an organization based on a specific data model, but independent of a particular DBMS and other physical considerations Step 2 Build and validate local data model for each user view Step 3 Build and validate global logical data model

19 Database Design Physical database design for relational databases - the process of producing a description of the implementation of the database on secondary storage. Step 4 Translate global data model for target DBMS Step 5 Design physical representation Step 6 Design security mechanisms Step 7 Monitor and tune the operational system

20 Conceptual Database Design Step 1 Build local conceptual data model for each user view  Identify entity types  Identify relationship types  Identify and associate attributes with entity or relationship  Determine attributes domains  Determine candidate and primary key attributes  Specialize/generalize entity types (optional step)  Draw Entity-Relationship diagram  Review local conceptual data model with user

21 Logical Database Design for the Relational Model Step 2 Build and validate local data model for each user view  Map local conceptual data model to local logical data model  Derive relations from local logical data model  Validate model using normalization  Validate model against user transactions  Draw Entity-Relationship diagram  Define integrity constraints  Review local logical data model with user

22 Logical Database Design for the Relational Model Step 3 Build and validate global logical data model  Merge local logical data models into global model  Validate global data model  Check for future growth  Draw final Entity-Relationship diagram  Review global logical data model with users

23 Physical Database Design for Relational Databases Step 4 Translate global data model for target DBMS  Design base relations  Design enterprise constraints for target DBMS Step 5 Design physical representation  Analyze transactions  Choose file organizations  Choose secondary indexes  Consider the introduction of controlled redundancy  Estimate disk space requirements

24 Physical Database Design for Relational Databases Step 6 Design security mechanisms  Design user views  Design access rules Step 7 Monitor and tune the operational system