CS317 File and Database Systems

Size: px
Start display at page:

Download "CS317 File and Database Systems"

Transcription

1 CS317 File and Database Systems Lecture 8 Normalization, Bottom-Up from UNF to BCNF October 17, 2017 Sam Siewert

2 Inside a Datacenter E.g. Green House 1 Rack is 42 Rack Units [U = 1.75 ], Feet High, Stacked HDD Storage 2U to 4U, 3.5 HDD SSD Storage 1U to 2U, 2.5 SSD Computing 1U to 4U Servers Standard Rack Depth = 36, Width = 19 or 23 Hot Rows [Fan Exhaust], Cold Rows [Front Panels] Power, Chillers for Air Handling, Optional Liquid Cooling E.g. Emerson Liebert 120/240VAC Power Conditioning and Distribution E.g. Eaton and Pulizzi PDU DC Telco Rack Alternatives [Higher Efficiency, Less Convenient] Sam Siewert Typical Datacenter Rack [E.g. DreamWorks, Microsoft, Green House, NCAR, NOAA, DoE, Xerox, Amazon, ] Sam Siewert 2

3 Basic Datacenter Figures of Merit [2014] Power Density 10 KW Per Rack 120/240VAC, 20Amp Circuits, 1-Phase Loads E.g. 10KW Per Rack, 2 x 20Amp 240VAC PDU Dual Circuit for Dual Power Supply Computing and Storage Hot Swap Power Units in Servers and Storage Enclosures Storage Density TB/U, 1PB Rack is 24 to 48 TB/U TB HDDs, 180TB in 4U, 45TB/U RAID10 is Striped and Mirrored Storage (Typical for DBMS) E.g. LC SFP Compute Density 2 or 4 Socket 1U/2U Servers E.g. 8 Cores/CPU, 4 CPU Sockets, HT3 or QPI, 32 per U Network Port Density and Bandwidth GigE, 10GE, 40G Infiniband or Bonded 10GE, 100G CEE Ports Per Server, Copper [Twinax, TP, IB] or Multi-mode Optical [LC/SC SFP/SFP+ connectors], Typically 2 to 4 or More SFP Transceivers Copper or Optical LC/SC Connectors for Optical Switch Port Density Sam Siewert 3

4 Significance of Normalization Structured (Normalized), Indexed, Searchable, High Veracity Data E.g. 2TB HDD Could Hold 6.8 Kilobytes of Data on Every Person in US 1 Petabyte [RAID 10 42U Rack] Stores 3 Megabytes for Every US Citizen E.g. All Documented Life Events [Legal, Travel, Residency] 1000 Racks, 1 Exabyte Structured + Unstructured Data [ and Audio] NSA Utah Estimated to Store up to 3 to 12 Exabytes by Forbes 180 Petabytes for 24 hour Audio on 300 million People 300 Petabytes for 1 Year of Phone Conversations on all US Citizens [Forbes] Unstructured BLOB Files [Documents, Images, Audio, Video] Audio with Compression [10 to 200 hours of MP3 per 640MB CD] Easily 24 hours on an MP3 CD of Intelligible Conversation Images - JPEG Lossy [10:1 to 20:1], PNG Lossless [4:1 to 10:1] MPEG Compression is 20:1 to 100:1 [Lossy] for I-frame and MVQ B/P-frames 24 Hours of SD Video is about 50 Gigabytes of Data [10 SD DVDs] 14,305 Racks of RAID-10 Disk for a Day of 30Hz SD Video of All US Citizens Structured Data Financial & Legal Transactions, Records Unstructured Documents, , Audio, Snapshots, [Some Video] Not Only Capture and Store, but Search! Sam Siewert 4

5 Ex #4 Posted Reminders Assignment #3 Returned Next Week Assignment #5, Physical DB Design and Project! Assignment #6, Complete DBMS Project FINAL Design Schema for DBMS project in a small team Logical design focus Normalization Physical is MySQL on PRClab Combine Network Applications with DBMS in C/C++, JDBC, or Python - Add Stored Programs and Triggers Add Views Create Transactions where needed Sam Siewert 5

6 Normalization Concern is Duplication of Data in DBMS and Hazards Wastes Space Duplicate Data Insert Hazard - New Staff Row Also Assigned to B007, Second Insert of baddress, must match that Already Existing for SA9 Delete Hazard SA9 Quits, Row Delete, Lose B007 baddress Modification Hazard baddress Change for B005 or B003 Foreign Keys are Exception (Expected Redundancy for Relational Model) 14.3 UNF [1NF] Redundant Attribute Data Sam Siewert 6

7 The Process of Normalization [Follow Rules for Relational Table Design and Hints coming from ER/EER Information Model] UNF Paper, Spreadsheet 7

8 The Process of Normalization [Bottom-Up Tables] 8

9 UNF -> 3NF Minimizes Update Anomalies [Insert, Update, Delete], Page 420 to 426 One Client Renting Multiple Properties Typical of Spreadsheet, Paper UNF cno cname pno paddr start finish Rent ono oname CR76 John Kay PG4, PG16 6 Lawrence Street, 5 Novar Drive 7/1/12, 9/1/13 8/31/13, 9/1/14 350, 50 CO40, CO93 Tina Murphy, Tony Shaw CR56 Aline Stewart PG4, PG36, PG16 6 Lawrence Street, 2 Manor Road, 5 Novar Drive 9/1/11, 10/1/12, 11/1/14 6/10/12, 12/1/13, 8/10/ CO40 CO93 CO93 Tina Murphy, Tony Shaw, Tony Shaw Client Rental PropertyOwner 2NF Client Rental PropertyForRent Owner 3NF Sam Siewert 9

