Physical design. Stage 6 - Physical Design Retrieve the target physical environment Create physical data design Create function component implementation.

Slides:



Advertisements
Similar presentations
Structured Systems Analysis and Design Methodology
Advertisements

Dr Gordon Russell, Napier University Unit Data Dictionary 1 Data Dictionary Unit 5.3.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
Monday, 08 June 2015Dr. Mohamed Osman1 What is Database Administration A high level function (technical Function) that is responsible for ► physical DB.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
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.
Physical Database Monitoring and Tuning the Operational System.
Function Definition  From Investigation to Specification  Defining Functions  The Universal Function Model  Identifying and Documenting Functions.
Modern Systems Analysis and Design Third Edition
Chapter 9 Database Design
Database Features Lecture 2. Desirable features in an information system Integrity Referential integrity Data independence Controlled redundancy Security.
File Management Chapter 12.
Modeling & Designing the Database
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 17 Methodology – Physical Database Design for Relational Databases Transparencies © Pearson Education Limited 1995, 2005.
Team Dosen UMN Physical DB Design Connolly Book Chapter 18.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
CSC271 Database Systems Lecture # 30.
ITEC224 Database Programming
Lecture 9 Methodology – Physical Database Design for Relational Databases.
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
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Chapter 16 Methodology – Physical Database Design for Relational Databases.
Lecture 12 Designing Databases 12.1 COSC4406: Software Engineering.
10/3/2012ISC329 Isabelle Bichindaritz1 Logical Design.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
Information Systems & Databases 2.2) Organisation methods.
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Methodology - Conceptual Database Design
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Database Management COP4540, SCS, FIU Physical Database Design (ch. 16 & ch. 3)
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Data resource management
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
Methodology – Physical Database Design for Relational Databases.
File and Database Design Class 22. File and database design: 1. Choosing the storage format for each attribute from the logical data model. 2. Grouping.
Design Methods Instructor: Dr. Jerry Gao. Software Design Methods Design --> as a multistep process in which we design: a) data structureb) program structure.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 9 Designing Databases.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 9 Designing Databases 9.1.
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 12 Designing.
Methodology – Physical Database Design for Relational Databases
Modern Systems Analysis and Design Third Edition
“What do I do ?”, “How do I do it ?”, What do I do it with ?
國立臺北科技大學 課程:資料庫系統 fall Chapter 18
File organization and Indexing
Physical Database Design
Chapter 12 Designing Databases
Chapter 17 Designing Databases
Presentation transcript:

Physical design

Stage 6 - Physical Design Retrieve the target physical environment Create physical data design Create function component implementation map Optimise physical data design Complete function specification Consolidate process/ data interface

Physical Process Specification Investigate software facilities and establish strategy Create function component implementation map Define and specify procedural processing Consolidate the process data interface

Investigate and Establish Strategy Evaluate physical options available using –Expertise in the software tool(s) –Understanding of the organisation –Understanding of the required system Considerations:- –Minimise development and maintenance staff costs. –Make the implementation structures as simple as possible –Make the interface between the users and the stored data straightforward

Evaluating Options Use a decision tree. –What sort of components are used in the IS? What are the important features? –What hardware and software options are available? Make out a processing system classification for each tool considered. –Which tools are suitable for which components? –Can the components of a function be treated separately or are they indivisible? Work out a naming strategy for the components. –Provide the user with adequate performance levels.

Function Types Functions are made up of components Universal function model consists of components for Input, Main, Output and Error processing Special function models are those which do not follow this pattern Some functions will use shared re-usable processes

Function Component Implementation Matrix (FCIM) Make out a matrix, mapping function components against categories of implementation routes (i.e. A method of software construction)

FCIM When designing the FCIM, implementation routes could be grouped according to:- –their component types e.g. on-line input and output together –the tools used to implement them –the function types (update, enquiry, etc). At system level, look for reuse Functions which can be shared become super- functions.

FCIM Low-level routines can be shared as can some input, output or database processes. –Treat each function in detail. –Define the amount of processing that constitutes a success unit, which usually represents an event. –Specify detail of error, input, output and control processing

