Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 8. Data Management Layer Design

Size: px
Start display at page:

Download "Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 8. Data Management Layer Design"

Transcription

1 Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 8 Data Management Layer Design

2 Data Management Layer Focus on how to manage data are stored that can be handled by the programs that run the system, including: Data access. Manipulation logic.

3 Four Processes of Data Management Design Selecting the format of the storage. Mapping the problem-domain objects to the objectpersistence format. Optimizing the object-persistence format. Designing the data access and manipulation classes necessary to handle the communication between the system and the database.

4 Files, Database, and Database Management System Files are electronic lists of data that have been optimized to perform a particular transaction. A database is a collection of groupings of information, each of which is related to each other in some way (e.g., through common fields). Logical groupings of information could include such categories as customer data, information about an order, product information, and so on. A database management system (DBMS) is software that creates and manipulates these databases.

5 Type of Files (1) Master files: store core information that is important to the business and, more specifically, to the application, such as order information or customer mailing information. They usually are kept for long periods of time, and new records are appended to the end of the file as new orders or new customers are captured by the system. If changes need to be made to existing records, programs must be written to update the old information. Lookup files: contain static values, such as a list of valid zip codes or the names of cities. Typically, the list is used for validation. Transaction files: hold information that can be used to update a master file. The transaction file can be destroyed after changes are added, or the file may be saved in case the transactions need to be accessed again in the future.

6 Type of Files (2) Audit files: record before and after images of data as they are altered so that an audit can be performed if the integrity of the data is questioned. History files (or archive files): store past transactions (e.g., old customers, past orders) that are no longer needed by system users. Typically the file is stored off-line; yet it can be accessed on an as-needed basis.

7 Example of Order File

8 Example of Relational Database

9 Four Types of Object-Persistence Formats Files (sequential and random access). Relational databases. Object-relational databases. Object-oriented databases.

10 Sequential and Random Access Files (1) Most object-oriented programming languages support sequential and random access files as part of the language. Sequential access and random access files can be used to support master files, look-up files, transaction files, audit files, and history files. Sequential access files allow only sequential file operations to be performed (e.g., read, write, and search). Sequential access files are very efficient for sequential operations, such as report writing. However, for random operations, such as finding or updating a specific object, they are very inefficient.

11 Sequential and Random Access Files (2) There are 2 kinds of sequential access and random access files: An unordered sequential access file is basically an electronic list of information stored on disk and organized serially (i.e., the order of the file is the order in which the objects are written to the file). Typically, new objects simply are added to the file s end. Ordered sequential access files are placed into a specific sorted order (e.g., in ascending order by customer number).

12 Relational Database A relational database is based on collections of tables with each table having a primary key a field or fields whose values are unique for every row of the table. The tables are related to each other by placing the primary key from one table into the related table as a foreign key.

13 Object Relational Database Object-relational database management systems (ORDBMS) are relational database management systems with extensions to handle the storage of objects in the relational table structure. In pure RDBMSs, attributes are limited to simple or atomic data types, such as integers, floats, or chars. However, an attribute in a table could have a data type of map, which would support storing a map. This is an example of a complex data type.

14 Object-Oriented Database (1) With an object-oriented database management systems (OODBMS), collections of objects are associated with an extent. An extent is simply the set of instances associated with a particular class (i.e., it is the equivalent of a table in a RDBMS). Each instance of a class has a unique identifier assigned to it by the OODBMS: the Object ID. OODBMSs provide support for some form of inheritance, and the idea of repeating groups(fields) or multi-valued attributes. Object Data Management Group (ODMG) has completed the standardization process for defining (Object Definition Language, ODL), manipulating (Object Manipulating Language, OML), and querying (Object Query Language, OQL) objects in an OODBMS.

15 Object-Oriented Database (2) OODBMSs have mainly been used to support: Multimedia applications or systems that involve complex data (e.g., graphics, video, sound). Application areas, such as computer-aided design and manufacturing (CAD/CAM), financial services, geographic information systems, health care, telecommunications, and transportation. Electronic commerce, online catalogs, and large Web multimedia applications. Examples of pure OODBMSs include Gemstone, Jasmine, O2, Objectivity, Object-Store, POET, and Versant.