10 UNF -> 1NF UNF Table with ONE or MORE Repeating Groups [Tuple Sub-set] 1NF Relation where Intersection of Each Row and Column has ONE Value UNF cno cname pno paddr start finish Rent ono oname CR76 John Kay PG4, PG16 6 Lawrence Street, 5 Novar Drive 7/1/12, 9/1/13 8/31/13, 9/1/14 350, 50 CO40, CO93 Tina Murphy, Tony Shaw CR56 Aline Stewart PG4, PG36, PG16 6 Lawrence Street, 2 Manor Road, 5 Novar Drive 9/1/11, 10/1/12, 11/1/14 6/10/12, 12/1/13, 8/10/ CO40 CO93 CO93 Tina Murphy, Tony Shaw, Tony Shaw NF (Still Suffers all 3 Hazards) cno cname pno paddr start finish Rent ono oname CR76 John Kay PG4 6 Lawrence Street 7/1/12 8/31/ CO40 Tina Murphy CR76 John Kay PG16 5 Novar Drive 9/1/13 9/1/14 50 CO93 Tony Shaw CR56 Aline Stewart PG4 6 Lawrence Street 9/1/11 6/10/ CO40 Tina Murphy CR56 Aline Stewart PG36 2 Manor Road 10/1/12 12/1/ CO93 Tony Shaw CR56 Aline Stewart PG16 5 Novar Drive 11/1/14 8/10/ CO93 Tony Shaw Sam Siewert 10

11 1NF -> 2NF 1NF Relation where Intersection of Row and Column Has ONE Value 2NF 1NF Relation where Every Non-Primary Key Attribute is Fully Functionally Dependent on the PK [ER 1..1 to 1..1 Relations] NF (Suffers all 3 Hazards) cno cname pno paddr start finish Rent ono oname CR76 John Kay PG4 6 Lawrence Street 7/1/12 8/31/ CO40 Tina Murphy CR76 John Kay PG16 5 Novar Drive 9/1/13 9/1/14 50 CO93 Tony Shaw CR56 Aline Stewart PG4 6 Lawrence Street 9/1/11 6/10/ CO40 Tina Murphy CR56 Aline Stewart PG36 2 Manor Road 10/1/12 12/1/ CO93 Tony Shaw CR56 Aline Stewart PG16 5 Novar Drive 11/1/14 8/10/ CO93 Tony Shaw NF (Still Suffers Update Hazard Due to Transitive Dependency pno -> ono -> oname) cno [PK] CR76 CR56 cname John Kay Aline Stewart cno pno start finish CR76 PG4 7/1/12 8/31/13 CR76 PG16 9/1/13 9/1/14 CR56 PG4 9/1/11 6/10/12 CR56 PG36 10/1/12 12/1/13 CR56 PG16 11/1/14 8/10/15 pno paddress rent ono oname PG4 6 Lawrence Street 350 CO40 Tina Murphy PG16 5 Novar Drive 450 CO93 Tony Shaw Sam Siewert PG36 2 Manor Road 375 CO93 Tony Shaw 11

12 Figure Alternate 1NF cno [PK] CR76 CR56 cname John Kay Aline Stewart cno pno paddr start finish Rent ono oname CR76 PG4 6 Lawrence Street 7/1/12 8/31/ CO40 Tina Murphy CR76 PG16 5 Novar Drive 9/1/13 9/1/14 50 CO93 Tony Shaw CR56 PG4 6 Lawrence Street 9/1/11 6/10/ CO40 Tina Murphy CR56 PG36 2 Manor Road 10/1/12 12/1/ CO93 Tony Shaw CR56 PG16 5 Novar Drive 11/1/14 8/10/ CO93 Tony Shaw Sam Siewert 12

13 2NF -> 3NF [Also BCNF] 2NF 1NF Relation where Every Non-Primary Key Attribute is Fully Functionally Dependent on the PK [ER 1..1 to 1..1 Relations] 3NF 2NF Relation where no Non-PK Attribute is Transitively Dependent on a PK NF (Still Suffers Update Hazard Due to Transitive Dependency pno -> ono -> oname) cno [PK] CR76 CR56 cname John Kay Aline Stewart cno pno start finish CR76 PG4 7/1/12 8/31/13 CR76 PG16 9/1/13 9/1/14 CR56 PG4 9/1/11 6/10/12 CR56 PG36 10/1/12 12/1/13 CR56 PG16 11/1/14 8/10/15 pno paddress rent ono oname PG4 6 Lawrence Street 350 CO40 Tina Murphy PG16 5 Novar Drive 450 CO93 Tony Shaw PG36 2 Manor Road 375 CO93 Tony Shaw pno [PK] paddress rent ono [FK] PG4 6 Lawrence Street 350 CO40 PG16 5 Novar Drive 450 CO93 PG36 2 Manor Road 375 CO93 ono [PK] CO40 CO93 oname Tina Murphy Tony Shaw Sam Siewert 13

14 Lossless-Join Property of 3NF Fundamental Point P. 425 Lossless-Join Reversibility 3NF is a Process to Apply Relational Algebra Projections Creates a Lossless-Join Decomposition (Reducing or Eliminating Insert, Delete, Update Hazards) Using Natural Join (in a View) we Can Reverse View [Stored Query] Easily Regenerate 1NF Version UNF Could Be Re-created Via Application Report Generation 1. Elimination of Repeating Groups -> 1NF 2. 1NF -> Every Non-PK [CK?] Attribute Fully Functionally Dependent on PK [any CK?] -> 2NF (No Partial Dependencies Allowed) 3. 2NF -> No Non-PK [CK?] is Transitively Dependent on the PK [any CK?] -> 3NF Sam Siewert 14

