Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa 2007-2008.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Databases and Database Users
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
--What is a Database--1 What is a database What is a Database.
CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
Chapter 2 Database Environment.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Lecture Two Database Environment Based on Chapter Two of this book:
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Database System Concepts and Architecture Dr. Ali Obaidi.
Introduction and Conceptual Modeling
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
Chapter 2 Database System Concepts and Architecture
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 1 - Introduction: Databases and Database Users - Outline Types of Databases and.
CSE314 Database Systems Lecture 1 Databases and Database Users Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Module Title? DBMS Introduction to Database Management System.
Chapter 2 CIS Sungchul Hong
CSC271 Database Systems Lecture # 4.
Database System Concepts and Architecture
Introduction: Databases and Database Users
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
2. Database System Concepts and Architecture
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Chapter 1 Introduction to Databases Transparencies.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
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.
Chapter 2 Database Environment.
ISC321 Database Systems I Chapter 1: Introduction to Databases Fall 2015 Dr. Abdullah Almutairi.
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.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Computer Science Centre University of Indonesia Chapter 1 Database & Database Users.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Chapter 1 Databases and Database Users. Overview Traditional database applications Store textual or numeric information Multimedia databases Store images,
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
Databases and Database Users
Databases (CS507) CHAPTER 2.
CS4222 Principles of Database System
Database Management.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2: Database System Concepts and Architecture
Data, Databases, and DBMSs
Chapter 2 Database Environment Pearson Education © 2014.
Database System Concepts and Architecture
Terms: Data: Database: Database Management System: INTRODUCTION
Presentation transcript:

Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa Dr. Theodoros Mitakos

Database properties A database represents some aspect of the real world (the miniworld or the universe of discourse) Changes to the miniworld are reflected in the database A database is a logically coherent collection of data with some inherent meaning. A random assortment of data cannot correctly be referred to as database A database is defined, built, and populated with data for a specific purpose. It has an intended group of users and some preconceived applications in which these users are interested.

Database Management System 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 that facilitates the process of defining, constructing, manipulating and sharing databases among various users and applications.

Defining a database involves specifying the data types, structures and constraints for the data to be stored in the database Constructing the database is the process of storing the data itself on some storage medium that is controlled by the DBMS Manipulating the database includes such functions as querying the database o retrieve specific data, updating he database to reflect changes in the miniworld, and generating reports from the data Sharing a database allows multiple users and programs to access the database concurrently.

A DATABASE EXAMPLE STUDENTNAMESTUDENTNUMBERCLASSMAJOR SMITH171CS BROW N 82CS COURSE COURSENAMECOURSENUMBERCREDITHOURSDEPARTMENT INTRO TO COMPUTER SCIENCE CS13104CS DATA STRUCTURES CS33204CS DISCRETE MATHEMATICS MATH24103MATH DATABASE CS33803CS

DATABASE APPROACH VERSUS FILE PROCESSING Self-describing Nature of a database system Insulation between programs and data, and data abstraction Support of multiple views of the data Sharing of data and multiuser transaction processing

The database system contains not only the database itself but also a complete definition or description of the database structure and constraints. The structure of data files is stored in the DBMS catalog separately from the access programs. This property is called program-data independence. The implementation of the operations is specified separately and can change without affecting the interface (program- operation independence). Data Abstraction In traditional file processing, data definition is typically part of the application programs themselves. Any changes to the structure of the file may require changing all programs that access this file.

A database typically has many users, each of whom may require a different perspective or view of the database. A view may be a subset of the database or it may contain virtual data that is derived from the database file but is not explicitly stored. A multiuser DBMS, as its name implies, must allow multiple users to access the database at the same time. DBMS must include concurrency control software. (Online transaction processing – clerks). A transaction is an executing program or process that includes one or more database accesses such as reading or accessing database records.

Database Users Database Administrators Authorize access, coordinate and monitor the use acquire software and hardware resources. Database designers Identify the data to be stored, identify views End Users Casual users, Naive users, Sophisticated users, Stand-alone users System analysts, Application Programmers Determine requirements of end users, implement specifications as programs

Developers System designers and implementers Tool developers Operaors and maintenance personnel

Advantages of Using a DBMS Controlling Redundancy Restricting Unauthorized Access Providing Persistent Storage for Program Objects (Traditional database systems -impedance mismatch problem – data structures provided by the DBMS were incompatible with the programming language) Providing Storage Structures for Efficient Query Processing (indexes, query processing and optimization) Backup and Recovery Multiple User Interfaces (query languages, forms, menus, command codes, application interfaces, graphical user interfaces) Complex Relations among data Enforcing Integrity constraints Inferencing and Actions Using Rules (deduction rules for inferencing new information) Enforcing standards, reduced application development time, flexibility, up to date information, economies of scale

Brief History of database applications Hierarchical and Network systems (intermixing of conceptual relations with the physical storage) Relational Databases Object Oriented Applications Interchanging Data on the Web

New Applications Scientific Images Videos Data mining Spatial Time series Complex data structures New data types New operations and query languages New storage and indexing structures

When not to use a DBMS High initial investment in hardware, software, training, security The applications are simple and not expected to change Strict real time requirements Multiple-user access to data is not required.

Terminology Data model (a collection of concepts that can be used to describe the structure of the database-data types, relations, constraints + operations, behavior) High or conceptual level, low or physical data models (record formats, access paths), representational models (relational, network, hierarchical) Entity ( a real world concept) Attribute a property of interest Relationship among two or more entities is an association among the entities.

Database schema (intension) is called the description of the database Database state or snapshot (the data in the database a particular moment) Valid state (extention) (a state that satisfies the structure and constraints specified in the schema) Three-schema architecture  Internal level (describes the physical storage structure of the database-uses a physical data model)  Conceptual level (describes the structure of the whole database for a community of users, concentrates on describing entities, data types, relationships)  External or View level (includes a number of external schemas that describes the part of the database that a particular user group is interested)

Data independence Logical data independence (is the capacity to change the conceptual schema without having to change external schemas or application programs e.g. expand the database by adding a new data type) Physical data independence (is the capacity to change the internal schema without having to change the conceptual schema e.g. some files have to be reorganized)

Database Languages and Interfaces Data definition Language (DDL) is the language used to define conceptual and internal schemas. Storage definition language is the language used to define internal schemas. View definition language is used to specify user views and their mappings Data manipulation language (DML) is used to for data retrievals, insertions, deletions  High level or non procedural DML (used on its own) query language  Low level or procedural DML (embedded in a general purpose programming language – host language)

Menu-based interfaces for web clients or browsing Form-based interfaces Graphical user interfaces Natural language interfaces Interfaces for parametric users Interfaces for the DBA

Architectures for DBMS Centralized DBMS Architecture Basic Client/Server Architecture Two-tier client server Architecture Three-tier Client/server Architecture

Classification of DBMS According to the data model (relational, object oriented, network, hierarchical) According to number of users (Single user, Multiuser) According to the number of sites over which database is distributed (centralized, distributed) (homogeneous, heterogeneous) Cost Purpose