16 Selecting an Object-Persistence Format Each of the file and database storage formats has its strengths and weaknesses, and no one format is inherently better than the others are.

17 Mapping Problem-Domain Objects to an RDBMS Format (1)

18 Mapping Problem-Domain Objects to an RDBMS Format (2)

19 Mapping Problem-Domain Objects to an ORDBMS Format (1)

20 Mapping Problem- Domain Objects to an ORDBMS Format (2)

21 Mapping Problem-Domain Objects to an OODBMS Format (1) Rule 1a: OR Add a column(s) to the OODBMS class(es) that represents the subclass(es) that will contain an Object ID of the instance stored in the OODBMS class that represents the additional superclass(es). This is similar in concept to a foreign key in an RDBMS. The multiplicity of this new association from the subclass to the superclass should be Add a column(s) to the OODBMS class(es) that represents the superclass(es) that will contain an Object ID of the instance stored in the OODBMS class that represents the subclass(es). If the superclasses are concrete, that is, they can be instantiated themselves, then the multiplicity from the superclass to the subclass is 0..*, otherwise, it is Furthermore, an exclusive-or (XOR) constraint must be added between the associations. Do this for each additional superclass. Rule 1b: Flatten the inheritance hierarchy of the OODBMS classes by copying the attributes and methods of the additional OODBMS superclass(es) down to all of the OODBMS subclasses and remove the additional superclass from the design.

22 Mapping Problem- Domain Objects to an OODBMS Format (2)

23 Optimizing RDBMS- Based Object Storage

24 The Steps of Normalization

25 1 st Normal Form: Remove Repeating Fields (1)

26 1 st Normal Form: Remove Repeating Fields (2)

27 2 nd Normal Form: Remove Partial Dependencies (1)

28 2 nd Normal Form: Remove Partial Dependencies (2)

29 3 rd Normal Form

30 Denormalization (1) Denormalization reduces the number of joins that need to be performed in a query, thus speeding up access.

31 Denormalization (2)

32 Managing Problem- Domain Objects to RDBMS

33 Managing Problem- Domain Objects to ORDBMS

34 Example: Internet Sales System (1)

35 Example: Internet Sales System (2)

36 Example: Internet Sales System (3)

37 Example: Internet Sales System (4)

38

39 Exercise Build data management layer according to your group cases.

40

Chapter 11: Data Management Layer Design

Chapter 11: Data Management Layer Design Systems Analysis and Design With UML 2.0 An Object-Oriented Oriented Approach, Second Edition Chapter 11: Data Management Layer Design Alan Dennis, Barbara Wixom, and David Tegarden 2005 John Wiley & Sons,

More information

Information Systems Development COMM005 (CSM03) Autumn Semester 2009

Information Systems Development COMM005 (CSM03) Autumn Semester 2009 Information Systems Development COMM005 (CSM03) Autumn Semester 2009 Dr. Jonathan Y. Clark Email: j.y.clark@surrey.ac.uk Course Website: www.computing.surrey.ac.uk/courses/csm03/isdmain.htm Slide 1 Adapted

More information

Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their

Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their products. These companies are promoting a new, extended version

More information

Systems Analysis & Design

Systems Analysis & Design Systems Analysis & Design Dr. Arif Sari Email: arif@arifsari.net Course Website: www.arifsari.net/courses/ Slide 1 Adapted from slides 2005 John Wiley & Sons, Inc. Slide 2 Course Textbook: Systems Analysis

More information

Course Content. Object-Oriented Databases. Objectives of Lecture 6. CMPUT 391: Object Oriented Databases. Dr. Osmar R. Zaïane. University of Alberta 4

Course Content. Object-Oriented Databases. Objectives of Lecture 6. CMPUT 391: Object Oriented Databases. Dr. Osmar R. Zaïane. University of Alberta 4 Database Management Systems Fall 2001 CMPUT 391: Object Oriented Databases Dr. Osmar R. Zaïane University of Alberta Chapter 25 of Textbook Course Content Introduction Database Design Theory Query Processing

More information

Ch. 21: Object Oriented Databases

Ch. 21: Object Oriented Databases Ch. 21: Object Oriented Databases Learning Goals: * Learn about object data model * Learn about o.o. query languages, transactions Topics: * 21.1 * 21.2 * 21.3 * 21.4 * 21.5 Source: Ch#21, Bertino93, Kim