15 Reminder SK, CK, PK, AK, FK SK Attribute of Set of Attributes that UNIQUELY identifies Tuple in Relation CK An SK, s.t. no Proper Subset is also an SK [Minimal] UNIQUIENESS CK uniquely Identifies all Tuples in Relation IRREDUCIBILITY No Proper Subset of CK has UNIQUENESS PK CK Selected to ID Tuples UNIQUELY in Relation AK CK Not Selected to be PK FK An Attribute or Set of Attributes in R 1 that Matches CK in R 1 or R 2..N Sam Siewert 15

16 Is 3NF Good Enough? Recall that PK Selection is From Set of CKs in Relation Dependencies on Remaining CKs not Used as PK? Strengthen 2NF and 3NF Definitions to Include ANY CK 1. 1NF -> Every Non-CK Attribute Fully Functionally Dependent on ANY CK -> 2NF (No Partial Dependencies Allowed) 2. 2NF -> No Non-CK is Transitively Dependent on ANY CK -> 3NF Even With STRONG 2NF & 3NF, Dependencies Can Still Cause Redundancy BCNF Considers Common Cases Sam Siewert 16

17 BCNF BCNF Relation is BCNF If-and-only-if Every Determinant is a CK Determinant Attribute or Group of Attributes on Which some OTHER Attribute is Fully Functionally Dependent 3NF allows A -> B if B is PK and A is not CK BCNF REQUIRES A to be CK [Further Constrains] Issues Arise when Relation contains 2+ Composite CKs CKs Overlap [Common Attribute] Stopping at 3NF Preferred [Sometimes] to Avoid Loss of Dependencies Sam Siewert 17

18 ClientInterview 3NF Relation BCNF Example cno intdate inttime staffno roomno CR76 5/13/14 10:30 SG5 G101 CR56 5/13/14 12:00 SG5 G101 CR74 5/13/14 12:00 SG37 G102 CR56 7/1/14 10:30 SG5 G102 ClientInterview 3 Candidate Keys 1. (cno, intdate) - PK 2. (staffno, intdate, inttime) - CK 3. (roomno, intdate, inttime) CK intdate is Overlap between 3 CKs (creates Hazard) (staffno, intdate) determinant is not a CK for ClientIntervew ClientInterview has following functional dependencies 1. (cno, intdate) -> inttime, staffno, roomno 2. (staffno, intdate, inttime) -> cno 3. (roomno, intdate, inttime) -> staffno, cno 4. staffno, intdate -> roomno Sam Siewert 18

19 ClientInterview 3NF Relation BCNF Example cno intdate inttime staffno roomno CR76 5/13/14 10:30 SG5 G101 CR56 5/13/14 12:00 SG5 G101 CR74 5/13/14 12:00 SG37 G102 CR56 7/1/14 10:30 SG5 G102 Interview Relation cno intdate inttime staffno CR76 5/13/14 10:30 SG5 CR56 5/13/14 12:00 SG5 CR74 5/13/14 12:00 SG37 CR56 7/1/14 10:30 SG5 Interview Relation staffno intdate roomno SG5 5/13/14 G101 SG37 5/13/14 G102 SG5 7/1/14 G102 Sam Siewert 19

Normalization. { Ronak Panchal }

Normalization. { Ronak Panchal } Normalization { Ronak Panchal } Chapter Objectives The purpose of normailization Data redundancy and Update Anomalies Functional Dependencies The Process of Normalization First Normal Form (1NF) Second

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 9 Intro to Physical DBMS Design October 22, 2017 Sam Siewert Reminders Assignment #4 Due Friday, Monday Late Assignment #3 Returned Assignment #5, B-Trees and Physical

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dilbert.com/strips/comic/2010-08-24/ Lecture 8 Introduction to Normalization October 17, 2017 Sam Siewert Exam #1 Questions? Reminders Working on Grading Ex #3 -

More information

Chapter 3. The Relational database design

Chapter 3. The Relational database design Chapter 3 The Relational database design Chapter 3 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 9 Conceptual, Logical, and Physical DBMS Design http://dev.mysql.com/downloads/workbench October 22, 2017 Sam Siewert Reminders Assignment #4 Due Friday Assignment

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://commons.wikimedia.org/wiki/category:r-tree#mediaviewer/file:r-tree_with_guttman%27s_quadratic_split.png Lecture 10 Physical DBMS Design October 23, 2017 Sam Siewert

More information

CS317 - File and Database Systems

CS317 - File and Database Systems CS317 - File and Database Systems http://www.thedailybeast.com/articles/2013/03/22/less-is-moo-the-genius-of-gary-larson.html Lecture 14, Part 2 Review of Concepts November 15, 2017 Sam Siewert Reminders

More information

Normalisation. Normalisation. Normalisation

Normalisation. Normalisation. Normalisation Normalisation Normalisation Main objective in developing a logical data model for relational database systems is to create an accurate and efficient representation of the data, its relationships, and constraints

More information

DBMS Chapter Three IS304. Database Normalization-Comp.

DBMS Chapter Three IS304. Database Normalization-Comp. Database Normalization-Comp. Contents 4. Boyce Codd Normal Form (BCNF) 5. Fourth Normal Form (4NF) 6. Fifth Normal Form (5NF) 7. Sixth Normal Form (6NF) 1 4. Boyce Codd Normal Form (BCNF) In the first

More information

Database Technologies. Madalina CROITORU IUT Montpellier

