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

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
Introduction to Databases Transparencies
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Introduction and Conceptual Modeling
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
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.
Module Title? DBMS Introduction to Database Management System.
Database System Concepts and Architecture
Introduction: Databases and Database Users
2. Database System Concepts and Architecture
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
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 1 Databases and Database Users.
DataBase System Concepts and Architecture
Chapter 2 Database Environment.
ISC321 Database Systems I Chapter 1: Introduction to Databases Fall 2015 Dr. Abdullah Almutairi.
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.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
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.
Chapter 1 Databases and Database Users. Overview Traditional database applications Store textual or numeric information Multimedia databases Store images,
What is a database? (a supplement, not a substitute for Chapter 1…) some slides copied/modified from text Collection of Data? Data vs. information Example:
Introduction to Databases Transparencies
Chapter 1 Database and Database Users
Databases and Database Users
Introduction to Databases Transparencies
Databases (CS507) CHAPTER 2.
Databases and Database Users
CS4222 Principles of Database System
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Databases and Database Users
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Database Management.
Chapter 2 Database Environment.
“ Database (DB) and Database Management System (DBMS) “
Database and Database Users
Chapter 2 Database System Concepts and Architecture
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Database System Concepts and Architecture
9/22/2018.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Introduction to Databases
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2: Database System Concepts and Architecture
Chapter 2 Database Environment Pearson Education © 2009.
Data Base System Lecture : Database Environment
Data, Databases, and DBMSs
Introduction to Databases
Database (DB) and Database Management System (DBMS)
Introduction to Databases
Introduction to Databases Transparencies
Chapter 2 Database Environment Pearson Education © 2014.
Database System Concepts and Architecture
Terms: Data: Database: Database Management System: INTRODUCTION
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

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

The course Introduction Theory and models of DBMS Data Dictionaries Database security Query Languages Database Administration Distributed Databases Data Warehousing Object – Oriented Databases

Learning Outcomes On completion, you should be able to demonstrate these learning outcomes Design and build appropriate systems for applications requiring a database solution. Expose the advantages and limitations of a number of query languages in terms of functionality, efficiency and the human computer interface Appreciate the task of managing a large database system and to be able to make judgments on the manner of organization of data. Discuss major database research areas evaluating new approaches against tried and tested techniques. Discuss the relative merits of the most popular database management systems for a variety of applications

Reading Essential Reading Database Systems Volume 1 C J Date Addison-Wesley Database Systems Concepts Korth and Silberschatz, McGraw Hill 1995 Indicative Reading Object-Oriented Databases J Hughes, Prentice-Hall 1991 Distributed Databases Ceri and Pelagatti, McGraw Hill 1996 Database Management (Concepts, Design and Practice) Ozsu Valduriez, Prentice-Hall 1994 Database Analysis and Design Hawryszikiewycz I T, Maxwell-MacMillan 1991

CRITERIA Pass criteria To be credited with a pass, students should show an understanding of database technology and demonstrate the ability to produce an effective database design/implementation and manage a database system. In addition they will need to evaluate trends in specific areas of research. Distinction criteria To be credited with a distinction, students should show mastery of the design, implementation and management of large scale database systems, demonstrating depth and maturity of knowledge. The student should be able to critically evaluate design methods and analyze the use of recent technological developments. The implication of maintaining database systems at corporate level should be understood, coupled with detailed assessments of the current situation at a professional level.

Course Assessment Coursework 50% Coursework consists of :  Individual Assignment: 20%  Group Assignment: 30% Written Examination 50% (3 hours)

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