Www.ddss.arch.tue.nl 7M822 UML Profile for Databases 11 November 2010.

Slides:



Advertisements
Similar presentations
Chapter 4 Database Processing. Agenda Purpose of Database Terminology Components of Database System Multi-user Processing Database Design Entity-relationship.
Advertisements

Chapter 10: Designing Databases
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
XML DOCUMENTS AND DATABASES
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
By RUPESH KUMAR.  Database? Types? Abstraction?  Database Models?  Database Integrity?  ACID?  RDBMS?  Normalization?  Data Warehouse?  Database.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Informatiesystemen in de Bouw 7M711 Joran Jessurun en Jos van Leeuwen Week 3.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Chapter 11 Data Management Layer Design
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Dr. Mohamed Osman Hegazi
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 5 Database Processing.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 11: Data Management Layer Design Alan Dennis, Barbara.
Database Lecture # 1 By Ubaid Ullah.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
Simple Database.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Database Organization and Design
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Relational Database Management Systems. A set of programs to manage one or more databases Provides means for: Accessing the data Inserting, updating and.
SQL Structured Query Language Programming Course.
10/17/2012ISC471/HCI571 Isabelle Bichindaritz 1 Technologies Databases.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Database Management Systems Introduction. In the Beginning… Customer Program 1.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Relational Database. Database Management System (DBMS)
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Data Driven Designs 99% of enterprise applications operate on database data or at least interface databases. Most common DBMS are Microsoft SQL Server,
Commercial RDBMSs Access and Oracle. Access DBMS Architchecture  Can be used as a standalone system on a single PC: -JET Engine -Microsoft Data Engine.
Database revision.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Dr. Mohamed Osman Hegazi
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Visual Programing SQL Overview Section 1.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
Database Management Systems.  Instructor: Yrd. Doç. Dr. Cengiz Örencik   Course material.
Chapter 3: Relational Databases
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
Chapter 3 The Relational Model. Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. “Legacy.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
SQL Basics Review Reviewing what we’ve learned so far…….
Introduction to Databases & SQL Ahmet Sacan. What you’ll need Firefox, SQLite plugin Mirdb and Targetscan databases.
Database management system (DBMS)
Chapter 12 Information Systems.
CS1222 Using Relational Databases and SQL
Database Management  .
RELATIONAL DATABASE MODEL
Database.
Unit – V Data Controls.
Presentation transcript:

7M822 UML Profile for Databases 11 November 2010

7M822 Database A database is a collection of data. Databases can be stored in one or more files, or can be managed by a software system called Database Management System (DBMS)

7M822 What makes a database Add Data Delete Data Change Data Lookup or search for data Organize Data

7M822 Key Terminology Table Column Record Field Primary Key Foreign Key Index

7M822 Database Example (1) NameAdresNumberCourseGrade JoranVRT m8227 JoranVRT m7018 JoranVRT m7116 JanVRT m8228 JanVRT m7017 Grades

7M822 Database Example (2) NameAdresNumber JoranVRT JanVRT NumberCourseGrade m m m m m7017 Student Grade

7M822 Types of databases Flat databases Indexed databases DBMS based databases

7M822 DBMS Services Schemas Consistency checks Guarantee of no data corruption after crash Concurrent access for multiple readers and writers. Backup and recovery Authentication and access control Support for Structured Query Language (SQL)

7M822 DBMS Flavors From relational To object oriented

7M822 DBMS Systems Oracle Sybase Microsoft SQL Server MySQL

7M822 Jet Database Engine Database Engine of MS-Access Contained in an *.MDB or *.ACCDB File Accessed trough ADO or DAO Allows multiuser access Enforces referential integrity checks

7M822 UML Profiles Way to customize UML diagrams for your own needs. Stereotypes Tagged value Constraints Graphical representation

7M822 UML Profile Example

7M822 UML Profile for Database Design Rational Software Corporation For designing databases Uses tagged parameters and stereotypes Only a subset will be explained

7M822 Database Diagram Elements Table Column Primary key Foreign key Identifying relationship Non-identifying relationship

7M822 Database Diagram Elements (2) Table (stereotype >) Not used Primary key (stereotype >) Foreign key (stereotype >) Primary/Foreign key (stereotype >) Non-identifying relationship Identifying relationship

7M822 Example 1

7M822 Mapping Logical Design To Database Design Synchronization Classes > Tables Attributes > Columns Associations > Relations Normalization There are more ways to do it

7M822 Mapping Classes To Tables Map persisted classes to tables Many to many associations must be broken down to one to many associations using an association table.

7M822 Mapping Subtype Classes to Tables One table per class One table per concrete class One table per hierarchy

7M822 Mapping Attributes to Columns Map persistent attributes Dont map calculated attributes Can use Generic Types first, later use database specific types. Generic Types: Boolean, Currency, Date, Double, Integer, Long, Single, String

7M822 Example 2

7M822 Example 3 – Logical Diagram

7M822 Example 3 – Database Diagram

7M822 Microsoft Access Create and fill tables Execute database queries Build on the Jet Engine Visual Basic for Applications Forms and Reports IDE

7M822 Database Desktop Example (1)

7M822 Database Desktop Example (2) 0..1