More information

ODBMS's and ORM Tools

ODBMS's and ORM Tools ODBMS's and ORM Tools Object Oriented Databases and Object Relational Mapping Tools in the Persistence Layer Pieter van Zyl Overview Discuss what ODBMS's and ORM Tools are Features Advantages Disadvantages

More information

Systems Analysis & Design

Systems Analysis & Design Systems Analysis & Design Dr. Ahmed Lawgali Ahmed.lawgali@uob.edu.ly Slide 1 Systems Analysis & Design Course Textbook: Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition

More information

CHAPTER 2 LITERATURE REVIEW

CHAPTER 2 LITERATURE REVIEW CHAPTER 2 LITERATURE REVIEW 2.0 OVERVIEW This literature review is initially done on OOP, RDBMS, OODBMS and ORDBMS in terms of their basic concept and capability. Later on, their inter-relationship, pros

More information

Chapter 13. Object-Oriented Databases (from E&N and my editing)

Chapter 13. Object-Oriented Databases (from E&N and my editing) Chapter 13 Object-Oriented Databases (from E&N and my editing) Introduction Traditional Data Models : Hierarchical, Network (since mid- 60 s), Relational (since 1970 and commercially since 1982) Object

More information

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs Object Oriented Database Chapter 13 1 Object DBMSs Underlying concepts: Freely sharing data across processing routines creates unacceptable data dependencies All software should be constructed out of standard,

More information

CPS510 Database System Design Primitive SYSTEM STRUCTURE

CPS510 Database System Design Primitive SYSTEM STRUCTURE CPS510 Database System Design Primitive SYSTEM STRUCTURE Naïve Users Application Programmers Sophisticated Users Database Administrator DBA Users Application Interfaces Application Programs Query Data

More information

Of Objects and Databases: A Decade of Turmoil Michael J. Carey, David J. DeWitt. Discussion by: Shervin Presentation by: Roland

Of Objects and Databases: A Decade of Turmoil Michael J. Carey, David J. DeWitt. Discussion by: Shervin Presentation by: Roland Of Objects and Databases: A Decade of Turmoil Michael J. Carey, David J. DeWitt Discussion by: Shervin Presentation by: Roland Background Michael J. Carey - DBMS performance improvements, EXODUS - OO DBMS

More information

Chapter 12 Object and Object Relational Databases

Chapter 12 Object and Object Relational Databases Chapter 12 Object and Object Relational Databases - Relational Data Model - Object data model (OODBs) - Object-relational data models Traditional data models -network - hierarchical - relational They lack

More information

8. Object Persistence

8. Object Persistence Software Development BSc Applied Computing 8. Object Persistence JP 15/12/2004 Contents INTRODUCTION... 2 OBJECT SERIALIZATION... 2 PERSISTENCE WITH DATABASES... 3 DATA MODELS... 4 FIRST GENERATION...

More information

ODMG 2.0: A Standard for Object Storage

ODMG 2.0: A Standard for Object Storage Page 1 of 5 ODMG 2.0: A Standard for Object Storage ODMG 2.0 builds on database, object and programming language standards to give developers portability and ease of use by Doug Barry Component Strategies

More information

Chapter 11 Object and Object- Relational Databases

Chapter 11 Object and Object- Relational Databases Chapter 11 Object and Object- Relational Databases Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Outline Overview of Object Database Concepts Object-Relational

More information

3. Object-Oriented Databases

3. Object-Oriented Databases 3. Object-Oriented Databases Weaknesses of Relational DBMSs Poor representation of 'real world' entities Poor support for integrity and business rules Homogenous data structure Limited operations Difficulty

More information

Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 6. Moving on to Design

Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 6. Moving on to Design Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 6 Moving on to Design Analysis versus Design The purpose of analysis is to figure out what the business needs are. To achieve this, the analysis activities

More information

The functions performed by a typical DBMS are the following:

The functions performed by a typical DBMS are the following: MODULE NAME: Database Management TOPIC: Introduction to Basic Database Concepts LECTURE 2 Functions of a DBMS The functions performed by a typical DBMS are the following: Data Definition The DBMS provides

