Physical Database Design Data Migration/Conversion.

Slides:



Advertisements
Similar presentations
DB glossary (focus on typical SQL RDBMS, not XQuery or SPARQL)
Advertisements

Tuning: overview Rewrite SQL (Leccotech)Leccotech Create Index Redefine Main memory structures (SGA in Oracle) Change the Block Size Materialized Views,
Physical DataBase Design
Day 3 - Basics of MySQL What is MySQL What is MySQL How to make basic tables How to make basic tables Simple MySQL commands. Simple MySQL commands.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Key.
Physical Database Design CIT alternate keys - named constraints - indexes.
IS 4420 Database Fundamentals Chapter 6: Physical Database Design and Performance Leon Chen.
1004INT Information Systems Week 10 Databases as Business Tools.
SQL Table Basics. Database Objects Tables Temporary tables (begin with #) Views Keys Indexes.
8-1 Outline  Overview of Physical Database Design  File Structures  Query Optimization  Index Selection  Additional Choices in Physical Database Design.
Chapter 8 Physical Database Design. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Overview of Physical Database.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Chapter 6 Physical Database Design. Introduction The purpose of physical database design is to translate the logical description of data into the technical.
Using XML in SQL Server 2005 NameTitleCompany. XML Overview Business Opportunity The majority of all data transmitted electronically between organizations.
Systems analysis and design, 6th edition Dennis, wixom, and roth
Chapters 17 & 18 Physical Database Design Methodology.
IT The Relational DBMS Section 06. Relational Database Theory Physical Database Design.
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.
SQL Server 7.0 Maintaining Referential Integrity.
1 © Prentice Hall, 2002 Chapter 6: Physical Database Design and Performance Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Constraints, Triggers and Index James Wang.
SQL Server Indexes Indexes. Overview Indexes are used to help speed search results in a database. A careful use of indexes can greatly improve search.
DBMS Implementation Chapter 6.4 V3.0 Napier University Dr Gordon Russell.
Object Persistence (Data Base) Design Chapter 13.
1 CS 430 Database Theory Winter 2005 Lecture 16: Inside a DBMS.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Physical Database Design Transparencies. ©Pearson Education 2009 Chapter 11 - Objectives Purpose of physical database design. How to map the logical database.
1 Agenda – 04/18/2006 and 04/20/2006 Identify tasks in physical database design. Define the design goals for physical database design. Discuss relevant.
SQL Basics. What is SQL? SQL stands for Structured Query Language. SQL lets you access and manipulate databases.
Indexes / Session 2/ 1 of 36 Session 2 Module 3: Types of Indexes Module 4: Maintaining Indexes.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
Visual Programing SQL Overview Section 1.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Indexes and Views Unit 7.
University of Sunderland COM 220 Lecture Ten Slide 1 Database Performance.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Chapter 8 Physical Database Design. Outline Overview of Physical Database Design Inputs of Physical Database Design File Structures Query Optimization.
Session 1 Module 1: Introduction to Data Integrity
>> Introduction to MySQL. Introduction Structured Query Language (SQL) – Standard Database Language – Manage Data in a DBMS (Database Management System)
Creating Indexes on Tables An index provides quick access to data in a table, based on the values in specified columns. A table can have more than one.
Relational Database Management System(RDBMS) Structured Query Language(SQL)
IS6146 Databases for Management Information Systems Lecture 3: SQL III – The DDL Rob Gleasure robgleasure.com.
Chapter 3: Relational Databases
Table Structures and Indexing. The concept of indexing If you were asked to search for the name “Adam Wilbert” in a phonebook, you would go directly to.
1 Indexes ► Sort data logically to improve the speed of searching and sorting operations. ► Provide rapid retrieval of specified rows from the table without.
MySQL Tutorial. Databases A database is a container that groups together a series of tables within a single structure Each database can contain 1 or more.
SQL. Internet technologies – Ohad © Database  A database is a collection of data  A database management system (DBMS) is software designed to assist.
SQL Basics Review Reviewing what we’ve learned so far…….
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
Rob Gleasure robgleasure.com
Rob Gleasure robgleasure.com
Physical Database Design and Performance
Using SQL Server through Command Prompt
CHAPTER 5: PHYSICAL DATABASE DESIGN AND PERFORMANCE
Lecturer: Mukhtar Mohamed Ali “Hakaale”
Session #, Speaker Name Indexing Chapter 8 11/19/2018.
Lecture 12 Lecture 12: Indexing.
Physical Database Design
Chapter 4 Indexes.
CH 4 Indexes.
Structured Query Language
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
CH 4 Indexes.
HAVING,INDEX,COMMIT & ROLLBACK
Rob Gleasure robgleasure.com
Data Management Innovations 2017 High level overview of DB
Indexes and more Table Creation
Presentation transcript:

Physical Database Design Data Migration/Conversion

What is physical DB design? The organization of the internal data model to strike a balance between performance and usability. a.k.a “When to De-Normalize”

Factors which Impact Physical Design Structure – table and relationship count Volume – quantity of data Volatility – rate of change of data Input Mode – how does data gets in Storage Format – data type selection Retrieval – optimizing data retrieval

Structure

Volume Volume determines DBMS selection. Right-size your DBMS.

Volatility The more volatile your data, the more hardware resources should be dedicated to it. DBMS Selection should also play a factor.

Input Mode High input modes need simplified table designs and more hardware resources.

Storage Format Right-sized column data types. Int vs. varchar Date vs. varchar Accuracy vs. performance – (Defaults, check constraints )

Retrieval Index – a thread over columns in a table which speed up searches over it. Cluster – physically grouping rows of data in the same physical block on disk. Improving search at the expense of insert/update

Indexing Rule of Thumb Use Indexes The table contains over 100,000 rows The searchable field (indexed column) has a wide range of values The searchable field has a large number of null values The searchable field is queried frequently Queries retrieve less than 2% - 4% of the table’s rows Avoid Indexes There are relatively few rows in the table The column is not used for searching The majority of the queries that retrieve more than 2% - 4% of the table’s rows There is high insert or update transaction volatility CREATE [UNIQUE] [NONCLUSTERED] INDEX index_name ON table_name (column_name [ASC|DESC][,…n])

Data Migration / Conversion

What is Data Migration / Conversion? Data Migration – the act of moving data from one system to another Data Conversion – the act of moving data from one format to another. Typically as part of upgrading systems you need to do both.

Common Types In Place – all activities done on the one DMBS – Eg. Upgrade wordpress from 3.0 to Parallel – Both system running at the same time, with final cut-over. – Eg. Upgrade from Blackboard 8 to 9 Phased – parts of the system are migrated in phases. (Accompanies in-place or parallel)

The Process ExtractionCleansingTransformationLoadingVerification

SQL Example Case study example using this: