Design Considerations CS2312. Conceptual Design includes Operational Use Mini World Requirements collection & analysis Conceptual design Data model design.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

A Fast Growing Market. Interesting New Players Lyzasoft.
--What is a Database--1 What is a database What is a Database.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Chapter 2 Database Environment.
Chapter Physical Database Design Methodology Software & Hardware Mapping Logical Design to DBMS Physical Implementation Security Implementation Monitoring.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
File Systems and Databases
Database Management: Getting Data Together Chapter 14.
File Systems and Databases Hachim Haddouti
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 2 Database Environment Pearson Education © 2014.
Database System Concepts and Architecture Dr. Ali Obaidi.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Introduction to Databases. Case Example: File based Processing Real Estate Agent’s office Property for sale or rent Potential Buyer/renter Staff/employees.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10 Practical Database Design Methodology and Use of UML Diagrams.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
7/17: Database Management
Module Title? DBMS Introduction to Database Management System.
Chapter 2 CIS Sungchul Hong
CSC271 Database Systems Lecture # 4.
ITEC224 Database Programming
Database Technical Session By: Prof. Adarsh Patel.
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
Database Environment Chapter 2 AIT632 Sungchul Hong.
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Methodology - Conceptual Database Design Transparencies
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Methodology Conceptual Databases Design
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
2. Database System Concepts and Architecture
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Methodology - Conceptual Database Design
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Data resource management
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
DataBase System Concepts and Architecture
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Chapter 2 Database Environment.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Practical Database Design Methodology and Use of UML Diagrams
Database Management:.
Lec 6: Practical Database Design Methodology and Use of UML Diagrams
Practical Database Design Methodology and Use of UML Diagrams
Data, Databases, and DBMSs
03 - Database Design, UML and (Extended) Entity Relationship Modeling
Database Design Hacettepe University
Presentation transcript:

Design Considerations CS2312

Conceptual Design includes Operational Use Mini World Requirements collection & analysis Conceptual design Data model design Physical design Database requirements Conceptual schema (in a high level data model) Conceptual schema (in the data model of a specific DBMS Internal schema (for the same DBMS) DBMS Independent DBMS specific Data Definition Language Statements Processing Requirements Transaction Design DBMS independent Transaction Implementation

Database Application Life Cycle

Data model requirements  Expressive  Simple  Minimal  small number of basic concepts that are distinct and non-overlapping in meaning  Diagrammatic  Formal  accurate & unambiguous  CONFLICTING REQUIREMENTS Conceptual design  Complete understanding of database structure, semantics, constraints, relationships etc  DBMS independent  Stable description  Database users and application users views; aids their understanding  Communication with users Conceptual design & Data model requirements

Transaction Design  Known transactions (applications) that will run on the database  Database schema must include all information required by transactions  Relative importance of transactions and expected rates of invocation important for performance tuning Identify input/output & functional behaviour: 3 categories  1.Retrievaldisplay/reports 2.Updateinsert new data/modify old 3.Mixed  Transactions can be used to encapsulate integrity constraints

Transaction Design  High level process specification technique data flow diagrams, process modelling etc  Detailed design using programming techniques for loops, if statements etc  Detailed design using set database operations  Eight basic operations for updates on EER schema  insert entity, modify, delete entity  add, modify, remove relationship  add and remove from class  add and remove class

Transaction environment  Pre-defined canned transactions  A free-for-all using SQL directly  Chiefly On-Line Transaction Processing (OLTP)  Chiefly Management Information System (MIS)  Multi-user or single-user  number of concurrent users—peaks, worst case, and average  potential conflicts—locking, timestamps  distributed transactions  Integrity Checks  as updates made in transactions  batch run transaction

On-Line Transactions

Who is Using the Database?  Users & Ease of Use  Who is the target end- user for queries and/or update transactions  User Interfaces  graphical  forms-based  SQL  reports generated  menu-based  Task analysis  Work flows  Views Interfaces  people  software  other databases  hardware  organisational processes

Housekeeping  Backup & Archiving  on-line or off-line backups  size of backups  incremental vs dump  archiving strategy  Security  passwords  permissions  views

Operational Considerations Scope  complete flexibility with ‘bells and whistles’  kernel activities Model choice  hierarchical / network / relational / object-oriented /object-relational Software/Hardware  Which database management system ?  Configuration: e.g Unix server and PC front-ends?

Choice of DBMS Costs 1.Software acquisition cost 2.Maintenance cost 3.Hardware acquisition cost 4.Database creation & conversion cost 5.Personnel cost 6.Training cost 7.Operating costs  Data model depends on:  The structure and use of the data  Familiarity of the system  Available vendor services  communication software  data entry software  design and monitoring tools etc

Storage: Size and Volatility of data  number of records (tuples)  record (tuple) size  growth potential  volatility (growth/shrinkage)  temporary space requirements create table year (yearno number(1) primary key, yeartutorid number(4), yeartut_uk unique exceptions into bad_tutors using index not null constraint tut_fk foreign key (yeartutorid) references staff(staffid)) tablespace cags_course storage (initial 6144 next 6144 minextents 1 maxextents 5 pctincrease 5 pctfree 20);

Performance  Query Profile  frequency of certain queries  hit rate on relations  certain relations used together  selection attributes  Update Profile  dynamic or static  hit rate of certain updates  predictable—pre-fetch strategies APPLICATION SPECIFIC must know about queries, transactions & applications  analysing DB queries and transactions  analysing expected frequency of invocation of queries and transactions  analysing time constraints of queries and transactions  analysing expected frequency of update operations

Performance Measures  Response time: how long will a query/update take ?  on average  at peak times: worst case  Transaction throughput: how many transactions can be processed per second/millisecond  on average  at peak times: worst case  How long will a report on the whole database take?  Data take-on  Analytical & experimental approaches

Benchmarks 1. Industry standard  external view of product;  samples performance on specific (simple) application;  meant for comparison across vendors 2. Vendor  identifying performance improvements  evolve with product  guide to development efforts & sales support 3. Customer-application  for important performance critical applications  vendors provided with benchmark by customer  high cost for customer  often rely on industry-standard measure

Industry Standard Benchmarks “significant disk input/output, moderate system and application execution time, and transaction integrity” The Transaction Processing Performance Council (TPC) TPC-D:  Debit/Credit Banking Application Performance Metrics:  Throughput transactions per second (tps)  Response time of transaction (transaction elapse time)  Cost metric$/tps  OLTP multiple on-line terminal sessions—transaction arrival distribution. Wait time between requests is ‘think time’ “a wide range of functions, provided over small to large databases”  Not update-intensive  Ad hoc queries  Flexibility of query specification Wisconsin  Designed to produce predictable results Performance Metrics:  Response time of query (query elapse time)  CPU & I/O utilisation  Set Query  average query throughput per minute & cost metric