Database Technologies. Madalina CROITORU IUT Montpellier Database Technologies Madalina CROITORU croitoru@lirmm.fr IUT Montpellier Part 5 NORMAL FORMS AND NORMALISATION Database design In the database design one can follow a bottom up approach or a top down

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 3 Relational Model & Languages Part-1 September 7, 2018 Sam Siewert More Embedded Systems Summer - Analog, Digital, Firmware, Software Reasons to Consider Catch

More information

Unit I. Introduction to Database. Prepared By: Prof.Sushila Aghav. Ref.Database Concepts by Korth

Unit I. Introduction to Database. Prepared By: Prof.Sushila Aghav. Ref.Database Concepts by Korth Unit I Introduction to Database Prepared By: Prof.Sushila Aghav Ref.Database Concepts by Korth Contents Database Concepts Data Models & Types Relational Database-R Model(Table) ER Modeling Concepts of

More information

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38 Student Info StudentID: Center: ExamDate: MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: 1356458 Time: 60 min Marks: 38 BC080402322 OPKST 5/28/2010 12:00:00 AM

More information

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

Database Normalization

Database Normalization Database Normalization Todd Bacastow IST 210 1 Overview Introduction The Normal Forms Relationships and Referential Integrity Real World Exercise 2 Keys in the relational model Superkey A set of one or

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dilbert.com/strips/comic/1995-10-11/ Lecture 5 More SQL and Intro to Stored Procedures September 24, 2017 Sam Siewert SQL Theory and Standards Completion of SQL in

More information

Chapter 14. Chapter 14 - Objectives. Purpose of Normalization. Purpose of Normalization

Chapter 14. Chapter 14 - Objectives. Purpose of Normalization. Purpose of Normalization Chapter 14 - Objectives Chapter 14 Normalization The purpose of normalization. How normalization can be used when designing a relational database. The potential problems associated with redundant data

More information

From Spreadsheets to Relational Databases and Back

From Spreadsheets to Relational Databases and Back From Spreadsheets to Relational Databases and Back Jácome Cunha João Saraiva Joost Visser Departamento de Informática Universidade do Minho Portugal SIG & CWI The Netherlands PEPM 09, January, 19-20 Motivation

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 3 Relational Calculus and Algebra Part-2 September 7, 2018 Sam Siewert RDBMS Fundamental Theory http://dilbert.com/strips/comic/2008-05-07/ Relational Algebra and

More information

<Insert Picture Here> Exadata Hardware Configurations and Environmental Information

<Insert Picture Here> Exadata Hardware Configurations and Environmental Information Exadata Hardware Configurations and Environmental Information Revised July 1, 2011 Agenda Exadata Hardware Overview Environmental Information Power InfiniBand Network Ethernet Network

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

Discovery-based Edit Assistance for Spreadsheets

Discovery-based Edit Assistance for Spreadsheets Discovery-based Edit Assistance for Spreadsheets Jácome Cunha Departamento de Informática Universidade do Minho Portugal Join work with João Saraiva (DI/UM) and Joost Visser (SIG) VL-HCC 2009 - Corvallis,

More information

TECHNICAL SPECIFICATIONS + TECHNICAL OFFER

TECHNICAL SPECIFICATIONS + TECHNICAL OFFER ANNEX II + III : TECHNICAL SPECIFICATIONS + TECHNICAL OFFER Contract title : Supply of Information & Communication Technology Hardware Publication reference: 2017/386304 10/1/1.1/1.2.2a p 1 / Columns 1-2

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 3 Relational Calculus and Algebra Part-2 September 10, 2017 Sam Siewert RDBMS Fundamental Theory http://dilbert.com/strips/comic/2008-05-07/ Relational Algebra and

More information

Lecture5 Functional Dependencies and Normalization for Relational Databases

Lecture5 Functional Dependencies and Normalization for Relational Databases College of Computer and Information Sciences - Information Systems Dept. Lecture5 Functional Dependencies and Normalization for Relational Databases Ref. Chapter14-15 Prepared by L. Nouf Almujally & Aisha

More information

CSCU9Q5. Administrivia & Topics to be covered. Traditional File-Based Systems. Problems with Manual Filing Systems. CSCU9Q5- Database P&A

CSCU9Q5. Administrivia & Topics to be covered. Traditional File-Based Systems. Problems with Manual Filing Systems. CSCU9Q5- Database P&A CSCU9Q5 Database Principles and Applications Introduction to Databases 1 Administrivia & Topics to be covered Administrivia: Teaching Team: (Co-ordinator) Prof. Amir Hussain, 4X3, E-mail: ahu@cs.stir.ac.uk

More information

CS211 Lecture: Database Design

CS211 Lecture: Database Design CS211 Lecture: Database Design Objectives: last revised November 21, 2006 1. To introduce the anomalies that result from redundant storage of data 2. To introduce the notion of functional dependencies

More information

Draw A Relational Schema And Diagram The Functional Dependencies In The Relation >>>CLICK HERE<<<

Draw A Relational Schema And Diagram The Functional Dependencies In The Relation >>>CLICK HERE<<< Draw A Relational Schema And Diagram The Functional Dependencies In The Relation I need to draw relational schema and dependency diagram showing transitive and partial Functional dependency and normalization

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 9 Normalizing Database Designs

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 9 Normalizing Database Designs Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 9 Normalizing Database Designs NORMALIZATION What is normalization? Normalization is a procedure that is

More information

Chapter 4. The Relational Model

Chapter 4. The Relational Model Chapter 4 The Relational Model Chapter 4 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational model.

More information

In This Lecture. Normalisation to BCNF. Lossless decomposition. Normalisation so Far. Relational algebra reminder: product