More information

COURSE 11. Object-Oriented Databases Object Relational Databases

COURSE 11. Object-Oriented Databases Object Relational Databases COURSE 11 Object-Oriented Databases Object Relational Databases 1 The Need for a DBMS On one hand we have a tremendous increase in the amount of data applications have to handle, on the other hand we want

More information

Volume 5 Issue 3 (2017) ISSN International Journal of Advance Research and Innovation IJARI

Volume 5 Issue 3 (2017) ISSN International Journal of Advance Research and Innovation IJARI Software Professionals use Object Oriented data modeling instead of traditional relational data modeling Vijay Singh Department of Computer Science, KIT, Kanpur (UP) India Article Info: Article history:

More information

Systems:;-'./'--'.; r. Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington

Systems:;-'./'--'.; r. Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Data base 7\,T"] Systems:;-'./'--'.; r Modelsj Languages, Design, and Application Programming Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant

More information

Systems Analysis and Design in a Changing World, Fourth Edition. Chapter 12: Designing Databases

Systems Analysis and Design in a Changing World, Fourth Edition. Chapter 12: Designing Databases Systems Analysis and Design in a Changing World, Fourth Edition Chapter : Designing Databases Learning Objectives Describe the differences and similarities between relational and object-oriented database

More information

ORDBMS - Introduction

ORDBMS - Introduction ORDBMS - Introduction 1 Theme The need for extensions in Relational Data Model Classification of database systems Introduce extensions to the basic relational model Applications that would benefit from

More information

DATABASE TECHNOLOGY - 1DL124

DATABASE TECHNOLOGY - 1DL124 1 DATABASE TECHNOLOGY - 1DL124 Summer 2007 An introductury course on database systems http://user.it.uu.se/~udbl/dbt-sommar07/ alt. http://www.it.uu.se/edu/course/homepage/dbdesign/st07/ Kjell Orsborn

More information

Tutorial notes on. Object relational structural patterns

Tutorial notes on. Object relational structural patterns Tutorial notes on Object relational structural patterns Dr. C. Constantinides, P.Eng. Computer Science and Software Engineering Concordia University Page 1 of 14 Exercise 1. a) Briefly describe what is

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database Extensions to SQL ODMG Object Model and the Object Definition Language ODL Object Database Conceptual

More information

Part 3: Object-Oriented Database Management Systems

Part 3: Object-Oriented Database Management Systems OODBMS 1/61 Part 3: Object-Oriented Database Management Systems Thomas Neumann OODBMS 2/61 Literature R. Catell et al. The Object Data Standard: ODMG 3.0 Morgan Kaufmann, 2000 A. Kemper and G. Moerkotte.

More information

Data, Databases, and DBMSs

Data, Databases, and DBMSs Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)

More information

UNIT 1 INTRODUCTION TO OBJECT ORIENTED DATABASE MANAGEMENT SYSTEM

UNIT 1 INTRODUCTION TO OBJECT ORIENTED DATABASE MANAGEMENT SYSTEM UNIT 1 INTRODUCTION TO OBJECT ORIENTED DATABASE MANAGEMENT SYSTEM Introduction to Object Oriented Database Management System Structure 1.0 Introduction 1.1 Objectives 1.2 What are Next Generation Data

More information

FUNDAMENTALS OF. Database S wctpmc. Shamkant B. Navathe College of Computing Georgia Institute of Technology. Addison-Wesley

FUNDAMENTALS OF. Database S wctpmc. Shamkant B. Navathe College of Computing Georgia Institute of Technology. Addison-Wesley FUNDAMENTALS OF Database S wctpmc SIXTH EDITION Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant B. Navathe College of Computing Georgia Institute

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

CGS 3066: Spring 2017 SQL Reference

CGS 3066: Spring 2017 SQL Reference CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students

More information

Database Technology Introduction. Heiko Paulheim

Database Technology Introduction. Heiko Paulheim Database Technology Introduction Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager Introduction to the Relational Model

More information

Object Database Standards, Languages, and Design

Object Database Standards, Languages, and Design Object Database Standards, Languages, and Design Chapter 21 March 24, 2008 ADBS: OODB 1 Announcement HW 3: 10% Due 2 nd of June. Quiz 3 3% On Saturday May 11 Chapter 21 March 24, 2008 ADBS: OODB 2 Chapter

