(C) 2000, The University of Michigan 1 Database Application Design Handout #10 March 17, 2000.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Data Structures.
Databases CIS 422. Lifetime of Data Transient results to the evaluations of expression Variables involved in procedure activation Global variables Dynamically.
Feb 2001CSS/416: Module U1 Workshop 21 CSS/416 Data Design And Information Retrieval Workshop 2.
Chapter Object-Oriented Practices. Agenda Object-Oriented Concepts Terminology Object-Oriented Modeling Tips Object-Oriented Data Models and DBMSs.
From Class Diagrams to Databases. So far we have considered “objects” Objects have attributes Objects have operations Attributes are the things you record.
Fundamentals, Design, and Implementation, 9/e SI654 Database Application Design Instructor: Dragomir R. Radev Winter 2005.
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Fundamentals, Design, and Implementation, 9/e Chapter 16 Object-Oriented Database Processing.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
ASP.NET Programming with C# and SQL Server First Edition
Object Oriented Databases - Overview
Attribute databases. GIS Definition Diagram Output Query Results.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Object and Object- Relational Databases.
Week 3 - Wednesday.  What did we talk about last time?  Started linked lists.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
Data Access Patterns. Motivation Most software systems require persistent data (i.e. data that persists between program executions). In general, distributing.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1 Created By Martin Schedlbauer
Chapter 5 Database Processing.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
(C) 2000, The University of Michigan 1 Database Application Design Handout #3 January 21, 2000.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
CSS/417 Introduction to Database Management Systems Workshop 5.
Architecture for a Database System
(C) 2000, The University of Michigan 1 Database Application Design Handout #4 January 28, 2000.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
(C) 2000, The University of Michigan 1 Database Application Design Handout #8 February 25, 2000.
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Data Dictionary.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Chapter 12: Designing Databases
(C) 2000, The University of Michigan 1 Database Application Design Handout #7 February 18, 2000.
Object-Oriented Database Processing
Lecture 1: Overview of CSCI 485 Notes: I presented parts of this lecture as a keynote at Educator’s Symposium of OOPSLA Shahram Ghandeharizadeh Associate.
© 2005 Prentice Hall10-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 18 Object- Oriented Database Processing.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
Database Management COP4540, SCS, FIU Physical Database Design (ch. 16 & ch. 3)
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
ITEC 3220A Using and Designing Database Systems Instructor: Gordon Turpin Course Website: Office: CSEB3020.
(C) 2000, The University of Michigan 1 Database Application Design Handout #5 February 4, 2000.
Object-Oriented Programming Chapter Chapter
(C) 2000, The University of Michigan 1 Database Application Design Handout #2 January 14, 2000.
ISBN Object-Oriented Programming Chapter Chapter
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Object storage and object interoperability
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
(C) 2003, The University of Michigan1 Information Retrieval Handout #10 April 7, 2003.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 4: Intermediate.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix G: Data Structures for Database Processing.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
Lecture 1: Overview of CSCI 485 Shahram Ghandeharizadeh Associate Professor Computer Science Department University of Southern California Presented by:
12. Chapter 12: Designing Databases Systems Analysis and Design in a Changing World, Fourth Edition 12.
Translation of ER-diagram into Relational Schema
Paul Jacobs The iSchool University of Maryland Thursday, Oct. 5, 2017
ITEC 3220A Using and Designing Database Systems
Review CSE116 2/21/2019 B.Ramamurthy.
Introduction to Data Structure
Presentation transcript:

(C) 2000, The University of Michigan 1 Database Application Design Handout #10 March 17, 2000

(C) 2000, The University of Michigan 2 Course information Instructor: Dragomir R. Radev Office: 305A, West Hall Phone: (734) Office hours: Thursdays 3-4 and Fridays 1-2 Course page: Class meets on Fridays, 2:30 - 5:30 PM, 311 WH

(C) 2000, The University of Michigan 3 Object-oriented data processing

(C) 2000, The University of Michigan 4 Introduction OOP objects: encapsulated structures with attributes and methods Interface + implementation Inheritance Polymorphism Transient and persistent objects

(C) 2000, The University of Michigan 5 Objects Object classes, object class libraries Object instances (objects) Methods: create, save, destroy, find, print

(C) 2000, The University of Michigan 6 Example EMPLOYEE –methods: Create, Save, Destroy,... –attributes: Number (R), Name (R), … SALESPERSON –methods: …, Assign (ORDER, ZipCode) –attributes: TotalCommission (R), TotalOrders (RW) CUSTOMER –methods: …, Find –attributes: Name (R), Phone (R), ZipCode (R), CurrentBalance (RW)

(C) 2000, The University of Michigan 7 Example (Cont’d) ITEM –methods: …, Find (Number), Take (ORDER, Quantity), Put (ORDER, Quantity) –attributes: …, Description (R), Price ORDER –methods: …, Print –attributes: Number (R), Date (R), Total (R), CustomerName (R), SalespersonName (R)

(C) 2000, The University of Michigan 8 Object persistence Pointers and swizzling Storing data and methods is done differently Storage: traditional file storage, relational DBMS (using METHODS relation), ODBMS

(C) 2000, The University of Michigan 9 ODBMS Integrated with object-oriented programming User-defined types Provide persistent object IDs and perform swizzling Single-level memory

(C) 2000, The University of Michigan 10 SQL3 Abstract data types: can be used in SQL expressions and can be stored in tables OBJECT and VALUE ADTs OBJECT ADTs have OIDs which can be made visible to other functions of tables

(C) 2000, The University of Michigan 11 EXAMPLE CREATE OBJECT TYPE employee WITH OID VISIBLE (name VARCHAR NOT NULL, number CHAR(7), salary UPDATABLE VIRTUAL GET with_get_salary SET WITH change_salary, PRIVATE hiredate DATE currentsalary CURRENCY PUBLIC ACTOR FUNCTION get_salary (:E employee) RETURNS employee {code to perform security processing and compute and set new currentsalary, if appropriate} RETURN :E END FUNCTION

(C) 2000, The University of Michigan 12 EXAMPLE (Cont’d) ACTOR FUNCTION change_salary (:E employee) RETURNS employee {code to perform security processing and compute and set new currentsalary, if appropriate} RETURN :E END FUNCTION DESTRUCTOR FUNCTION remove_employee (:E employee) RETURNS NULL {code to get ready to delete employee data} DESTROY :E RETURN :E END FUNCTION,...

(C) 2000, The University of Michigan 13 Data structures for DB processing

(C) 2000, The University of Michigan 14 Maintaining order Flat files: no repeating groups, usually sorted Processing in multiple orders? Maintaining order using multiply- linked lists Maintaining order using indexes

(C) 2000, The University of Michigan 15 Representing binary relationships Simple networks (one-to-many): e.g., advisers + majors + students Linked-list representations of trees (one-to- many)

(C) 2000, The University of Michigan 16 Readings for next time Kroenke –Appendix A: Data Structures for Database Processing YRK (optional) –Chapter 16: MySQL and mSQL System Variables –Chapter 17: MySQL and mSQL Programs and Utilities Asilomar Report –