In This Lecture. Normalisation to BCNF. Lossless decomposition. Normalisation so Far. Relational algebra reminder: product In This Lecture Normalisation to BCNF Database Systems Lecture 12 Natasha Alechina More normalisation Brief review of relational algebra Lossless decomposition Boyce-Codd normal form (BCNF) Higher normal

More information

Transforming ER to Relational Schema

Transforming ER to Relational Schema Transforming ER to Relational Schema Transformation of ER Diagrams to Relational Schema ER Diagrams Entities (Strong, Weak) Relationships Attributes (Multivalued, Derived,..) Generalization Relational

More information

Steps in normalisation. Steps in normalisation 7/15/2014

Steps in normalisation. Steps in normalisation 7/15/2014 Introduction to normalisation Normalisation Normalisation = a formal process for deciding which attributes should be grouped together in a relation Normalisation is the process of decomposing relations

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dilbert.com/strips/comic/2010-01-18/ Lecture 14 Network Client Access to DBMS November 15, 2017 Sam Siewert Reminders PLEASE FILL OUT COURSE EVALUATIONS ON CANVAS

More information

Efficiency at Scale. Sanjeev Kumar Director of Engineering, Facebook

Efficiency at Scale. Sanjeev Kumar Director of Engineering, Facebook Efficiency at Scale Sanjeev Kumar Director of Engineering, Facebook International Workshop on Rack-scale Computing, April 2014 Agenda 1 Overview 2 Datacenter Architecture 3 Case Study: Optimizing BLOB

More information

Normalization Rule. First Normal Form (1NF) Normalization rule are divided into following normal form. 1. First Normal Form. 2. Second Normal Form

Normalization Rule. First Normal Form (1NF) Normalization rule are divided into following normal form. 1. First Normal Form. 2. Second Normal Form Normalization Rule Normalization rule are divided into following normal form. 1. First Normal Form 2. Second Normal Form 3. Third Normal Form 4. BCNF First Normal Form (1NF) As per First Normal Form, no

More information

Normalization. Murali Mani. What and Why Normalization? To remove potential redundancy in design

Normalization. Murali Mani. What and Why Normalization? To remove potential redundancy in design 1 Normalization What and Why Normalization? To remove potential redundancy in design Redundancy causes several anomalies: insert, delete and update Normalization uses concept of dependencies Functional

More information

IS 263 Database Concepts

IS 263 Database Concepts IS 263 Database Concepts Lecture 4: Normalization Instructor: Henry Kalisti 1 Department of Computer Science and Engineering Limitations of E- R Designs Provides a set of guidelines, does not result in

More information

Lecture 03. Spring 2018 Borough of Manhattan Community College

Lecture 03. Spring 2018 Borough of Manhattan Community College Lecture 03 Spring 2018 Borough of Manhattan Community College 1 2 Outline 1. Brief History of the Relational Model 2. Terminology 3. Integrity Constraints 4. Views 3 History of the Relational Model The

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dev.mysql.com/downloads/workbench Using MySQL Workbench [PRClab] August 25, 2015 Sam Siewert Resources for MySQL-Workbench Examine Use of MySQL Workbench to Go Between

More information

THE RELATIONAL DATABASE MODEL

THE RELATIONAL DATABASE MODEL THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies

More information

NORMAL FORMS. CS121: Relational Databases Fall 2017 Lecture 18

NORMAL FORMS. CS121: Relational Databases Fall 2017 Lecture 18 NORMAL FORMS CS121: Relational Databases Fall 2017 Lecture 18 Equivalent Schemas 2 Many different schemas can represent a set of data Which one is best? What does best even mean? Main goals: Representation

More information

Relational Design: Characteristics of Well-designed DB

Relational Design: Characteristics of Well-designed DB 1. Minimal duplication Relational Design: Characteristics of Well-designed DB Consider table newfaculty (Result of F aculty T each Course) Id Lname Off Bldg Phone Salary Numb Dept Lvl MaxSz 20000 Cotts

More information

CMP-3440 Database Systems

CMP-3440 Database Systems CMP-3440 Database Systems Relational DB Languages Relational Algebra, Calculus, SQL Lecture 05 zain 1 Introduction Relational algebra & relational calculus are formal languages associated with the relational

More information

Fundamentals of Database Systems

Fundamentals of Database Systems Fundamentals of Database Systems Assignment: 3 Due Date: 23st August, 2017 Instructions This question paper contains 15 questions in 6 pages. Q1: Consider the following relation and its functional dependencies,

More information

ISILON HD-SERIES. Isilon HD400 ARCHITECTURE SPECIFICATION SHEET Dell Inc. or its subsidiaries.

ISILON HD-SERIES. Isilon HD400 ARCHITECTURE SPECIFICATION SHEET Dell Inc. or its subsidiaries. SPECIFICATION SHEET ISILON HD-SERIES Isilon HD400 The rapid growth of unstructured data combined with increasingly stringent compliance requirements is resulting in a growing need for efficient data archiving

More information

Cold Storage: The Road to Enterprise Ilya Kuznetsov YADRO

Cold Storage: The Road to Enterprise Ilya Kuznetsov YADRO Cold Storage: The Road to Enterprise Ilya Kuznetsov YADRO Agenda Technical challenge Custom product Growth of aspirations Enterprise requirements Making an enterprise cold storage product 2 Technical Challenge

More information

Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra)

Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra) Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra) Important questions Section A :(2 Marks) 1.What is Functional Dependency? Functional dependency (FD)

More information

The Relational Model and Normalization

The Relational Model and Normalization The Relational Model and Normalization 1. Introduction 2 2. Relational Model Terminology 3 4. Normal Forms 11 5. Multi-valued Dependency 21 6. The Fifth Normal Form 22 The Relational Model and Normalization

