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.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Database System Concepts and Architecture Dr. Ali Obaidi.
Mrs. Maninder Kaur Mrs. Maninder Kaur 1 Architecture of DBMS
Mrs. Maninder Kaur 1Maninder Kaur
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Introduction to Data bases concepts
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
Database System Concepts and Architecture
2. Database System Concepts and Architecture
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
 Three-Schema Architecture Three-Schema Architecture  Internal Level Internal Level  Conceptual Level Conceptual Level  External Level External Level.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture Presented & Modified.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
1 Database Design Chapter-2- Database System Concepts and Architecture Reference: Prof. Mona Mursi Lecture notes.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Copyright © 2011 Ramez Elmasri and Shamkant Navathe Chapter 2 Database System Concepts and Architecture.
CS-508 Databases and Data Mining By Dr. Noman Hasany.
Fundamental of Database Systems
Data Modeling Using the Entity- Relationship (ER) Model
Chapter (2) Database Systems Concepts and Architecture Objectives
Introduction to DBMS Purpose of Database Systems View of Data
- The most common types of data models.
Databases (CS507) CHAPTER 2.
Databases and DBMSs Todd S. Bacastow January 2005.
國立臺北科技大學 課程:資料庫系統 Chapter 2 Database Environment.
Database Systems: Design, Implementation, and Management Tenth Edition
CS4222 Principles of Database System
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Introduction to Databases
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Database Management.
Entity- Relationship (ER) Model
Chapter (2) Database Systems Concepts and Architecture Objectives
Datab ase Systems Week 1 by Zohaib Jan.
Outline Types of Databases and Database Applications Basic Definitions
Chapter 2 Database Environment.
Introduction to Database Management Systems
Chapter 2 Database System Concepts and Architecture
Databases and Database Management Systems Chapter 9
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
 DATAABSTRACTION  INSTANCES& SCHEMAS  DATA MODELS.
Introduction to Databases
Chapter 2 Database Environment.
Chapter 2: Database System Concepts and Architecture
Chapter 2 Database Environment Pearson Education © 2009.
The ANSI/SPARC Architecture aka the 3 Level Architecture
Chapter 2 Database Environment.
Data Base System Lecture : Database Environment
Data, Databases, and DBMSs
Database Systems Instructor Name: Lecture-3.
Introduction to DBMS Purpose of Database Systems View of Data
Lecture 1 File Systems and Databases.
Introduction to Databases
Chapter 2 Database Environment Pearson Education © 2014.
The ANSI/SPARC Architecture of a Database Environment
DATA MODELS.
Database System Concepts and Architecture
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Database Dr. Roueida Mohammed.
Presentation transcript:

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 have implicit meaning. For example, consider the names, telephone numbers, and addresses of the people you know. Define A database management system (DBMS)? A database management system (DBMS) is a collection of programs that enables users to create and maintain a database. The DBMS is a general-purpose software system that facilitates the processes of defining, constructing, manipulating, and sharing databases among various users and application.

A simplified database system environment.

Database System Concepts and Architecture 1-Data Models, Schemas, and Instances. Data abstraction: generally refers to the suppression of details of data organization and storage, and the highlighting of the essential features for an improved understanding of data. A data model—a collection of concepts that can be used to describe the structure of a database—provides the necessary means to achieve this abstraction. By structure of a database we mean the data types, relationships, and constraints that apply to the data. Most data models also include a set of basic operations for specifying retrievals and updates on the database.

Categories of Data Models 1-High-level or conceptual data models. provide concepts that are close to the way many users perceive data. 2-low-level or physical data models. provide concepts that describe the details of how data is stored on the computer storage media. 3- representational (or implementation) data models. which provide concepts that may be easily understood by end users but that are not too far removed from the way data is organized in computer storage. Representational data models hide many details of data storage on disk but can be implemented on a computer system directly.

Conceptual data models Conceptual data models use concepts such as entities, attributes, and relationships 1-An entity represents a real-world object or concept, such as an employee or a project from the miniworld that is described in the database. 2-An attribute represents some property of interest that further describes an entity, such as the employee’s name or salary. A relationship among two or more entities represents an association among the entities, for example, a works-on relationship between an employee and a project. Entity-Relationship model—a popular high-level conceptual data model.

Representational or implementation data models are the models used most frequently in traditional commercial DBMSs. 1- relational data model. 2- the network and hierarchical models..3- record-based data models Physical data models describe how data is stored as files in the computer by representing information such as record formats, record orderings, and access paths. Anaccess path is a structure that makes the search for particular database records efficient. An index is an example of an access path that allows direct access to data using an index term or a keyword.

Schemas, Instances, and Database State 1- The description of a database is called the database schema. 2- A displayed schema is called a schema diagram.

The Three-Schema Architecture 1- The internal level has an internal schema. 2- The conceptual level has a conceptual schema. 3- The external or view level. The internal level has an internal schema,which describes the physical storage structure of the database. The internal schema uses a physical data model and describes the complete details of data storage and access paths for the database. The conceptual level has a conceptual schema, which describes the structure of the whole database for a community of The conceptual schema hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraintsusers.

The Three-Schema Architecture The external or view level includes a number of external schemas or user views. Each external schema describes the part of the database that a particular user group is interested in and hides the rest of the database from that user group. Data Independence Data independence, which can be defined as the capacity to change the schema at one level of a database system without having to change the schema at the next higher level. We can define two types of data independence 1- Logical data independence 2- Physical data independence Physical data independence is the capacity to change the internal schema without having to change the conceptual schema.

Logical data independence is the capacity to change the conceptual schema without having to change external schemas or application programs.