More information

Discovering Computers Chapter 10 Database Management

Discovering Computers Chapter 10 Database Management Discovering Computers 2008 Chapter 10 Database Management Chapter 10 Objectives Define the the term, database Differentiate between a file file processing system approach and the the database approach

More information

Adding Type into a Commercial Object-Oriented Relational Database TOR

Adding  Type into a Commercial Object-Oriented Relational Database TOR Adding Email Type into a Commercial Object-Oriented Relational Database TOR Hongfei Guo : guo@cs.wisc.edu Wanli Yang: ywl@cs.wisc.ecu Abstract One of the key object-relational features added to relational

More information

Transparent Java access to mediated database objects

Transparent Java access to mediated database objects Transparent Java access to mediated database objects Mattias Bendtsen & Mats Björknert Thesis for the Degree of Master of Science Majoring in Computer Science, 10 credit points Spring 2001 Department of

More information

Author's Prepublication Version

Author's Prepublication Version OBJECT DATA MODELS Susan D. Urban Arizona State University http://www.public.asu.edu/~surban Suzanne W. Dietrich Arizona State University http://www.public.asu.edu/~dietrich SYNONYMS ODB (Object Database),

More information

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON.

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON. Fundamentals of Database Systems 5th Edition Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant B. Navathe College of Computing Georgia Institute

More information

Handout 6 CS-605 Spring 18 Page 1 of 7. Handout 6. Physical Database Modeling

Handout 6 CS-605 Spring 18 Page 1 of 7. Handout 6. Physical Database Modeling Handout 6 CS-605 Spring 18 Page 1 of 7 Handout 6 Physical Database Modeling Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Managing the Data Effectively Using Object Relational Data Store

Managing the Data Effectively Using Object Relational Data Store Asian Journal of Engineering and Applied Technology ISSN:2249-068X Vol.6 No.2, 2017, pp.9-13 @The Research Publication, www.trp.org.in Managing the Data Effectively Using Object Relational Data Store T.

More information

CS511 Design of Database Management Systems

CS511 Design of Database Management Systems Announcements CS511 Design of Database Management Systems HW incremental release starting last Sun. Class will reschedule next week: time: Wednesday Tuesday 5pm, place: 1310 DCL Lecture 05: Object Relational

More information

Concepts for Object-Oriented Databases

Concepts for Object-Oriented Databases Concepts for Object-Oriented Databases Chapter 20 March 24, 2008 ADBS: OODB 1 Chapter Outline Overview of O-O Concepts O-O Identity, Object Structure and Type Constructors Encapsulation of Operations,

More information

Basant Group of Institution

Basant Group of Institution Basant Group of Institution Visual Basic 6.0 Objective Question Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of

More information

Mahathma Gandhi University

Mahathma Gandhi University Mahathma Gandhi University BSc Computer science III Semester BCS 303 OBJECTIVE TYPE QUESTIONS Choose the correct or best alternative in the following: Q.1 In the relational modes, cardinality is termed

More information

Introduction. Who wants to study databases?

Introduction. Who wants to study databases? Introduction Example databases Overview of concepts Why use database systems Who wants to study databases? What is the use of all the courses I have taken so far? This course shows very concrete how CS

More information

ITCS Jing Yang 2010 Fall. Class 16: Object and Object- Relational Databases (ch.11) References