More information

A subquery is a nested query inserted inside a large query Generally occurs with select, from, where Also known as inner query or inner select,

A subquery is a nested query inserted inside a large query Generally occurs with select, from, where Also known as inner query or inner select, Sub queries A subquery is a nested query inserted inside a large query Generally occurs with select, from, where Also known as inner query or inner select, Result of the inner query is passed to the main

More information

Suggested use: infrastructure applications, collaboration/ , web, and virtualized desktops in a workgroup or distributed environments.

Suggested use: infrastructure applications, collaboration/ , web, and virtualized desktops in a workgroup or distributed environments. The IBM System x3500 M4 server provides outstanding performance for your business-critical applications. Its energy-efficient design supports more cores, memory, and data capacity in a scalable Tower or

More information

CX-240: Hybrid Cloud Storage Server that Scales to 240TB of Local RAID plus Petabytes in Azure

CX-240: Hybrid Cloud Storage Server that Scales to 240TB of Local RAID plus Petabytes in Azure CX-240: Hybrid Cloud Storage Server that Scales to 240TB of Local RAID plus Petabytes in Azure The CX-240 runs XenData Cloud File Gateway software on a Windows Server platform to store files on local RAID

More information

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g. 4541.564; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room 301-203) ADVANCED DATABASES Copyright by S.-g. Lee Review - 1 General Info. Text Book Database System Concepts, 6 th Ed., Silberschatz,

More information

Functional Dependencies & Normalization for Relational DBs. Truong Tuan Anh CSE-HCMUT

Functional Dependencies & Normalization for Relational DBs. Truong Tuan Anh CSE-HCMUT Functional Dependencies & Normalization for Relational DBs Truong Tuan Anh CSE-HCMUT 1 2 Contents 1 Introduction 2 Functional dependencies (FDs) 3 Normalization 4 Relational database schema design algorithms

More information

ELASTIC CLOUD STORAGE (ECS) APPLIANCE

ELASTIC CLOUD STORAGE (ECS) APPLIANCE Specification Sheet ELASTIC CLOUD STORAGE (ECS) APPLIANCE Dell EMC Elastic Cloud Storage (ECS ) Appliance is a multi-purpose, software-defined cloud-storage platform. This 3rd Generation object-based solution

More information

DC62 Database management system JUNE 2013

DC62 Database management system JUNE 2013 Q2 (a) Explain the differences between conceptual & external schema. Ans2 a. Page Number 24 of textbook. Q2 (b) Describe the four components of a database system. A database system is composed of four

More information

EMC SYMMETRIX VMAX 40K SYSTEM

EMC SYMMETRIX VMAX 40K SYSTEM EMC SYMMETRIX VMAX 40K SYSTEM The EMC Symmetrix VMAX 40K storage system delivers unmatched scalability and high availability for the enterprise while providing market-leading functionality to accelerate

More information

EMC SYMMETRIX VMAX 40K STORAGE SYSTEM

EMC SYMMETRIX VMAX 40K STORAGE SYSTEM EMC SYMMETRIX VMAX 40K STORAGE SYSTEM The EMC Symmetrix VMAX 40K storage system delivers unmatched scalability and high availability for the enterprise while providing market-leading functionality to accelerate

More information

Lecture 03. Fall 2017 Borough of Manhattan Community College

Lecture 03. Fall 2017 Borough of Manhattan Community College Lecture 03 Fall 2017 Borough of Manhattan Community College 1 2 Outline 1 Brief History of the Relational Model 2 Terminology 3 Integrity Constraints 4 Views 3 History of the Relational Model The Relational

More information

Cisco DCM Series D9901 Digital Content Manager IP Video Gateway

Cisco DCM Series D9901 Digital Content Manager IP Video Gateway Cisco DCM Series D9901 Digital Content Manager IP Video Gateway Today s video contribution networks are evolving rapidly with the dual drivers of increased demand, for high-definition TV, and a need for

More information

VX3000-E Unified Network Storage

VX3000-E Unified Network Storage Datasheet VX3000-E Unified Network Storage Overview VX3000-E storage, with high performance, high reliability, high available, high density, high scalability and high usability, is a new-generation unified

More information

Database Systems Redundancy, normalization

Database Systems Redundancy, normalization Database Systems Redundancy, normalization Bence Molnár Problems of relational DB schema Bad example! Invalid value (no candidate key) Name FirstName Age ID IdNr Gipsz Jakab Jakab 23 1 101 Hallgató Bálint

More information

BSc (Hons) Web Technologies, BSc (Hons) Business Information System. Examinations for / Semester 2. Resit Examinations for BIS/15B/FT

BSc (Hons) Web Technologies, BSc (Hons) Business Information System. Examinations for / Semester 2. Resit Examinations for BIS/15B/FT BSc (Hons) Web Technologies, BSc (Hons) Business Information System Cohorts: BWT/16B/FT & BIS/16B/FT Examinations for 2016-2017 / Semester 2 Resit Examinations for BIS/15B/FT MODULE: DATABASE MANAGEMENT

More information

Physical Database Design

Physical Database Design Physical Database Design January 2007 Yunmook Nah Department of Electronics and Computer Engineering Dankook University Physical Database Design Methodology - for Relational Databases - Chapter 17 Connolly

More information

To overcome these anomalies we need to normalize the data. In the next section we will discuss about normalization.

To overcome these anomalies we need to normalize the data. In the next section we will discuss about normalization. Anomalies in DBMS There are three types of anomalies that occur when the database is not normalized. These are Insertion, update and deletion anomaly. Let s take an example to understand this. Example:

More information

Chapter 6: Relational Database Design

Chapter 6: Relational Database Design Chapter 6: Relational Database Design Chapter 6: Relational Database Design Features of Good Relational Design Atomic Domains and First Normal Form Decomposition Using Functional Dependencies Second Normal

More information

StorNext M440 Site Planning Guide

StorNext M440 Site Planning Guide StorNext M440 Contents StorNext M440 Site Planning Guide Included with Your StorNext M440... 1 Professional Installation Requirements. 2 Site Requirements... 2 Shipping Information... 3 StorNext M440 System

More information

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered

More information

HUAWEI Tecal X6000 High-Density Server

HUAWEI Tecal X6000 High-Density Server HUAWEI Tecal X6000 High-Density Server Professional Trusted Future-oriented HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Tecal X6000 High-Density Server (X6000) High computing density The X6000 is 2U high and

More information

Faloutsos - Pavlo CMU SCS /615

Faloutsos - Pavlo CMU SCS /615 Faloutsos - Pavlo 15-415/615 Carnegie Mellon Univ. School of Computer Science 15-415/615 - DB Applications C. Faloutsos & A. Pavlo Lecture #4: Relational Algebra Overview history concepts Formal query

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

Overview. Carnegie Mellon Univ. School of Computer Science /615 - DB Applications. Concepts - reminder. History

Overview. Carnegie Mellon Univ. School of Computer Science /615 - DB Applications. Concepts - reminder. History Faloutsos - Pavlo 15-415/615 Carnegie Mellon Univ. School of Computer Science 15-415/615 - DB Applications C. Faloutsos & A. Pavlo Lecture #4: Relational Algebra Overview history concepts Formal query

More information

CS 2451 Database Systems: Database and Schema Design

CS 2451 Database Systems: Database and Schema Design CS 2451 Database Systems: Database and Schema Design http://www.seas.gwu.edu/~bhagiweb/cs2541 Spring 2018 Instructor: Dr. Bhagi Narahari Relational Model: Definitions Review Relations/tables, Attributes/Columns,

More information

APC by Schneider Electric Solutions for Cisco Unified Computing System (UCS) Blade Applications

APC by Schneider Electric Solutions for Cisco Unified Computing System (UCS) Blade Applications APC by Schneider Electric Solutions for Cisco Unified Computing System (UCS) Blade Applications The Cisco Unified Computing System is a next-generation data center platform that unites compute, network,

More information

Relational Data Model ( 관계형데이터모델 )

Relational Data Model ( 관계형데이터모델 ) Relational Data Model ( 관계형데이터모델 ) Outline Terminology of Relational Model Mathematical Relations and Database Tables Candidate, Primary, and Foreign Keys Terminology in the Relational Model Relation:

More information

apple Service Source Xserve RAID 17 March Apple Computer, Inc. All rights reserved.

apple Service Source Xserve RAID 17 March Apple Computer, Inc. All rights reserved. apple Service Source Xserve RAID 17 March 2003 2003 Apple Computer, Inc. All rights reserved. apple Service Source Basics Xserve RAID 2003 Apple Computer, Inc. All rights reserved. Overview Xserve RAID

More information

NST6000 UNIFIED HYBRID STORAGE. Performance, Availability and Scale for Any SAN and NAS Workload in Your Environment

NST6000 UNIFIED HYBRID STORAGE. Performance, Availability and Scale for Any SAN and NAS Workload in Your Environment DATASHEET TM NST6000 UNIFIED HYBRID STORAGE Performance, Availability and Scale for Any SAN and NAS Workload in Your Environment UNIFIED The Nexsan NST6000 unified hybrid storage system is ideal for organizations

More information

Cisco UCS S3260 System Storage Management

Cisco UCS S3260 System Storage Management Storage Server Features and Components Overview, page 1 Cisco UCS S3260 Storage Management Operations, page 9 Disk Sharing for High Availability, page 10 Storage Enclosure Operations, page 15 Storage Server

More information

EMC ISILON S-SERIES. Specifications. EMC Isilon S200. EMC Isilon S210 ARCHITECTURE

EMC ISILON S-SERIES. Specifications. EMC Isilon S200. EMC Isilon S210 ARCHITECTURE EMC ISILON S-SERIES EMC Isilon S200 EMC Isilon S210 The EMC Isilon S-Series, powered by the OneFS operating system, uses a highly versatile yet simple scale-out storage architecture to speed access to

More information

Lot # 10 - Servers. 1. Rack Server. Rack Server Server

Lot # 10 - Servers. 1. Rack Server. Rack Server Server 1. Rack Server Rack Server Server Processor: 1 x Intel Xeon E5 2620v3 (2.4GHz/6 core/15mb/85w) Processor Kit. Upgradable to 2 CPU Chipset: Intel C610 Series Chipset. Intel E5 2600v3 Processor Family. Memory:

More information

Technical Specifications

Technical Specifications Technical s This appendix lists the technical specifications for the Cisco UCS 5108 server chassis and includes the following sections: KVM Cable, page 1 Chassis s, page 2 Environmental s, page 3 s for

More information

Interface Trends for the Enterprise I/O Highway

Interface Trends for the Enterprise I/O Highway Interface Trends for the Enterprise I/O Highway Mitchell Abbey Product Line Manager Enterprise SSD August 2012 1 Enterprise SSD Market Update One Size Does Not Fit All : Storage solutions will be tiered

More information

DX-Series: Disk Archive to 320 TB with Continuous Backup to LTO, Optical Disc or the Cloud