FCIM

Remainder Define and specify procedural processing –Logical components become physical fragments –Specify in detail and write software Consolidate the process data interface (PDI) –Define interfaces between physical data and processing units (i.e. what middleware?) –Record all validation routines or special processing modules

Processing System Classification What type of objects can this tool create? Can procedural and non-procedural fragments be mixed? Can on-line and off-line fragments be mixed? What options exist for defining success units? What options exist for defining error processing? How are run time processing modules constructed? What database access facilities are provided?

Processing System Classification Can update or enquiry only processes be created? Can data be grouped together for I/O, with screens or reports? What types of dialogues can be created? How can navigation through dialogues be constructed? Can the tool support the creation of a customised PDI? How? To what extent does the tool mask the designer from the physical distribution of data?

Physical Data Design Keep in mind: –Keep development/maintenance costs to a minimum. –Make the interface between the users and the stored data straightforward. –Provide the users with adequate performance levels. ERD translates to DBMS being used

Physical Data Design Assume, that the DBMS uses:- –Records, to store entity occurrences –Blocks, of physical storage –A mechanism to relate master to detail entities –Some other mechanisms for other types of relationships Use same staff for logical and physical data design

Data Storage Classification How are relationships stored? –Table - the DBMS has a table holding the key values for all detail records for each occurrence of the master, beside the master. (e.g. Relational database) –List - master records and their details are chained together. (e.g. network database)

–Phantom - there is no physical relationship, only a relationship due to a foreign key (e.g. indexed sequential files, with the master key existing as a foreign or secondary key in the detail file). Where are relationships stored? –Separately from the data in a table or list or alongside the data records (either the master or the detail data).

Data storage classification Are the keys to relationships symbolic or physical? –The keys may consist of one or more informational attributes of the entity, or they may just indicate the location of the record in the file. What strategies are provided to locate records? –Searching sorted records, hashing or indexing are possibilities. What are the overheads for transaction logging? What are the overheads for recording snapshots? (backups, before and after update images)

DBMS Performance Classification What is the commit strategy? – (At commit time, all updates may be done, or if rolled back, some may be undone) Overhead for physical space management? –(Dynamic storage management may move data around) Overhead for recording the context of dialogues? –(i.e. From what DBMS context a user performed an operation).

Standard timing data needed (read/write/overflow) Performance characteristics of sorts? Can records be placed physically near to other records and if so, how? In what ways might the DBMS restrict the implementation of the LDM?

Design the physical data Extract information from the Logical Data Model Add entry points to the diagram Define group roots Group entities around the roots Select root, if there is a choice of root Establish group size Fit the groups into blocks

Extract information from the LDM –Copy entities, replacing soft boxes with rectangles –Include volume data and relationship ratios –Draw the relationships as continuous lines, omitting names –Record optionality, only from the detail end, with circle –Ignore exclusive arcs, from masters to details and details to masters

Design the physical data Add entry points to the diagram –(taken from ECDs and EAPs) as a list of key fields alongside an arrow pointing to the entry entity. –Non-key fields which are entry points are shown in an oval. Define group roots –A root of a group either has no master, or is an entry point, where its key does not contain its master's key, if its master is a root

Design the physical data Group the entities around roots –A non-root entity may be grouped with a root entity if it is its mandatory master or it has a mandatory master which has already been grouped with that root Select groups where there is a choice –If the entity is a direct entry point, but not a root, group it with the master which is a root, and whose key is contained in its key. –Put entities in the groups where they occur least

Physical data design Establish the group size –using the entity descriptions and attribute descriptions in the data dictionary, as well as ratios between masters and details Fit groups into physical blocks –Derive a block size, taking into account the memory buffer size and record locking level. The block size should hold the group, without being too large Follow manufacturers guidelines

More checking and optimising Identify performance and space constraints from the requirements catalogue Estimate the required space Estimate likely performance

Handle problems with … Space –change the constraints, – change the groups – use a compression technique Timing –change the constraints –Change the physical data design (record groupings, transaction logging, security copying, etc)