Methodology – Monitoring and Tuning the Operational System

Slides:



Advertisements
Similar presentations
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
Advertisements

Chapter 18 Methodology – Monitoring and Tuning the Operational System Transparencies © Pearson Education Limited 1995, 2005.
Topic Denormalisation S McKeever Advanced Databases 1.
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.
Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
PARTITIONING “ A de-normalization practice in which relations are split instead of merger ”
Chapter 17 Methodology – Physical Database Design for Relational Databases Transparencies © Pearson Education Limited 1995, 2005.
Chapters 17 & 18 Physical Database Design Methodology.
Practical Database Design and Tuning. Outline  Practical Database Design and Tuning Physical Database Design in Relational Databases An Overview of Database.
CSC271 Database Systems Lecture # 30.
1 © Prentice Hall, 2002 Physical Database Design Dr. Bijoy Bordoloi.
Lecture 9 Methodology – Physical Database Design for Relational Databases.
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
© Pearson Education Limited, Chapter 16 Physical Database Design – Step 7 (Monitor and Tune the Operational System) Transparencies.
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.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
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.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
© Pearson Education Limited, Chapter 15 Physical Database Design – Step 7 (Consider Introduction of Controlled Redundancy) Transparencies.
Chapter 16 Practical Database Design and Tuning Copyright © 2004 Pearson Education, Inc.
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Physical Database Design Transparencies. ©Pearson Education 2009 Chapter 11 - Objectives Purpose of physical database design. How to map the logical database.
Methodology - Conceptual Database Design
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.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Methodology – Monitoring and Tuning the Operational System.
In this session, you will learn to: Describe data redundancy Describe the first, second, and third normal forms Describe the Boyce-Codd Normal Form Appreciate.
Sekolah Tinggi Ilmu Statistik (STIS). Main Topics Denormalizing and introducing controlled redundancy  Meaning of denormalization.  When to denormalize.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Modelling Methodologies Chapter 16, 17, 18. Modeling Methodologies2 Database Design Physical DB design Logical DB design Conceptual DB design Hardware.
Lec 7 Practical Database Design and Tuning Copyright © 2004 Pearson Education, Inc.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Distributed Database Design Bayu Adhi Tama, MTI Fasilkom-Unsri Adapted from Connolly, et al., Database Systems 4 th Edition, Pearson Education Limited,
1 Agenda TMA02 M876 Block 4. 2 Model of database development data requirements conceptual data model logical schema schema and database establishing requirements.
Practical Database Design and Tuning
Methodology Conceptual Databases Design
Methodology Logical Database Design for the Relational Model
Indexing Structures for Files and Physical Database Design
Record Storage, File Organization, and Indexes
Methodology Conceptual Database Design
Physical Database Design
Physical Database Design and Performance
Relational Database Design by Dr. S. Sridhar, Ph. D
ITD1312 Database Principles Chapter 5: Physical Database Design
Methodology – Physical Database Design for Relational Databases
Physical Database Design for Relational Databases Step 3 – Step 8
Modern Systems Analysis and Design Third Edition
Chapter 19: Distributed Databases
CHAPTER 5: PHYSICAL DATABASE DESIGN AND PERFORMANCE
國立臺北科技大學 課程:資料庫系統 fall Chapter 18
Physical Database Design
Chapter 14 Normalization – Part I Pearson Education © 2009.
Practical Database Design and Tuning
Relational Database Model
The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited)
Methodology – Monitoring and Tuning the Operational System
Methodology Conceptual Databases Design
Review of Week 3 Relation Transforming ERD into Relations
Presentation transcript:

Methodology – Monitoring and Tuning the Operational System Chapter 19 Methodology – Monitoring and Tuning the Operational System Pearson Education © 2009

Chapter 19 - Objectives Meaning of denormalization. When to denormalize to improve performance. Importance of monitoring and tuning the operational system. How to measure efficiency. How system resources affect performance. Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy To determine whether introducing redundancy in a controlled manner by relaxing normalization rules will improve the performance of the system. Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy Result of normalization is a design that is structurally consistent with minimal redundancy. However, sometimes a normalized database does not provide maximum processing efficiency. May be necessary to accept loss of some benefits of a fully normalized design in favor of performance. Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy Also consider that denormalization: makes implementation more complex; often sacrifices flexibility; may speed up retrievals but it slows down updates. Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy Denormalization refers to a refinement to relational schema such that the degree of normalization for a modified relation is less than the degree of at least one of the original relations. Also use term more loosely to refer to situations where two relations are combined into one new relation, which is still normalized but contains more nulls than original relations. Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy Consider denormalization in following situations, specifically to speed up frequent or critical transactions: Step 7.1 Combining 1:1 relationships Step 7.2 Duplicating non-key attributes in 1:* relationships to reduce joins Step 7.3 Duplicating foreign key attributes in 1:* relationships to reduce joins Pearson Education © 2009

Step 7 Consider the Introduction of Controlled Redundancy Step 7.4 Duplicating attributes in *:* relationships to reduce joins Step 7.5 Introducing repeating groups Step 7.6 Creating extract tables Step 7.7 Partitioning relations. Pearson Education © 2009

Sample Relation Diagram Pearson Education © 2009

Sample Relations Pearson Education © 2009

Step 7.1 Combining 1:1 relationships Pearson Education © 2009

Step 7. 2 Duplicating non-key attributes in 1: Step 7.2 Duplicating non-key attributes in 1:* relationships to reduce joins Pearson Education © 2009

Step 7. 2 Duplicating non-key attributes in 1: Step 7.2 Duplicating non-key attributes in 1:* relationships: Lookup Table Pearson Education © 2009

Step 7. 2 Duplicating non-key attributes in 1: Step 7.2 Duplicating non-key attributes in 1:* relationships: Lookup Table Pearson Education © 2009

Step 7.3 Duplicating FK attributes in 1:* relationship to reduce joins Pearson Education © 2009

Step 7.4 Duplicating attributes in *:* relationships to reduce joins Pearson Education © 2009

Step 7.5 Introducing repeating groups Pearson Education © 2009

Step 7.6 Creating extract tables Reports can access derived data and perform multi-relation joins on same set of base relations. However, data the report is based on may be relatively static or may not have to be current. Possible to create a single, highly denormalized extract table based on relations required by reports, and allow users to access extract table directly instead of base relations. Pearson Education © 2009

Step 7.7 Partitioning relations Rather than combining relations together, alternative approach is to decompose them into a number of smaller and more mannageable partitions. Two main types of partitioning: horizontal and vertical. Pearson Education © 2009

Step 7.7 Partitioning relations Pearson Education © 2009

Advantages and disadvantages of denormalization Pearson Education © 2009

Step 8 Monitor & Tune Operational System To monitor operational system and improve performance of system to correct inappropriate design decisions or reflect changing requirements. Pearson Education © 2009

Step 8 Monitor & Tune Operational System Number of factors may be used to measure efficiency: - Transaction throughput: number of transactions processed in given time interval. - Response time: elapsed time for completion of a single transaction. - Disk storage: amount of disk space required to store database files. No one factor is always correct. Have to trade each off against another to achieve reasonable balance. Need to understand how the various hardware components interact and affect database performance. Pearson Education © 2009

Step 8 Monitor & Tune Operational System DreamHome wish to hold pictures of properties, and comments that describe main features of property. Pearson Education © 2009