ITCS Jing Yang 2010 Fall. Class 16: Object and Object- Relational Databases (ch.11) References ITCS 3160 Jing Yang 2010 Fall Class 16: Object and Object- Relational Databases (ch.11) Slides come from: References Michael Grossniklaus, Moira Norrie (ETH Zürich): Object Oriented Databases (Version

More information

Introduction To Computers

Introduction To Computers Introduction To Computers Chapter No 7 Introduction To Databases Overview Introduction to database To make use of information, you have to be able to find the information Data files and databases are no

More information

The Relational Model. Chapter 3

The Relational Model. Chapter 3 The Relational Model Chapter 3 Why Study the Relational Model? Most widely used model. Systems: IBM DB2, Informix, Microsoft (Access and SQL Server), Oracle, Sybase, MySQL, etc. Legacy systems in older

More information

CSE 530A. Inheritance and Partitioning. Washington University Fall 2013

CSE 530A. Inheritance and Partitioning. Washington University Fall 2013 CSE 530A Inheritance and Partitioning Washington University Fall 2013 Inheritance PostgreSQL provides table inheritance SQL defines type inheritance, PostgreSQL's table inheritance is different A table

More information

Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection

Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection 1 Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection 2 RDBMSs offer Data protection ❽ Recovery ❽ Concurrency ❽ Security 3 Data protection ❽ Recovery from ❽

More information

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on Introduction DBMS 1957 A database can be defined as a set of Master files, organized & administered in a flexible way, so that the files in the database can be easily adapted to new unforeseen tasks! Relation

More information

Fundarnentals of. Sharnkant B. Navathe College of Computing Georgia Institute of Technology

Fundarnentals of. Sharnkant B. Navathe College of Computing Georgia Institute of Technology Fundarnentals of n I 5th Edition Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Sharnkant B. Navathe College of Computing Georgia Institute of Technology

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

Chapter 21 9/4/2012. Object Database Standards, Languages, and Design. Chapter 21Outline. Chapter Objectives. ODMG Objects and Literals

Chapter 21 9/4/2012. Object Database Standards, Languages, and Design. Chapter 21Outline. Chapter Objectives. ODMG Objects and Literals Chapter 21 Object Database Standards, Languages, and Design Copyright 2004 Pearson Education, Inc. Chapter 21Outline 21.1 Overview of the Object Model ODMG 21.2 The Object Definition Language DDL 21.3

More information

The Relational Model. Chapter 3. Database Management Systems, R. Ramakrishnan and J. Gehrke 1

The Relational Model. Chapter 3. Database Management Systems, R. Ramakrishnan and J. Gehrke 1 The Relational Model Chapter 3 Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc.

More information

Managing Data. When records in a file need to be accessed there are three ways of doing it;

Managing Data. When records in a file need to be accessed there are three ways of doing it; File Access Managing Data When records in a file need to be accessed there are three ways of doing it; a) Serial Access This means...start at the beginning of the file and access each record in turn until

More information

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems DATABASE MANAGEMENT SYSTEMS UNIT I Introduction to Database Systems Terminology Data = known facts that can be recorded Database (DB) = logically coherent collection of related data with some inherent

More information

CMPT 354 Database Systems I

CMPT 354 Database Systems I CMPT 354 Database Systems I Chapter 2 Entity Relationship Data Modeling Data models A data model is the specifications for designing data organization in a system. Specify database schema using a data

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 21 1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 21 1 Slide 21 1 Chapter 21 Object Database Standards, Languages, and Design Chapter 21Outline 1 Overview of the Object Model ODMG 2 The Object Definition Language DDL 3 The Object Query Language OQL 4 Overview

More information

MS-Access : Objective Questions (MCQs) Set 1

MS-Access : Objective Questions (MCQs) Set 1 1 MS-Access : Objective Questions (MCQs) Set 1 1. What Are The Different Views To Display A Table A) Datasheet View B) Design View C) Pivote Table & Pivot Chart View 2. Which Of The Following Creates A

More information

Introduction to Databases Object and Object-Relational Databases

Introduction to Databases Object and Object-Relational Databases Introduction to Databases Object and Object-Relational Databases Prof. Beat Signer Department of Computer Science Vrije Universiteit Brussel http://vub.academia.edu/beatsigner 2 December 2005 Impedance

More information

Disks & Files. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke

Disks & Files. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke Disks & Files Yanlei Diao UMass Amherst Slides Courtesy of R. Ramakrishnan and J. Gehrke DBMS Architecture Query Parser Query Rewriter Query Optimizer Query Executor Lock Manager for Concurrency Access

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 26 Enhanced Data Models: Introduction to Active, Temporal, Spatial, Multimedia, and Deductive Databases 26.1 Active Database Concepts and Triggers Database systems implement rules that specify

More information

The Object-Oriented Paradigm. Employee Application Object. The Reality of DBMS. Employee Database Table. From Database to Application.