DX-Series: Disk Archive to 320 TB with Continuous Backup to LTO, Optical Disc or the Cloud DX-Series: Disk Archive to 320 TB with Continuous Backup to LTO, Optical Disc or the Cloud The DX-Series disk archive have high performance high capacity RAID with Continuous Data Protection to an LTO

More information

CS6302 DBMS 2MARK & 16 MARK UNIT II SQL & QUERY ORTIMIZATION 1. Define Aggregate Functions in SQL? Aggregate function are functions that take a collection of values as input and return a single value.

More information

DATABASE MANAGEMENT SYSTEMS

DATABASE MANAGEMENT SYSTEMS www..com Code No: N0321/R07 Set No. 1 1. a) What is a Superkey? With an example, describe the difference between a candidate key and the primary key for a given relation? b) With an example, briefly describe

More information

Databases -Normalization I. (GF Royle, N Spadaccini ) Databases - Normalization I 1 / 24

Databases -Normalization I. (GF Royle, N Spadaccini ) Databases - Normalization I 1 / 24 Databases -Normalization I (GF Royle, N Spadaccini 2006-2010) Databases - Normalization I 1 / 24 This lecture This lecture introduces normal forms, decomposition and normalization. We will explore problems

More information

TELCO. Tomi Männikkö/HW Architect, Datacenter R&D/ Nokia

TELCO. Tomi Männikkö/HW Architect, Datacenter R&D/ Nokia TELCO EDGE SERVER AND CHASSIS Tomi Männikkö/HW Architect, Datacenter R&D/ Nokia Open edge chassis overview Key specifications 3U, 19 mountable (EIA-310 compatible) 130.6 x 440 x 430 mm (H x W x D) 1U and

More information

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization.

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 7.5 逻辑数据库设计 OBJECTIVES How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 2 OBJECTIVES How to validate a logical data model

More information

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I CS2255 DATABASE MANAGEMENT SYSTEMS CLASS: II YEAR CSE SEM:04 STAFF INCHARGE: Mr S.GANESH,AP/CSE QUESTION BANK UNIT I 2 MARKS List the purpose of Database System (or) List the drawback of normal File Processing

More information

Functional Dependencies and Normalization

Functional Dependencies and Normalization Functional Dependencies and Normalization Jose M. Peña jose.m.pena@liu.se Overview Real world Databases DBMS Model Physical database Queries Processing of queries and updates Access to stored data Answers

More information

2.2.2.Relational Database concept

2.2.2.Relational Database concept Foreign key:- is a field (or collection of fields) in one table that uniquely identifies a row of another table. In simpler words, the foreign key is defined in a second table, but it refers to the primary

More information

Architecting High Performance Computing Systems for Fault Tolerance and Reliability

Architecting High Performance Computing Systems for Fault Tolerance and Reliability Architecting High Performance Computing Systems for Fault Tolerance and Reliability Blake T. Gonzales HPC Computer Scientist Dell Advanced Systems Group blake_gonzales@dell.com Agenda HPC Fault Tolerance

More information

This lecture. Databases -Normalization I. Repeating Data. Redundancy. This lecture introduces normal forms, decomposition and normalization.

This lecture. Databases -Normalization I. Repeating Data. Redundancy. This lecture introduces normal forms, decomposition and normalization. This lecture Databases -Normalization I This lecture introduces normal forms, decomposition and normalization (GF Royle 2006-8, N Spadaccini 2008) Databases - Normalization I 1 / 23 (GF Royle 2006-8, N

More information

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, normal forms. University of Edinburgh - January 25 th, 2016

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, normal forms. University of Edinburgh - January 25 th, 2016 Applied Databases Lecture 5 ER Model, normal forms Sebastian Maneth University of Edinburgh - January 25 th, 2016 Outline 2 1. Entity Relationship Model 2. Normal Forms Keys and Superkeys 3 Superkey =

More information

John Fragalla TACC 'RANGER' INFINIBAND ARCHITECTURE WITH SUN TECHNOLOGY. Presenter s Name Title and Division Sun Microsystems

John Fragalla TACC 'RANGER' INFINIBAND ARCHITECTURE WITH SUN TECHNOLOGY. Presenter s Name Title and Division Sun Microsystems TACC 'RANGER' INFINIBAND ARCHITECTURE WITH SUN TECHNOLOGY SUBTITLE WITH TWO LINES OF TEXT IF NECESSARY John Fragalla Presenter s Name Title and Division Sun Microsystems Principle Engineer High Performance

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization CSE 544 Principles of Database Management Systems Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization References R&G Book. Chapter 19: Schema refinement and normal forms Also relevant to this

More information

Unit 3 : Relational Database Design

Unit 3 : Relational Database Design Unit 3 : Relational Database Design Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Content Relational Model: Basic concepts, Attributes and Domains, CODD's Rules, Relational

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization CSE 544 Principles of Database Management Systems Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization References R&G Book. Chapter 19: Schema refinement and normal forms Also relevant to

More information

OCR GCSE Computing Learning Grids H/W

OCR GCSE Computing Learning Grids H/W COMPUTING GCSE OCR J275 OCR GCSE Computing Learning Grids H/W Unit A451: Computer Systems and Programming This learning grid H/W belongs to: Name: Form: Mr. Ahmed A451 - ATTENTION! Please read! These learning

More information

The Genesis HyperMDC is a scalable metadata cluster designed for ease-of-use and quick deployment.

The Genesis HyperMDC is a scalable metadata cluster designed for ease-of-use and quick deployment. The Genesis HyperMDC is a scalable metadata cluster designed for ease-of-use and quick deployment. IPMI Control Dual Power Supplies Enhanced Metadata Uptime Storage Up to 1.3M IOPS and 5,500 MBps throughput

More information