IS 4424: Developing the Entreprise Database Frederic Adam.

Slides:



Advertisements
Similar presentations
Documenting Database Designs with Entity- Relationship Diagrams IS 460 Notes by Thomas Hilton.
Advertisements

COMP 521 F10 Final Exam Review. 1. Which of the following is defined as a property or description of an entity. A. RelationB. Attribute C. DomainD. Selection.
Cs44321 CS4432: Database Systems II Lecture #19 Database Consistency and Transactions Professor Elke A. Rundensteiner.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Transaction Processing Lecture ACID 2 phase commit.
ETEC 100 Information Technology
Client/Server Databases and the Oracle 10g Relational Database
Introduction to Databases
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
Beyond data modeling Model must be normalised – purpose ? Outcome is a set of tables = logical design Then, design can be warped until it meets the realistic.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Database Features Lecture 2. Desirable features in an information system Integrity Referential integrity Data independence Controlled redundancy Security.
Databases and Database Management Systems
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Design & ER Diagrams
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Chapter 6 Physical Database Design. Introduction The purpose of physical database design is to translate the logical description of data into the technical.
Chapter 4 The Relational Model Pearson Education © 2014.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Lecture 3 The Relational DB Model. Learning Objectives That the relational database model takes a logical view of data That the relational model’s basic.
Relational Data Model. A Brief History of Data Models  1950s file systems, punched cards  1960s hierarchical  IMS  1970s network  CODASYL, IDMS 
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
ITEC224 Database Programming
Database Technical Session By: Prof. Adarsh Patel.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Concepts and Terminology Introduction to Database.
TM 7-1 Copyright © 1999 Addison Wesley Longman, Inc. Physical Database Design.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Database Management System Module 5 DeSiaMorewww.desiamore.com/ifm1.
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
Page 1 Topic 4 Relational Databases CPS510 Database Systems Abdolreza Abhari School of Computer Science Ryerson University.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 2 This material was developed by Oregon Health & Science.
Databases and Statistical Databases Session 4 Mark Viney Australian Bureau of Statistics 5 June 2007.
Copyright © Curt Hill The Relational Model of Database Basic organization and terms.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
1.1 CAS CS 460/660 Relational Model. 1.2 Review E/R Model: Entities, relationships, attributes Cardinalities: 1:1, 1:n, m:1, m:n Keys: superkeys, candidate.
Relational Data Model Ch. 7.1 – 7.3 John Ortiz Lecture 3Relational Data Model2 Why Study Relational Model?  Most widely used model.  Vendors: IBM,
Database Design Methodology. Lesson 1: Introduction to Databases.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Concurrency Control. Objectives Management of Databases Concurrency Control Database Recovery Database Security Database Administration.
Data resource management
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Chapter 3: Relational Databases
The Relational Model © Pearson Education Limited 1995, 2005 Bayu Adhi Tama, M.T.I.
The relational model1 The relational model Mathematical basis for relational databases.
The Relational Model Lecture #2 Monday 21 st October 2001.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
Client/Server Databases and the Oracle 10g Relational Database
DBMS QUESTIONS AND ANSWERS
Databases and Database Management Systems Chapter 9
Introduction to Database Systems
Physical Database Design
Batches, Transactions, & Errors
Chapter 4 Entity Relationship (ER) Modeling
Chapter 4 Entity Relationship (ER) Modeling
The PROCESS of Queries John Deardurff August 8, 2015
Concurrency Control.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

IS 4424: Developing the Entreprise Database Frederic Adam

Course Content Data Modelling Analysing requirements Sizing Developing large DBs Administering the DB Other key issues (e.g. KM, DW etc…) Chosen Platform ORACLE

Oracle Industry standard #1 pb: rate of change and upgrade Complexity: manuals = 20,000 pages –(error message manual = 1700 pages) DBs are at the core of most business applications –Knowledge of ORACLE is key for developers ORACLE is not a bucket in which you throw your data

Characteristics of DBs… …which ORACLE features: High concurrency (high performance under load) Multi-user (read does not interfere with write) Data consistency – changes to data don’t affect running queries + no phantom data changes High degree of recoverability (pull the plug test)

ACID test Atomicity Consistency Isolation Durability

ACID test Atomicity Consistency Isolation Durability All or nothing Preserve consistency of database Transactions are independent Once committed data is preserved

Why DB projects fail? Ignoring the technology (HW / SW) Estimating performance wrong Getting the sizing wrong Fudging the testing (Pareto principle) Confuse the responsibilities for DB = ANALYSIS of pb

Analysis of Problem Data model Technical decisions (sizing / hardware…) Functionalities Interface Reports Types of decisions: Normalisation Data access – indexes Security options (level; roles…)

Entity Relationship Model Entity Attributes Instance(s) Domain Key (candidate primary and foreign)

definitions Entity Attributes Instance(s) Domain Key (candidate primary and foreign) Object in real world distinguishable from others Description of entity – shared attributes Range of possible values for attribute Attribute that uniquely identified an entity Selected key Attribute of one entity that is primary key in another one (Number of) occurrences of an entity

Relationship sets Relationship Ordinality Cardinality Associative Entity

Definitions (2) Association of two or more entities Entity whose attributes describe an association between 2 entities Relationship Ordinality Cardinality Associative Entity Minimum number of occurrence of one entity relative another one – optionality or dependency Maximum number…

Some test questions Is it a bird is it a plane? Is it an entity or an attribute?

Some test questions Is it a bird is it a plane? Is it an entity or an attribute? No, it’s Superman e.g. address [more than one per emp.?] Matter of analysis of the business problem

From data modelling to DB design Ideally, one data structure = one schema But DBs not always developed in one go Organisations merge… Need to integrate schemas Difficult to anticipate and resolve conflicts (eg names…) = ERP projects

I/O Trap Reading existing data Changing existing data –Update existing records –Adding new records –Deleting records All these involve going to disk => slowest device by considerable margin Minimise / reschedule physical I/O