The Object-Oriented Paradigm. Employee Application Object. The Reality of DBMS. Employee Database Table. From Database to Application. The Object-Oriented Paradigm CS422 Principles of Database Systems Object-Relational Mapping (ORM) Chengyu Sun California State University, Los Angeles The world consists of objects So we use object-oriented

More information

New Programming Paradigms

New Programming Paradigms New Programming Paradigms Lecturer: Pánovics János (google the name for further details) Requirements: For signature: classroom work and a 15-minute presentation Exam: written exam (mainly concepts and

More information

Constructs in Oracle

Constructs in Oracle 11. Object-Relational Constructs in Oracle 11-1 Part 11: Object-Relational References: Constructs in Oracle Jeffrey D. Ullman: Object-Relational Features of Oracle [http://infolab.stanford.edu/ ullman/fcdb/oracle/or-objects.html]

More information

MULTIMEDIA DATABASES OVERVIEW

MULTIMEDIA DATABASES OVERVIEW MULTIMEDIA DATABASES OVERVIEW Recent developments in information systems technologies have resulted in computerizing many applications in various business areas. Data has become a critical resource in

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dilbert.com/strips/comic/1995-10-11/ Lecture 5 More SQL and Intro to Stored Procedures September 24, 2017 Sam Siewert SQL Theory and Standards Completion of SQL in

More information

DATABASE MANAGEMENT SYSTEM COURSE CONTENT

DATABASE MANAGEMENT SYSTEM COURSE CONTENT 1 DATABASE MANAGEMENT SYSTEM COURSE CONTENT UNIT II DATABASE SYSTEM ARCHITECTURE 2 2.1 Schemas, Sub-schemas, and Instances 2.2 Three-level ANSI SPARC Database Architecture: Internal level, Conceptual Level,

More information

W5.L2. Week 5, Lecture 2

W5.L2. Week 5, Lecture 2 W5.L2 Week 5, Lecture 2 Part 1: ODMG and ODMG s s object model Part 2: Introduction to Object Definition Language (ODL) Part 3: Introduction to Object-Relational Database Management Systems (OR-DBMS) M.

More information

Introduction to Geographic Information Science. Updates. Last Lecture. Geography 4103 / Database Management

Introduction to Geographic Information Science. Updates. Last Lecture. Geography 4103 / Database Management Geography 4103 / 5103 Introduction to Geographic Information Science Database Management Updates Last Lecture We tried to explore the term spatial model by looking at definitions, taxonomies and examples

More information

1 ODBMS vs RDBMS 1. 3 Resources 16

1 ODBMS vs RDBMS 1. 3 Resources 16 Table of Contents Spis treści 1 ODBMS vs RDBMS 1 2 Object-Relational Model 3 2.1 Object Types.................................. 4 2.2 Using Objects.................................. 9 2.3 Inheritance...................................

More information

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education)

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education) List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education) Directorate of Distance Education Guru Jambeshwar University of Science & Technology, Hissar First

More information

File Organization. Serial: Records are accessed in the order in which they were stored.

File Organization. Serial: Records are accessed in the order in which they were stored. File Organization Types of Access Serial: Records are accessed in the order in which they were stored. Sequential: Records are accessed in descending or ascending key sequence. Storage Medium: Magnetic

More information

Chapter 11 Database Concepts

Chapter 11 Database Concepts Chapter 11 Database Concepts INTRODUCTION Database is collection of interrelated data and database system is basically a computer based record keeping system. It contains the information about one particular

More information

Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 9. Human Computer Interaction Design and Physical Architecture Layer Design

Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 9. Human Computer Interaction Design and Physical Architecture Layer Design Rekayasa Perangkat Lunak 2 (IN043): Pertemuan 9 Human Computer Interaction Design and Physical Architecture Layer Design Principes of User Interface Design Layout The areas and information within areas

More information

Comparing the performance of object and object relational database systems on objects of varying complexity

Comparing the performance of object and object relational database systems on objects of varying complexity Comparing the performance of object and object relational database systems on objects of varying complexity Kalantari, R and Bryant, CH http://dx.doi.org/10.1007/978 3 642 25704 9_8 Title Authors Type

More information

Relational Model. Topics. Relational Model. Why Study the Relational Model? Linda Wu (CMPT )

