COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Database Architectures and the Web
Database Environment Pertemuan 02 Matakuliah: M0564 /Pengantar Sistem Basis Data Tahun : 2008.
Introduction to Databases
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
1 Pertemuan 02 Database environment Matakuliah: >/ > Tahun: > Versi: >
Chapter 2 Database Environment.
Introduction to Databases Transparencies
Chapter 2 Database Environment Pearson Education © 2014.
Lecture Two Database Environment Based on Chapter Two of this book:
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Database Architectures and the Web
Chapter 2 CIS Sungchul Hong
CSC271 Database Systems Lecture # 4.
Database Environment Chapter 2 AIT632 Sungchul Hong.
Simple Database.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
1 Client/Server Databases and the Oracle Relational Database.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
1 Pertemuan > > Matakuliah: >/ > Tahun: > Versi: >
Chapter 2 Database Environment Chuan Li 1 © Pearson Education Limited 1995, 2005.
Object storage and object interoperability
Chapter 2 Database Environment.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
12. Chapter 12: Designing Databases Systems Analysis and Design in a Changing World, Fourth Edition 12.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
Introduction to DBMS Purpose of Database Systems View of Data
Databases and DBMSs Todd S. Bacastow January 2005.
國立臺北科技大學 課程:資料庫系統 Chapter 2 Database Environment.
Business System Development
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Architecture & Data Models
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Database Management.
Database Architectures and the Web
Client/Server Databases and the Oracle 10g Relational Database
Chapter 2 Database Environment.
An Introduction to database system
Database System Concepts and Architecture
Database Management System
Introduction to Information Technology
Chapter 4 Relational Databases
Database Architectures and the Web
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Database Management System
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
Data, Databases, and DBMSs
MANAGING DATA RESOURCES
Database management concepts
Database.
Database Environment Transparencies
MANAGING DATA RESOURCES
Data Model.
Introduction to DBMS Purpose of Database Systems View of Data
Database management concepts
Data Models.
UNIT-I Introduction to Database Management Systems
Chapter 2 Database Environment Pearson Education © 2014.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Course Instructor: Supriya Gupta Asstt. Prof
Presentation transcript:

COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI Data Models COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI

Schemas and Instances • Similar to types and variables in programming languages • Schema – the logical structure of the database – Physical schema: database design at the physical level – Logical schema: database design at the logical level • Instance – the actual content of the database at a particular point in time

Database Schema • Is the description of a database • It is specified during the database design and is not expected to change frequently. • It is represented as a diagram called schema diagram. – A schema diagram displays the structure of each record type but not the actual instance of a record. • Each object in a schema is called a schema construct.

Database Instance • A Database state or instance is the data in the database at a particular moment of time. • Every update operation changes the database from one state to another.

Data models • Integrated collection of concepts for describing data, relationships between data, and constraints on the data in an organization • Data Model comprises: – A structural part – A manipulative part – Possibly a set of integrity rules • Purpose – To represent data in an understandable way

Types of Data models Hierarchical model Network model Relational model Object relational model Object oriented model

Data models 1- Hierarchical model: organizes data in a tree structure Parent child relationship 2- Network model:

Data models 3- Relational model: Each row is unique Each column has a unique name Column values must be of same kind 4- object relational model: complex objects such as time-series and geospatial data diverse binary media such as audio, video, images, and applets

Data models 5- Object oriented model: database functionality to object programming languages

Multi-user DBMS Architectures • Teleprocessing • File-Server • Client-Server

Teleprocessing • Traditional architecture • Single mainframe with a number of terminals attached • Trend is now towards downsizing

File server • File-Server is connected to several workstations across a network • Database resides on file-server • DBMS and applications run on each workstation • Disadvantages includes: – Significant network traffic – Copy of DBMS on each workstation – Concurrency, recovery and integrity control more complex

Client Server • Server holds the database and the DBMS • Client manages user interface and runs applications • Advantages include: – Wider access to existing database – Increased performance – Reduction in communication costs – Increased consistency

Keys • A key is a combination of one or more columns that is used to identify rows in a relation • A composite key is a key that consists of two or more columns • A super key is a combination of columns that uniquely identifies any row within a relational database management system (RDBMS) table.