2 Conceptual Database Design 2.1 Requirement analysis 2.2 Modeling languages. Terminology. Requirements: Case study. Requirements
|
|
|
- Colleen Watkins
- 9 years ago
- Views:
Transcription
1 CREATE TABLE Studentin (SID INTEGER PRIMARY KEY, VName CHAR(20) Name CHAR(30) CREATE NOT NULL, TABLE Kurs Char(40)); (KID CHAR(10) PRIMARY KEY, Name CHAR(40) NOT NULL, Dauer INTEGER); 2 Conceptual 2.1 Requirement analysis 2.2 Modeling languages Overview Requirement Analysis (case study) Basic Modeling Primitives Modeling Languages: UML and Entity-Relationship Model (ERM) Conceptual DB design: basics From Requirements to Models Overview Lifecycle Requirement analysis Conceptual Logical Schema Physical Schema -> Text -> Conceptual Model -> schema -> Access paths CREATE TABLE Order ODate DATE soldby INTEGER FOREIGN KEY REFEREBCES Peronal(PID) CID INTEGER FOREIGN KEY REFERENCES (CID)); References: Kemper / Eickler chap 2, Elmasri / Navathe chap. 3 Garcia-Molina / Ullmann / Widom: chap. 2 Administration HS / DBS05-2-Conceptual 2 : UML / ER model, entity definition Table, index, view Information Build Overview Hand-in-hand design of DB and intended applications Conceptual Data Modeling Business Requirements Cross-checking Cross-checking Operational System Process Function Modeling Build Module (screen, report, menu, SQL applications) HS / DBS05-2-Conceptual 3 : Terminology Process of defining the overall structure of a database on Different layers of abstraction Conceptual, logical, physical level Includes "Analysis" and "" from SE DB Modeling: defining the "Static model" using formal or visual languages DB Requirements Conceptual modeling Logical modeling Physical modeling SE Requirements Analysis Implementation HS / DBS05-2-Conceptual Requirement Analysis Most important: communicate with your customers! Tasks during RA: Identify essential "real world" information (e.g. interviews) Remove redundant, unimportant details Clarify unclear natural language statements Fill remaining gaps in discussions Distinguish data and operations Requirement analysis & Conceptual aims at focusing thoughts and discussions! HS / DBS05-2-Conceptual 5 Requirements: Case study I m the owner of a medium size video store. We have over video tapes that we need to keep track of. Since a few month, we also have DVDs. Each of our video tapes has a tape number. For each movie, we need to know its and category (e.g. comedy, suspense, drama, action, or sci-fi). Yes, we do have multiple copies of many of our movies. We give each movie a specific id, and then track which movie a tape contains. A tape may be either Beta or VHS Format. We always have at least one tape for each movie we track, and each tape is always a copy of a single, specific movie. Our tapes are adapted to the movie lengths, so we don t have any movies which require multiple tapes. The movies are stored on shelf according to their category sorted by movie. We are frequently asked for movies starring specific actors John Wayne and Katherine Hepburn are always popular. So we d like to keep track of the star actors appearing in each movie... (cont. next page) HS / DBS05-2-Conceptual 6
2 Requirements: Case study (cont)... Not all of our movies have star actors. s like to know each actor s real birth name and age. We track only actors who appear in the movies in our inventory. We have lots of customers. We only rent videos to people who have joined our video club. To belong to our club, they must have good credit. For each club member, we d like to keep their first and last name, current phone numbers, and current address. And, of course each club member has a membership number. Then we need to keep track of what video tapes each customer currently has checked out. A customer may check out multiple video tapes at any given time. Rentals are for one or more days, each movie with an individual price per day. Furthermore we additionally charge 1 $ per beta format tape, 2 $ for a DVD and another $ for movies longer than 2 hours. Maximum rental time is 4 weeks. The customer gets a bill with movie s, individual prices and total amount, when he /she returns movies." HS / DBS05-2-Conceptual 7 Requirement Analysis First step: filter essential information vs unimportant details Essentials - There are customers, tapes, movies,... - A movies may have many copies, but a tape (or DVD) contains exactly one movie - s have a customer identification (id) - Four weeks maximal rental time... Unimportant details - "...DVDs since a few month" - "... John Wayne.." - Names of the categories (but categories are important!) - s on shelf (since we don't design a tape robot)... Note: what is important depends on the applications HS / DBS05-2-Conceptual 8 Requirement Analysis Clarify unclear statements Video club: admission / annual fee? Charge per tape: price for one day the minimum?... Fill gaps Any discounts? What happens after maximal rental time?... Distinguish data from operations Processing a bill Becoming a member of the club Basic modeling primitives Conceptual modeling Distinguish between types (classes) and individual facts (metadata vs data) The name of this woman is Kunz with first name Tamara. As opposed to: A person is identified by first name, last name and birth date. Describe reality on a type level Use a graphical language in order to get an overall impression of the domain modeled The language should use the "right primitives" HS / DBS05-2-Conceptual 9 This is an old problem of philosophy: how to describe the world in an appropriate, comprehensible way? HS / DBS05-2-Conceptual 10 Basic modeling primitives Modeling the "Real World" Entity (type) something which exists, has a name Attribute property of an entity Relationship connects two or more entities "Non sunt multiplicanda entia praeter necessitatem" William van Ockham, English philosopher, 13th century (Principle of Economy, Law of Parsimony) TID format Important terms TID format recorded_on HS / DBS05-2-Conceptual 11 Basic modeling primitives Attributes have values Example: Starring is John Wayne Values live on the database level, not in the schema! decision: attribute or entity? Example: color is an attribute for describing cars color is presumably an entity for the car manufacturer having attributes like tone, quality, supplier, chemical formula,.. HS / DBS05-2-Conceptual 12
3 2.2.2 Modeling notations and languages Entity-Relationship-Model data-oriented: static modeling of data 1976 introduced by P.P. Chen (Peter P. Chen: The Entity-Relationship Model - Toward a Unified View of Data. ACM TODS 1(1): 9-36, 1976, see Reader) Classical Graphical notation with squares, bullets and diamond Title LID hours Student attend Lecture Name FName Matr-Nr HS / DBS05-2-Conceptual 13 Graphical modeling languages Unified modeling language (UML) Modeling of data and operations Object oriented flavor e.g: each object (entity) has identity - a unique pointer ERM: entities having the same type and the same attribute values are indistinguishable Attributes may be constructed (lists, sets, arrays,) Relationships are directed (uni- or bidirectional) ERM: always bidirectional Student Matr-Nr Name FName { } register(lecture x) attend Lecture LID Title Hours assignroom(r r) Called association in UML, may be directed HS / DBS05-2-Conceptual 14 ERM and UML E-R modeling language and UML obviously related E-R language simpler More appropriate for modeling of data Object-oriented modeling by extended E-RM concepts (see below) semantic differences (see below) Drawing "attribute bullets"? Use UML notation for entities and attributes Use association notation of UML instead of diamonds Basically use UML notation with ERM semantics Entity What is an "entity"? particular instance (e.g. the movie "Jurassic Park") The type of an instance / all instances ("movie") sometimes: a set of instances (e.g. all movies of the rental shop) The context should clarify the meaning Sometimes explicitly: entity set / entity type Analog terminology for relationships HS / DBS05-2-Conceptual 15 HS / DBS05-2-Conceptual Entities & attributes entity name attribute list No methods Key attributes "Axiom" of ER and Relational DB: Two individual entities can always be distinguished by the values of some of its attribute(s), together called the key Key attributes are underlined {country} {} multivalued attribut example: first name for entity Person Key attributes together identify an entity. Frequently: just one attribute, e.g. matrnr HS / DBS05-2-Conceptual 17 Relationships Always have a name Do not have a direction May have attributes Do not have a key relates_to <attribute > Terminology: Relationships often called relations. Different from relations of RDM! HS / DBS05-2-Conceptual 18
4 Conceptual : Comparison with UML UML-Terminology Class = entity type (- Attribute = member) Object = entity Association = relationship NO keys Relationship may have a direction relates_to <attribute > HS / DBS05-2-Conceptual 19 Notation sometimes attributes are omitted Infrequent: order of relationship Role names rented_by renter roles rental object HS / DBS05-2-Conceptual 20 Recursive relationships Multiple relationships name first_name position salary <rel 1> <Entity > <Entity > <rel n> There may be no, one or many relationships between entity types Roles: particularly useful in recursive relations subordinate boss Person parent child has is_ Person performs_in Note: nothing said about representation (implementation) at this point HS / DBS05-2-Conceptual 21 HS / DBS05-2-Conceptual 22 Both example model hierarchical relationships Domains and types Attributes may be typed Representation of data not really relevant at this stage : VARCHAR /* variable character string? More important: domain Semantic category which characterizes attributes of the same kind : nameorsentence Domains not used frequently Type / domain assignment mostly done in a separate step From requirements to models Text to conceptual model The only step which cannot be automated Given: Requirements as "cleaned" text Wanted: conceptual database design Rough guideline: correspondance between entities and nouns For each movie, we... relationships and verbs... which movie a tape holds... attributes and adjectives or phrases like has a.., is...a...has a tape number. HS / DBS05-2-Conceptual 23 HS / DBS05-2-Conceptual 24
5 From requirements to models Some heuristics: entities If it cannot be uniquely identified, it usually isn t an entity video club If only one instance exists, it might not be an instance video store Find out synonyms (in this context) customer and club member Give a definition of the entity and eliminate synonyms a customer is a member of the club. Only customers may rent videos. is synonym to club member. From requirements to models Heuristics: attributes Find the attributes for each entity. Sometimes expressed by auxiliary verb: has a tape number Which one identifies an instance? In most cases not expressed explicitly but context knowledge : name, first_name, phone, address, membership# Decompose compound attributes (e.g. address location, street, zip) Check for multiple values Use lower case for attributes, uppercase for entities HS / DBS05-2-Conceptual 25 HS / DBS05-2-Conceptual 26 From requirements to models: case study I m the owner of a small video store. We have over video tapes that we need to keep track of. Since a few weeks, we also have DVDs. Each of our video tapes has a tape number. For each movie, we need to know its and category (e.g. comedy, suspense, drama, action, or sci-fi). Yes, we do have multiple copies of many of our movies. We give each movie a specific id, and then track which movie a tape contains. A tape may be either Beta or VHS Format. We always have at least one tape for each movie we track, and each tape is always a copy of a single, specific movie. Our tapes are adapted to the movie lengths, so we don t have any movies which require multiple tapes. The movies are stored on shelfs according to their category sorted by movie. We are frequently asked for movies starring specific actors John Wayne and Katherine Hepburn are always popular. So we d like to keep track of the star actors appearing in each movie. Not all of our movies have star actors. s like to know each actor s real birth name and age. We track only actors who appear in the movies HS / DBS05-2-Conceptual 27 in our inventory.... etc Conceptual : case study Format format: String extrach: Money has id: Number acqdate: Date From: DateTime Until: DateTime recorded_on name: String f_name: String mem_no: No {phone: PhoneNo} streetno: String zip: Zipcode City: String : String category: String price_day: Money : Name : Date length: Time starring Actor stagename: Name real_name: Name birth_date: Date HS / DBS05-2-Conceptual 28 Summary Conceptual modeling: the art of structuring the data of an application domain Base: careful requirement analysis Simple, powerful base constructs: entities, attributes, relationships Visual (graphical) language E-R modeling language and UML related E-R language simpler More appropriate for modeling of data many dialects Compatibility to UML makes sense Some differences, e.g. no keys in UML HS / DBS05-2-Conceptual 29
Requirement Analysis & Conceptual Database Design. Problem analysis Entity Relationship notation Integrity constraints Generalization
Requirement Analysis & Conceptual Database Design Problem analysis Entity Relationship notation Integrity constraints Generalization Introduction: Lifecycle Requirement analysis -> Text Conceptual Design
Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model
Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Outline Using High-Level Conceptual Data Models for
Logical Schema Design: The Relational Data Model
Logical Schema Design: The Relational Data Model Basics of the Relational Model From Conceptual to Logical Schema Logical Schema Design Select data model Hierarchical data model: hierarchies of record
Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys
Database Design Overview Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Conceptual design The Entity-Relationship (ER) Model, UML High-level, close to human thinking Semantic
THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)
THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E) 2 LECTURE OUTLINE Using High-Level, Conceptual Data Models for Database Design Entity-Relationship (ER) model Popular high-level conceptual
Databases and BigData
Eduardo Cunha de Almeida [email protected] Outline of the course Introduction Database Systems (E. Almeida) Distributed Hash Tables and P2P (C. Cassagnes) NewSQL (D. Kim and J. Meira) NoSQL (D. Kim)
Database Design Methodology
Database Design Methodology Three phases Database Design Methodology Logical database Physical database Constructing a model of the information used in an enterprise on a specific data model but independent
not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage
Database Design Process there are six stages in the design of a database: 1. requirement analysis 2. conceptual database design 3. choice of the DBMS 4. data model mapping 5. physical design 6. implementation
2. Conceptual Modeling using the Entity-Relationship Model
ECS-165A WQ 11 15 Contents 2. Conceptual Modeling using the Entity-Relationship Model Basic concepts: entities and entity types, attributes and keys, relationships and relationship types Entity-Relationship
IV. The (Extended) Entity-Relationship Model
IV. The (Extended) Entity-Relationship Model The Extended Entity-Relationship (EER) Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of EER Diagrams
Lecture 12: Entity Relationship Modelling
Lecture 12: Entity Relationship Modelling The Entity-Relationship Model Entities Relationships Attributes Constraining the instances Cardinalities Identifiers Generalization 2004-5 Steve Easterbrook. This
Relational Database Basics Review
Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on
7.1 The Information system
Chapter 7. Database Planning, Design and Administration Last few decades have seen proliferation of software applications, many requiring constant maintenance involving: correcting faults, implementing
Data Analysis 1. SET08104 Database Systems. Copyright @ Napier University
Data Analysis 1 SET08104 Database Systems Copyright @ Napier University Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship?
Entity-Relationship Model
UNIT -2 Entity-Relationship Model Introduction to ER Model ER model is represents real world situations using concepts, which are commonly used by people. It allows defining a representation of the real
COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model
COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model The entity-relationship (E-R) model is a a data model in which information stored
Entity/Relationship Modelling. Database Systems Lecture 4 Natasha Alechina
Entity/Relationship Modelling Database Systems Lecture 4 Natasha Alechina In This Lecture Entity/Relationship models Entities and Attributes Relationships Attributes E/R Diagrams For more information Connolly
Chapter 3. Data Modeling Using the Entity-Relationship (ER) Model
Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity
11 November 2015. www.isbe.tue.nl. www.isbe.tue.nl
UML Class Diagrams 11 November 2015 UML Class Diagrams The class diagram provides a static structure of all the classes that exist within the system. Classes are arranged in hierarchies sharing common
Unit 2.1. Data Analysis 1 - V2.0 1. Data Analysis 1. Dr Gordon Russell, Copyright @ Napier University
Data Analysis 1 Unit 2.1 Data Analysis 1 - V2.0 1 Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes,
Chapter 2: Entity-Relationship Model. Entity Sets. " Example: specific person, company, event, plant
Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R
The Relational Model. Why Study the Relational Model? Relational Database: Definitions
The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in
XV. The Entity-Relationship Model
XV. The Entity-Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R Diagrams and Business Rules The
The Entity-Relationship Model
The Entity-Relationship Model 221 After completing this chapter, you should be able to explain the three phases of database design, Why are multiple phases useful? evaluate the significance of the Entity-Relationship
DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.
DATABASE DESIGN - The ability to design databases and associated applications is critical to the success of the modern enterprise. - Database design requires understanding both the operational and business
Chapter 1: Introduction. Database Management System (DBMS) University Database Example
This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS contains information
Object Oriented Databases. OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar
Object Oriented Databases OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar Executive Summary The presentation on Object Oriented Databases gives a basic introduction to the concepts governing OODBs
IT2305 Database Systems I (Compulsory)
Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this
Lesson 8: Introduction to Databases E-R Data Modeling
Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data
Chapter 3. Data Analysis and Diagramming
Chapter 3 Data Analysis and Diagramming Introduction This chapter introduces data analysis and data diagramming. These make one of core skills taught in this course. A big part of any skill is practical
A Tool for Generating Relational Database Schema from EER Diagram
A Tool for Generating Relational Schema from EER Diagram Lisa Simasatitkul and Taratip Suwannasart Abstract design is an important activity in software development. EER diagram is one of diagrams, which
Relational Database Concepts
Relational Database Concepts IBM Information Management Cloud Computing Center of Competence IBM Canada Labs 1 2011 IBM Corporation Agenda Overview Information and Data Models The relational model Entity-Relationship
Databases Model the Real World. The Entity- Relationship Model. Conceptual Design. Steps in Database Design. ER Model Basics. ER Model Basics (Contd.
The Entity- Relationship Model R &G - Chapter 2 A relationship, I think, is like a shark, you know? It has to constantly move forward or it dies. And I think what we got on our hands is a dead shark. Woody
10.1 Introduction OLTP versus OLAP. 10 Data Warehouses in a nutshell. Analytical queries on OLTP DB. The naive Bookshop DB
0 Data Warehouses in a nutshell 0. Introduction OLTP vs. OLAP 0.2 DWH methodology 0.3 Stars and Stripes 0.4 OLAP operators: Roll up and Drill down, SQL operators ROLLUP and CUBE 0.5 ROLAP and MOLAP and
IT2304: Database Systems 1 (DBS 1)
: Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation
Umbrello UML Modeller Handbook
2 Contents 1 Introduction 7 2 UML Basics 8 2.1 About UML......................................... 8 2.2 UML Elements........................................ 9 2.2.1 Use Case Diagram.................................
Doing database design with MySQL
Doing database design with MySQL Jerzy Letkowski Western New England University ABSTRACT Most of the database textbooks, targeting database design and implementation for information systems curricula support
A brief overview of developing a conceptual data model as the first step in creating a relational database.
Data Modeling Windows Enterprise Support Database Services provides the following documentation about relational database design, the relational database model, and relational database software. Introduction
Object-Based Databases
C H A P T E R22 Object-Based Databases Practice Exercises 22.1 A car-rental company maintains a database for all vehicles in its current fleet. For all vehicles, it includes the vehicle identification
Data Modeling and Databases I - Introduction. Gustavo Alonso Systems Group Department of Computer Science ETH Zürich
Data Modeling and Databases I - Introduction Gustavo Alonso Systems Group Department of Computer Science ETH Zürich ADMINISTRATIVE ASPECTS D-INFK, ETH Zurich, Data Modeling and Databases 2 Basic Data Lectures
Data Modeling Basics
Information Technology Standard Commonwealth of Pennsylvania Governor's Office of Administration/Office for Information Technology STD Number: STD-INF003B STD Title: Data Modeling Basics Issued by: Deputy
Database Design Methodologies
Critical Success Factors in Database Design Database Design Methodologies o Work interactively with the users as much as possible. o Follow a structured methodology throughout the data modeling process.
Chapter 1: Introduction
Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db book.com for conditions on re use Chapter 1: Introduction Purpose of Database Systems View of Data Database Languages Relational Databases
Lecture Notes INFORMATION RESOURCES
Vilnius Gediminas Technical University Jelena Mamčenko Lecture Notes on INFORMATION RESOURCES Part I Introduction to Dta Modeling and MSAccess Code FMITB02004 Course title Information Resourses Course
Chapter 10 Practical Database Design Methodology and Use of UML Diagrams
Chapter 10 Practical Database Design Methodology and Use of UML Diagrams Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10 Outline The Role of Information Systems in
Designing Databases. Introduction
Designing Databases C Introduction Businesses rely on databases for accurate, up-to-date information. Without access to mission critical data, most businesses are unable to perform their normal daily functions,
A terminology model approach for defining and managing statistical metadata
A terminology model approach for defining and managing statistical metadata Comments to : R. Karge (49) 30-6576 2791 mail [email protected] Content 1 Introduction... 4 2 Knowledge presentation...
Physical Design. Meeting the needs of the users is the gold standard against which we measure our success in creating a database.
Physical Design Physical Database Design (Defined): Process of producing a description of the implementation of the database on secondary storage; it describes the base relations, file organizations, and
Fundamentals of Database Design
Fundamentals of Database Design Zornitsa Zaharieva CERN Data Management Section - Controls Group Accelerators and Beams Department /AB-CO-DM/ 23-FEB-2005 Contents : Introduction to Databases : Main Database
PUBLIC Supplement for J.D. Edwards
SAP Data Services Document Version: 4.2 Support Package 7 (14.2.7.0) 2016-05-06 PUBLIC Content 1 Overview....3 2 System requirements....4 2.1 World....4 2.2 OneWorld....4 3 Datastores.... 6 3.1 Defining
ECS 165A: Introduction to Database Systems
ECS 165A: Introduction to Database Systems Todd J. Green based on material and slides by Michael Gertz and Bertram Ludäscher Winter 2011 Dept. of Computer Science UC Davis ECS-165A WQ 11 1 1. Introduction
Database 2 Lecture I. Alessandro Artale
Free University of Bolzano Database 2. Lecture I, 2003/2004 A.Artale (1) Database 2 Lecture I Alessandro Artale Faculty of Computer Science Free University of Bolzano Room: 221 [email protected] http://www.inf.unibz.it/
Foundations of Information Management
Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:
The Relational Data Model: Structure
The Relational Data Model: Structure 1 Overview By far the most likely data model in which you ll implement a database application today. Of historical interest: the relational model is not the first implementation
Files. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?
Files What s it all about? Information being stored about anything important to the business/individual keeping the files. The simple concepts used in the operation of manual files are often a good guide
Chapter 1: Introduction. Database Management System (DBMS)
Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database
Data Modeling with Entity-Relationship Diagrams
Riccardi04 6/28/02 0:20 P Page 6 CHAPTER4 Data odeling with Entity-Relationship Diagrams In this chapter, you will learn: What entity-relationship data modeling is How to read and draw entity-relationship
Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions
Announcements SE 1: Software Requirements Specification and Analysis Lecture 4: Basic Notations Nancy Day, Davor Svetinović http://www.student.cs.uwaterloo.ca/ cs445/winter2006 uw.cs.cs445 Send your group
Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst
Outline Data Modeling Yanlei Diao UMass Amherst v Conceptual Design: ER Model v Relational Model v Logical Design: from ER to Relational Slides Courtesy of R. Ramakrishnan and J. Gehrke 1 2 Conceptual
Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations
1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/
www.gr8ambitionz.com
Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1
Information Management Metamodel
ISO/IEC JTC1/SC32/WG2 N1527 Information Management Metamodel Pete Rivett, CTO Adaptive OMG Architecture Board [email protected] 2011-05-11 1 The Information Management Conundrum We all have Data
CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model
CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 The Relational Model CS2 Spring 2005 (LN6) 1 The relational model Proposed by Codd in 1970. It is the dominant data
Modern Databases. Database Systems Lecture 18 Natasha Alechina
Modern Databases Database Systems Lecture 18 Natasha Alechina In This Lecture Distributed DBs Web-based DBs Object Oriented DBs Semistructured Data and XML Multimedia DBs For more information Connolly
Database Design Patterns. Winter 2006-2007 Lecture 24
Database Design Patterns Winter 2006-2007 Lecture 24 Trees and Hierarchies Many schemas need to represent trees or hierarchies of some sort Common way of representing trees: An adjacency list model Each
Business Database Systems
Preface Background The database is now the underlying framework of the information system and has fundamentally changed the way many companies and individuals work. The developments in this technology
High-level Design. What is software architecture?
High-level Design Software Architecture What is it? Examples of common architectures Parnas KWIK index example of information hiding Model view controller in high level layered design 1 What is software
LiTH, Tekniska högskolan vid Linköpings universitet 1(7) IDA, Institutionen för datavetenskap Juha Takkinen 2007-05-24
LiTH, Tekniska högskolan vid Linköpings universitet 1(7) IDA, Institutionen för datavetenskap Juha Takkinen 2007-05-24 1. A database schema is a. the state of the db b. a description of the db using a
A Tutorial on Quality Assurance of Data Models 1. QA of Data Models. Barry Williams. tutorial_qa_of_models.doc Page 1 of 17 31/12/2012 00:18:36
A Tutorial on Quality Assurance of Data Models 1 QA of Data Models Barry Williams tutorial_qa_of_models.doc Page 1 of 17 31/12/2012 00:18:36 A Tutorial on Quality Assurance of Data Models 2 List of Activities
Why Data Flow Diagrams?
Flow Diagrams A structured analysis technique that employs a set of visual representations of the data that moves through the organization, the paths through which the data moves, and the processes that
The Information System Lifecircle
The Information System Lifecycle The Information System Lifecircle --The Information System Lifecycle-- 1 Organizational Context of a Database System Businesses and organizations depend on database technology
CS 4604: Introduc0on to Database Management Systems. B. Aditya Prakash Lecture #5: En-ty/Rela-onal Models- - - Part 1
CS 4604: Introduc0on to Database Management Systems B. Aditya Prakash Lecture #5: En-ty/Rela-onal Models- - - Part 1 Announcements- - - Project Goal: design a database system applica-on with a web front-
Database Management Systems
Database Management Systems Database Design (1) 1 Topics Information Systems Life Cycle Data Base Design Logical Design Physical Design Entity Relationship (ER) Model Entity Relationship Attributes Cardinality
CSE 132A. Database Systems Principles
CSE 132A Database Systems Principles Prof. Victor Vianu 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric:
DbSchema Tutorial with Introduction in SQL Databases
DbSchema Tutorial with Introduction in SQL Databases Contents Connect to the Database and Create First Tables... 2 Create Foreign Keys... 7 Create Indexes... 9 Generate Random Data... 11 Relational Data
CA IDMS. Database Design Guide. Release 18.5.00, 2nd Edition
CA IDMS Database Design Guide Release 18.5.00, 2nd Edition This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation
Requirements / Use Case Specification
Object - Oriented Programming & Design Part IX - UML Use Case Diagrams CSCI 4448 - Spring 2002 Requirements / Use Case Specification Your way of echoing to the customer what you heard him/her say he/she
A Project Presentation on Online Car Rental System
A Project Presentation on Online Car Rental System Submitted To: Department of Computer Science, Ganpat University,384012 Group No: 74 Submitted By: Internal Guide: Khushbu Patel (13084231136) Niyati Patel
B.1 Database Design and Definition
Appendix B Database Design B.1 Database Design and Definition Throughout the SQL chapter we connected to and queried the IMDB database. This database was set up by IMDB and available for us to use. But
Design and UML Class Diagrams
Design and UML Class Diagrams 1 Suggested reading: Practical UML: A hands on introduction for developers http://dn.codegear.com/article/31863 UML DistilledCh. 3, by M. Fowler How do people draw / write
CDC UNIFIED PROCESS PRACTICES GUIDE
Purpose The purpose of this document is to provide guidance on the practice of Modeling and to describe the practice overview, requirements, best practices, activities, and key terms related to these requirements.
Relational Database Management LIS458
Part1- Intro- CaseStudyProject 1 f Relational Database Management LIS458 G Benoit Jan 6, 11 The subject of Relational Database Management Systems (RDBMS) is taught in schools of business, library & information
Domain Modeling. Domain Modeling
Domain Modeling A representation of the conceptual classes in problem domain UML (conceptual) class diagrams What s a conceptual class? What are its attributes? What are description classes? What are inter-class
Generating Enterprise Applications from Models
Generating Enterprise Applications from Models Vinay Kulkarni, R Venkatesh, Sreedhar Reddy Tata Research Development and Design Centre, 54, Industrial estate, Hadapsar, Pune, 411 013, INDIA { vinayk, rvenky,
4 Logical Design : RDM Schema Definition with SQL / DDL
4 Logical Design : RDM Schema Definition with SQL / DDL 4.1 SQL history and standards 4.2 SQL/DDL first steps 4.2.1 Basis Schema Definition using SQL / DDL 4.2.2 SQL Data types, domains, user defined types
Designing a Database Schema
Week 10: Database Design Database Design From an ER Schema to a Relational One Restructuring an ER schema Performance Analysis Analysis of Redundancies, Removing Generalizations Translation into a Relational
Design and UML Class Diagrams. Suggested reading: Practical UML: A hands on introduction for developers http://dn.codegear.
Design and UML Class Diagrams Suggested reading: Practical UML: A hands on introduction for developers http://dn.codegear.com/article/31863 UML Distilled Ch. 3, by M. Fowler 1 Big questions What is UML?
Introduction to database management systems
Introduction to database management systems Database management systems module Myself: researcher in INRIA Futurs, [email protected] The course: follows (part of) the book "", Fourth Edition Abraham
ER modelling, Weak Entities, Class Hierarchies, Aggregation
CS344 Database Management Systems ER modelling, Weak Entities, Class Hierarchies, Aggregation Aug 2 nd - Lecture Notes (Summary) Submitted by - N. Vishnu Teja Saurabh Saxena 09010125 09010145 (Most the
Chapter 10 Practical Database Design Methodology and Use of UML Diagrams
Chapter 10 Practical Database Design Methodology and Use of UML Diagrams Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10 Outline The Role of Information Systems in
Review Entity-Relationship Diagrams and the Relational Model. Data Models. Review. Why Study the Relational Model? Steps in Database Design
Review Entity-Relationship Diagrams and the Relational Model CS 186, Fall 2007, Lecture 2 R & G, Chaps. 2&3 Why use a DBMS? OS provides RAM and disk A relationship, I think, is like a shark, you know?
TECH. Requirements. Why are requirements important? The Requirements Process REQUIREMENTS ELICITATION AND ANALYSIS. Requirements vs.
CH04 Capturing the Requirements Understanding what the customers and users expect the system to do * The Requirements Process * Types of Requirements * Characteristics of Requirements * How to Express
Once the schema has been designed, it can be implemented in the RDBMS.
2. Creating a database Designing the database schema... 1 Representing Classes, Attributes and Objects... 2 Data types... 5 Additional constraints... 6 Choosing the right fields... 7 Implementing a table
A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams
A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams by Nezar Hussain Microsoft Visio 2010 is a flexible software tool that allows users to create some diagrams and charts, providing an
æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.
CMPT-354-Han-95.3 Lecture Notes September 10, 1995 Chapter 1 Introduction 1.0 Database Management Systems 1. A database management system èdbmsè, or simply a database system èdbsè, consists of æ A collection
Information Systems SQL. Nikolaj Popov
Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria [email protected] Outline SQL Table Creation Populating and Modifying