Relational Model. Topics. Relational Model. Why Study the Relational Model? Linda Wu (CMPT ) Topics Relational Model Linda Wu Relational model SQL language Integrity constraints ER to relational Views (CMPT 354 2004-2) Chapter 3 CMPT 354 2004-2 2 Why Study the Relational Model? Most widely used

More information

Review -Chapter 4. Review -Chapter 5

Review -Chapter 4. Review -Chapter 5 Review -Chapter 4 Entity relationship (ER) model Steps for building a formal ERD Uses ER diagrams to represent conceptual database as viewed by the end user Three main components Entities Relationships

More information

Data Archiving Using Enhanced MAID

Data Archiving Using Enhanced MAID Data Archiving Using Enhanced MAID Aloke Guha COPAN Systems Inc. aloke.guha@copansys.com Abstract * This paper discusses archive data and its specific attributes, as well as the requirements for storing,

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer DBMS

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer DBMS About the Tutorial Database Management System or DBMS in short refers to the technology of storing and retrieving users data with utmost efficiency along with appropriate security measures. DBMS allows

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Solved MCQ on fundamental of DBMS. Set-1

Solved MCQ on fundamental of DBMS. Set-1 Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field

More information

Using Relational Databases for Digital Research

Using Relational Databases for Digital Research Using Relational Databases for Digital Research Definition (using a) relational database is a way of recording information in a structure that maximizes efficiency by separating information into different

More information

DC62 Database management system JUNE 2013

DC62 Database management system JUNE 2013 Q2 (a) Explain the differences between conceptual & external schema. Ans2 a. Page Number 24 of textbook. Q2 (b) Describe the four components of a database system. A database system is composed of four

More information

Computer Science & Engineering

Computer Science & Engineering Department of Computer Science & Engineering LAB MANUAL RELATIONAL DATA BASE MANAGEMENT SYSTEM-2 LAB B.Tech VI Semester KCT College OF ENGG AND TECH. VILLAGE FATEHGARH DISTT.SANGRUR INDEX S.No. Experiments

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1 Basic Concepts :- 1. What is Data? Data is a collection of facts from which conclusion may be drawn. In computer science, data is anything in a form suitable for use with a computer. Data is often distinguished

More information

Database Management Systems. Chapter 3 Part 2

Database Management Systems. Chapter 3 Part 2 Database Management Systems Chapter 3 Part 2 The Relational Model Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Logical DB Design: ER to Relational Entity sets to tables: CREATE TABLE

More information

Part I: Structured Data

Part I: Structured Data Inf1-DA 2011 2012 I: 24 / 117 Part I Structured Data Data Representation: I.1 The entity-relationship (ER) data model I.2 The relational model Data Manipulation: I.3 Relational algebra I.4 Tuple relational

More information

Notes on. Advanced Database management system (504) Mrinal Paul Department of Computer Science Assam University, Silcher

Notes on. Advanced Database management system (504) Mrinal Paul Department of Computer Science Assam University, Silcher 2015 Notes on Advanced Database management system (504) Mrinal Paul Department of Computer Science Assam University, Silcher UNIT-I Object-Oriented Database Management System: Object base database. The

More information

Object-Oriented DBMS and Beyond. Department of Computer Science, University of Zurich. fdittrich,geppertgi.unizh.ch

Object-Oriented DBMS and Beyond. Department of Computer Science, University of Zurich. fdittrich,geppertgi.unizh.ch Object-Oriented DBMS and Beyond Klaus R. Dittrich and Andreas Geppert Department of Computer Science, University of Zurich fdittrich,geppertgi.unizh.ch Abstract. Over the past 10+ years, object-oriented

More information

INFORMATION TECHNOLOGY NOTES

INFORMATION TECHNOLOGY NOTES Unit-6 SESSION 7: RESPOND TO A MEETING REQUEST Calendar software allows the user to respond to other users meeting requests. Open the email application to view the request. to respond, select Accept, Tentative,

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 6 Basic SQL Slide 6-2 Chapter 6 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries in SQL INSERT, DELETE, and UPDATE Statements in SQL Additional Features

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization.

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 7.5 逻辑数据库设计 OBJECTIVES How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 2 OBJECTIVES How to validate a logical data model

More information