Normalisation in the Presence of Lists
|
|
|
- Pierce West
- 10 years ago
- Views:
Transcription
1 1 Normalisation in the Presence of Lists Sven Hartmann, Sebastian Link Information Science Research Centre, Massey University, Palmerston North, New Zealand 1. Motivation & Revision of the RDM 2. The Brouwerian Algebra of Nested Attributes 3. Axiomatisation of FDs 4. Redundancies and the Nested List Normal Form 5. Update Anomalies 6. Future Work
2 ADC 2004, , Dunedin, New Zealand A first Example consider Factor(Integer,Prime[Number],Exp[Number]) a typical snapshot r consists of the following tuples (12,[2,3],[2,1]), (35,[5,7],[1,1]), (37,[37],[1]), (936,[2,3,13],[3,2,1]) FDs on Factor(Integer,Prime[Number],Exp[Number]) are Factor(Integer), Factor(Prime[Number],Exp[Number]) minimal keys Factor(Prime[λ]) Factor(Exp[λ]) Factor(Exp[λ]) Factor(Prime[λ]) Is this a well-designed database? Why? Why not?
3 ADC 2004, , Dunedin, New Zealand Boyce-Codd Normal Form in the RDM FDs with X, Y R introduced by E.F. Codd in 1972 = r X Y iff t 1 [Y ] = t 2 [Y ], if t 1 [X] = t 2 [X] for any t 1, t 2 r Armstrong Axioms X Y Y X X Y X X Y X Y, Y Z X Z form minimal, sound and complete set of Inference Rules (R, Σ) in BCNF iff every X Y Σ trivial or X is R-superkey justification: (R, Σ) in BCNF iff every X Y Σ is trivial or X superkey for R iff every R-relation r with = r Σ key satisfies = r Σ iff R non-redundant wrt. Σ iff R does not have any insertion anomalies iff R does not have any replacement anomalies (type 1 or 2) only if R does not have any type 3 replacement anomalies
4 ADC 2004, , Dunedin, New Zealand Challenges with Advanced Data Models find unifying framework, extend achievements to complex object types classify data models according to the types they support Dependencies Join Problems Inclusion MVDs FDs Synthesis/Decomposition Justification of Normal Forms Normal Forms Implication Axiomatisation records sets multisets lists unions references Data Models
5 ADC 2004, , Dunedin, New Zealand The Need for Lists here: values, records of values and lists of values ordered relations time-series data, meteorological and astronomical data streams, runs of experimental data, multidimensional arrays, textual information, voices, sound, images, video, etc. subject to studies in deductive and temporal database community occur naturally in object-oriented databases (XML) bioinformatics: lists occur naturally in genomic sequence databases
6 ADC 2004, , Dunedin, New Zealand Syntax: Nested Attributes capture characteristics of objects in target database by attributes finite set U of flat attributes and dom(a) for all A U use set L of labels with U L = and λ / U L nested attributes N A(U, L): flat attributes U N A, null attribute λ N A, record-valued attributes L(N 1,..., N k ) N A, if L L and N 1,..., N k N A with k 1 list-valued attributes L[N] N A, if L L and N N A Factor(Integer,Prime[Number],Exp[Number]) is nested attribute
7 ADC 2004, , Dunedin, New Zealand Semantics: Domain Assignment extend mapping dom from flat attributes to nested attributes by: dom(λ) = {ok}, dom(l(n 1,..., N k )) = {(v 1,..., v k ) v i dom(n i )}, dom(l[n]) = {[v 1,..., v n ] v i dom(n)} empty list denoted by [ ] RDM: record-valued attributes only Dom(Factor(Integer,Prime[Number],Exp[Number])): 3-tuples where first component is some integer value and second and third components are both a finite list of integer values
8 ADC 2004, , Dunedin, New Zealand 8 define N A N A by: 2.3 Subattributes N N for all nested attributes N N A, λ A for all flat attributes A U, λ N for all list-valued attributes N N A, L(N 1,..., N k ) L(M 1,..., M k ), if N i M i for all i = 1,..., k, L[N] L[M], if N M Factor(λ, Prime[Number], Exp[λ]) is subattribute of Factor(Integer, Prime[Number], Exp[Number]) subattribute relation on nested attributes is partial order
9 ADC 2004, , Dunedin, New Zealand Semantics on Subattributes: Projection Function for M N define π N M : Dom(N) Dom(M) by: π N N π N λ : v v, : v ok, π L(N 1,...,N k ) L(M 1,...,M k ) : (v 1,..., v k ) (π N 1 M 1 (v 1 ),..., π N k M k (v k )), π L[N ] L[M ] : [v 1,..., v n ] [π N M (v 1 ),..., π N M (v n )] [ ] mapped to itself, except when projected on λ projection of (12, [2, 3], [2, 1]) on Factor(λ,Prime[Number],Exp[λ]) is (ok, [2, 3], [ok, ok])
10 ADC 2004, , Dunedin, New Zealand Operations on Subattributes Sub(N) = {X N A X N}: λ N, Y N Z, Y N Z, Y. N Z: λ N = L(λ N1,..., λ Nk ), if N = L(N 1,..., N k ), and λ N = λ else, X Y : X N Y = Y, X N Y = X and X. N Y = λ N, X. N λ N = X, N = L(N 1,..., N k ), X = L(X 1,..., X k ), Y = L(Y 1,..., Y k ): X N Y = L(X 1 N1 Y 1,..., X k Nk Y k ) for {,, }. N = L[M], X = L[X ], Y = L[Y ], {, }: X N Y = L[X M Y ], X Y : X. N Y = L[X. M Y ]
11 ADC 2004, , Dunedin, New Zealand The Brouwerian Algebra of Subattributes (Sub(N),, N, N,. N, N) is a Brouwerian Algebra (Sub(N),, N, N ) is a lattice N is top element Pseudo-Difference Z. Y of Z and Y in Sub(N) satisfies for all X Sub(N) Z. Y X if and only if Z Y X Brouwerian Complement: Y C N = N. N Y satisfies Y C X if and only if X Y = N bottom element λ N = N. N (Sub(N),, N, N, ( ) C N, λ N, N) is not a Boolean Algebra every Brouwerian Algebra is distributive
12 ADC 2004, , Dunedin, New Zealand Algebra of Factor(Integer,Prime[Number],Exp[Number])
13 ADC 2004, , Dunedin, New Zealand Axiomatisation of Functional Dependencies functional dependency on nested attribute N is X Y with X, Y Sub(N) finite r Dom(N) satisfies X Y on N ( = r X Y) iff π N X (t 1) = π N X (t 2) implies π N Y (t 1) = π N Y (t 2) The generalized Armstrong Axioms for FDs on N X Y Y X, X Y X X N Y, X Y, Y Z X Z form a minimal, sound and complete set of inference rules for the implication of FDs.
14 ADC 2004, , Dunedin, New Zealand Basis Attributes and Keys subattribute basis of N: smallest subset SubB(N) Sub(N) st every X Sub(N) is X = Z for some Z SubB(N) MaxB(N) are maximal elements, NMaxB(N) the non-maximal subattribute basis of Factor(Integer,Prime[Number],Exp[Number]): Factor(Integer,λ,λ), Factor(λ,Prime[Number],λ), Factor(λ,λ,Exp[Number]), Factor(λ,Prime[λ],λ), Factor(λ,λ,Exp[λ]) X Sub(N) superkey for N wrt Σ iff Σ = X N X Sub(N) minimal key for N wrt Σ iff X superkey and there is no proper subattribute of X also being superkey for N Factor(Integer,λ,λ) and Factor(λ,Prime[Number],Exp[Number]) are minimal keys
15 ADC 2004, , Dunedin, New Zealand Trivial FDs and BCNF for Lists = r X Y for all r Dom(N) iff Y X trivial FD on Factor(Integer,Prime[Number],Exp[Number]): Factor(Prime[Number]) Factor(Prime[λ]) (N, Σ) in BCNF iff every X Y Σ trivial or X superkey Factor(Integer,Prime[Number],Exp[Number]) not in BCNF wrt Σ as Factor(Prime[λ]) Factor(Exp[λ]) is not trivial and Factor(Prime[λ]) is not a superkey
16 ADC 2004, , Dunedin, New Zealand Redundancy and Inevitable FDs (N, Σ) redundant iff r Dom(N). = r Σ and t 1, t 2 r.t 1 t 2 and π N X Y (t 1) = π N X Y (t 2) for some non-trivial X Y Σ Factor(Prime[λ]) Factor(Exp[λ]) causes redundancies, i.e., defined in terms of non-maximal basis attribute non-maximal attributes cannot be separated from superattributes calls for better notion of redundancy Σ inev = {X Y Σ + Y X or Y NMaxB(N)} Σ inev + set of inevitable FDs on N wrt Σ (N, Σ) redundant iff r Dom(N). = r Σ and t 1, t 2 r.t 1 t 2 and πx Y N (t 1) = πx Y N (t 2) for some X Y Σ not inevitable Theorem: (N, Σ) redundant iff (N, Σ ) redundant
17 ADC 2004, , Dunedin, New Zealand The Nested List Normal Form (N, Σ) in NLNF iff every X Y Σ is inevitable or X superkey Factor(Integer,Prime[Number],Exp[Number]) is in NLNF wrt Σ BCNF implies NLNF, but not vice versa Theorem: (N, Σ) in NLNF iff (N, Σ) non-redundant Theorem: (N, Σ) in NLNF iff every X Y Σ is inevitable or X superkey Theorem: (N, Σ) in NLNF iff every r Dom(N) with = r Σ key Σ + inev satisfies = r Σ
18 ADC 2004, , Dunedin, New Zealand Update Anomalies I (N, Σ) has strong insertion anomaly iff r Dom(N) with = r Σ and t / r with = r {t} Σ key Σ + inev, but = r {t} Σ Theorem: (N, Σ) in NLNF iff (N, Σ) does not have any strong insertion anomaly (N, Σ) has strong type-1 replacement anomaly iff r Dom(N) with = r Σ and t r, t Dom(N) with π N K (t) = π N K (t ) for minimal key K on N and = r {t} {t } Σ key Σ + inev and = r {t} {t } Σ Theorem: (N, Σ) in NLNF iff (N, Σ) does not have any strong type- 1 replacement anomaly
19 ADC 2004, , Dunedin, New Zealand Update Anomalies II (N, Σ) has strong type-2 replacement anomaly iff r Dom(N) with = r Σ and t r, t Dom(N) with π N K (t) = πn K (t ) for distinguished minimal key K on N and = r {t} {t } Σ key Σ + inev and = r {t} {t } Σ Theorem: (N, Σ) in NLNF iff (N, Σ) does not have any strong type- 2 replacement anomaly (N, Σ) has strong type-3 replacement anomaly iff r Dom(N) with = r Σ and t r, t Dom(N) with π N K (t) = πn K (t ) for all minimal keys K on N and = r {t} {t } Σ key Σ + inev and = r {t} {t } Σ Theorem: (N, Σ) in NLNF does not have any strong type-3 replacement anomaly
20 ADC 2004, , Dunedin, New Zealand 20 Record and List Type: 6.1 Extensions: More Results FD implication decidable in linear time MVDs: minimal axiomatisation and finite implication problem FDs/MVDs: minimality and finite implication problem Record, List, Set and Multiset Type: sophisticated axiomatisation for FDs FD implication decidable in O(n 3 s min{s, n}) CVNF proposed and justified XML: several classes of FDs, Axiomatisations
21 6.2 Extensions: Future Research decomposition/synthesis for NLNF, CVNF unions, references interactions different classes of dependencies: inclusion and join dependencies XML: FIP and Normalisation 21
COSC344 Database Theory and Applications. Lecture 9 Normalisation. COSC344 Lecture 9 1
COSC344 Database Theory and Applications Lecture 9 Normalisation COSC344 Lecture 9 1 Overview Last Lecture Functional Dependencies This Lecture Normalisation Introduction 1NF 2NF 3NF BCNF Source: Section
Database Design and Normalization
Database Design and Normalization CPS352: Database Systems Simon Miner Gordon College Last Revised: 9/27/12 Agenda Check-in Functional Dependencies (continued) Design Project E-R Diagram Presentations
Relational Database Design
Relational Database Design To generate a set of relation schemas that allows - to store information without unnecessary redundancy - to retrieve desired information easily Approach - design schema in appropriate
Database Design and Normal Forms
Database Design and Normal Forms Database Design coming up with a good schema is very important How do we characterize the goodness of a schema? If two or more alternative schemas are available how do
Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases
Chapter 15 Basics of Functional Dependencies and Normalization for Relational Databases Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Outline Informal Design Guidelines
Schema Refinement, Functional Dependencies, Normalization
Schema Refinement, Functional Dependencies, Normalization MSCI 346: Database Systems Güneş Aluç, University of Waterloo Spring 2015 MSCI 346: Database Systems Chapter 19 1 / 42 Outline 1 Introduction Design
Functional Dependencies and Normalization
Functional Dependencies and Normalization 5DV119 Introduction to Database Management Umeå University Department of Computing Science Stephen J. Hegner [email protected] http://www.cs.umu.se/~hegner Functional
Determination of the normalization level of database schemas through equivalence classes of attributes
Computer Science Journal of Moldova, vol.17, no.2(50), 2009 Determination of the normalization level of database schemas through equivalence classes of attributes Cotelea Vitalie Abstract In this paper,
Design of Relational Database Schemas
Design of Relational Database Schemas T. M. Murali October 27, November 1, 2010 Plan Till Thanksgiving What are the typical problems or anomalies in relational designs? Introduce the idea of decomposing
Relational Database Design Theory
Relational Database Design Theory Informal guidelines for good relational designs Functional dependencies Normal forms and normalization 1NF, 2NF, 3NF BCNF, 4NF, 5NF Inference rules on functional dependencies
Theory of Relational Database Design and Normalization
Theory of Relational Database Design and Normalization (Based on Chapter 14 and some part of Chapter 15 in Fundamentals of Database Systems by Elmasri and Navathe, Ed. 3) 1 Informal Design Guidelines for
Chapter 10. Functional Dependencies and Normalization for Relational Databases
Chapter 10 Functional Dependencies and Normalization for Relational Databases Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1Semantics of the Relation Attributes 1.2 Redundant
CS 377 Database Systems. Database Design Theory and Normalization. Li Xiong Department of Mathematics and Computer Science Emory University
CS 377 Database Systems Database Design Theory and Normalization Li Xiong Department of Mathematics and Computer Science Emory University 1 Relational database design So far Conceptual database design
Database Management System
UNIT -6 Database Design Informal Design Guidelines for Relation Schemas; Functional Dependencies; Normal Forms Based on Primary Keys; General Definitions of Second and Third Normal Forms; Boyce-Codd Normal
Database Management Systems. Redundancy and Other Problems. Redundancy
Database Management Systems Winter 2004 CMPUT 391: Database Design Theory or Relational Normalization Theory Dr. Osmar R. Zaïane Lecture 2 Limitations of Relational Database Designs Provides a set of guidelines,
Week 11: Normal Forms. Logical Database Design. Normal Forms and Normalization. Examples of Redundancy
Week 11: Normal Forms Database Design Database Redundancies and Anomalies Functional Dependencies Entailment, Closure and Equivalence Lossless Decompositions The Third Normal Form (3NF) The Boyce-Codd
Schema Refinement and Normalization
Schema Refinement and Normalization Module 5, Lectures 3 and 4 Database Management Systems, R. Ramakrishnan 1 The Evils of Redundancy Redundancy is at the root of several problems associated with relational
Schema Design and Normal Forms Sid Name Level Rating Wage Hours
Entity-Relationship Diagram Schema Design and Sid Name Level Rating Wage Hours Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke 1 Database Management Systems, 2 nd Edition. R. Ramakrishnan
Relational Database Design: FD s & BCNF
CS145 Lecture Notes #5 Relational Database Design: FD s & BCNF Motivation Automatic translation from E/R or ODL may not produce the best relational design possible Sometimes database designers like to
Introduction to Databases, Fall 2005 IT University of Copenhagen. Lecture 5: Normalization II; Database design case studies. September 26, 2005
Introduction to Databases, Fall 2005 IT University of Copenhagen Lecture 5: Normalization II; Database design case studies September 26, 2005 Lecturer: Rasmus Pagh Today s lecture Normalization II: 3rd
normalisation Goals: Suppose we have a db scheme: is it good? define precise notions of the qualities of a relational database scheme
Goals: Suppose we have a db scheme: is it good? Suppose we have a db scheme derived from an ER diagram: is it good? define precise notions of the qualities of a relational database scheme define algorithms
Chapter 8. Database Design II: Relational Normalization Theory
Chapter 8 Database Design II: Relational Normalization Theory The E-R approach is a good way to start dealing with the complexity of modeling a real-world enterprise. However, it is only a set of guidelines
Relational Databases
Relational Databases Jan Chomicki University at Buffalo Jan Chomicki () Relational databases 1 / 18 Relational data model Domain domain: predefined set of atomic values: integers, strings,... every attribute
Chapter 7: Relational Database Design
Chapter 7: Relational Database Design Database System Concepts, 5th Ed. See www.db book.com for conditions on re use Chapter 7: Relational Database Design Features of Good Relational Design Atomic Domains
SQL DDL. DBS Database Systems Designing Relational Databases. Inclusion Constraints. Key Constraints
DBS Database Systems Designing Relational Databases Peter Buneman 12 October 2010 SQL DDL In its simplest use, SQL s Data Definition Language (DDL) provides a name and a type for each column of a table.
Normalisation. Why normalise? To improve (simplify) database design in order to. Avoid update problems Avoid redundancy Simplify update operations
Normalisation Why normalise? To improve (simplify) database design in order to Avoid update problems Avoid redundancy Simplify update operations 1 Example ( the practical difference between a first normal
CS143 Notes: Normalization Theory
CS143 Notes: Normalization Theory Book Chapters (4th) Chapters 7.1-6, 7.8, 7.10 (5th) Chapters 7.1-6, 7.8 (6th) Chapters 8.1-6, 8.8 INTRODUCTION Main question How do we design good tables for a relational
Functional Dependency and Normalization for Relational Databases
Functional Dependency and Normalization for Relational Databases Introduction: Relational database design ultimately produces a set of relations. The implicit goals of the design activity are: information
Functional Dependencies and Finding a Minimal Cover
Functional Dependencies and Finding a Minimal Cover Robert Soulé 1 Normalization An anomaly occurs in a database when you can update, insert, or delete data, and get undesired side-effects. These side
Normalization Theory for XML
Normalization Theory for XML Marcelo Arenas Department of Computer Science Pontificia Universidad Católica de Chile [email protected] 1 Introduction Since the beginnings of the relational model, it was
Normalisation to 3NF. Database Systems Lecture 11 Natasha Alechina
Normalisation to 3NF Database Systems Lecture 11 Natasha Alechina In This Lecture Normalisation to 3NF Data redundancy Functional dependencies Normal forms First, Second, and Third Normal Forms For more
Normalization in Database Design
in Database Design Marek Rychly [email protected] Strathmore University, @ilabafrica & Brno University of Technology, Faculty of Information Technology Advanced Databases and Enterprise Systems 14
Limitations of E-R Designs. Relational Normalization Theory. Redundancy and Other Problems. Redundancy. Anomalies. Example
Limitations of E-R Designs Relational Normalization Theory Chapter 6 Provides a set of guidelines, does not result in a unique database schema Does not provide a way of evaluating alternative schemas Normalization
Relational Normalization: Contents. Relational Database Design: Rationale. Relational Database Design. Motivation
Relational Normalization: Contents Motivation Functional Dependencies First Normal Form Second Normal Form Third Normal Form Boyce-Codd Normal Form Decomposition Algorithms Multivalued Dependencies and
Advanced Relational Database Design
APPENDIX B Advanced Relational Database Design In this appendix we cover advanced topics in relational database design. We first present the theory of multivalued dependencies, including a set of sound
Chapter 10. Functional Dependencies and Normalization for Relational Databases. Copyright 2007 Ramez Elmasri and Shamkant B.
Chapter 10 Functional Dependencies and Normalization for Relational Databases Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Chapter Outline 1 Informal Design Guidelines for Relational Databases
Testing LTL Formula Translation into Büchi Automata
Testing LTL Formula Translation into Büchi Automata Heikki Tauriainen and Keijo Heljanko Helsinki University of Technology, Laboratory for Theoretical Computer Science, P. O. Box 5400, FIN-02015 HUT, Finland
Normalization. CIS 331: Introduction to Database Systems
Normalization CIS 331: Introduction to Database Systems Normalization: Reminder Why do we need to normalize? To avoid redundancy (less storage space needed, and data is consistent) To avoid update/delete
Database Design and Normalization
Database Design and Normalization Chapter 10 (Week 11) EE562 Slides and Modified Slides from Database Management Systems, R. Ramakrishnan 1 Computing Closure F + Example: List all FDs with: - a single
Boyce-Codd Normal Form
4NF Boyce-Codd Normal Form A relation schema R is in BCNF if for all functional dependencies in F + of the form α β at least one of the following holds α β is trivial (i.e., β α) α is a superkey for R
Rigorous Software Development CSCI-GA 3033-009
Rigorous Software Development CSCI-GA 3033-009 Instructor: Thomas Wies Spring 2013 Lecture 11 Semantics of Programming Languages Denotational Semantics Meaning of a program is defined as the mathematical
Conceptual Design Using the Entity-Relationship (ER) Model
Conceptual Design Using the Entity-Relationship (ER) Model Module 5, Lectures 1 and 2 Database Management Systems, R. Ramakrishnan 1 Overview of Database Design Conceptual design: (ER Model is used at
Chapter 5: FUNCTIONAL DEPENDENCIES AND NORMALIZATION FOR RELATIONAL DATABASES
1 Chapter 5: FUNCTIONAL DEPENDENCIES AND NORMALIZATION FOR RELATIONAL DATABASES INFORMAL DESIGN GUIDELINES FOR RELATION SCHEMAS We discuss four informal measures of quality for relation schema design in
Introduction to Database Systems. Normalization
Introduction to Database Systems Normalization Werner Nutt 1 Normalization 1. Anomalies 1. Anomalies 2. Boyce-Codd Normal Form 3. 3 rd Normal Form 2 Anomalies The goal of relational schema design is to
Normalization of Database
Normalization of Database UNIT-4 Database Normalisation is a technique of organizing the data in the database. Normalization is a systematic approach of decomposing tables to eliminate data redundancy
Database Systems Concepts, Languages and Architectures
These slides are for use with Database Systems Concepts, Languages and Architectures Paolo Atzeni Stefano Ceri Stefano Paraboschi Riccardo Torlone To view these slides on-screen or with a projector use
Introduction Decomposition Simple Synthesis Bernstein Synthesis and Beyond. 6. Normalization. Stéphane Bressan. January 28, 2015
6. Normalization Stéphane Bressan January 28, 2015 1 / 42 This lecture is based on material by Professor Ling Tok Wang. CS 4221: Database Design The Relational Model Ling Tok Wang National University of
6.830 Lecture 3 9.16.2015 PS1 Due Next Time (Tuesday!) Lab 1 Out today start early! Relational Model Continued, and Schema Design and Normalization
6.830 Lecture 3 9.16.2015 PS1 Due Next Time (Tuesday!) Lab 1 Out today start early! Relational Model Continued, and Schema Design and Normalization Animals(name,age,species,cageno,keptby,feedtime) Keeper(id,name)
A Propositional Dynamic Logic for CCS Programs
A Propositional Dynamic Logic for CCS Programs Mario R. F. Benevides and L. Menasché Schechter {mario,luis}@cos.ufrj.br Abstract This work presents a Propositional Dynamic Logic in which the programs are
Normalization. Functional Dependence. Normalization. Normalization. GIS Applications. Spring 2011
Normalization Normalization Normalization is a foundation for relational database design Systematic approach to efficiently organize data in a database GIS Applications Spring 2011 Objectives Minimize
Chapter 7: Relational Database Design
Chapter 7: Relational Database Design Pitfalls in Relational Database Design Decomposition Normalization Using Functional Dependencies Normalization Using Multivalued Dependencies Normalization Using Join
Theory of Relational Database Design and Normalization
Theory of Relational Database Design and Normalization (Based on Chapter 14 and some part of Chapter 15 in Fundamentals of Database Systems by Elmasri and Navathe) 1 Informal Design Guidelines for Relational
Normalization in OODB Design
Normalization in OODB Design Byung S. Lee Graduate Programs in Software University of St. Thomas St. Paul, Minnesota [email protected] Abstract When we design an object-oriented database schema, we need
How To Improve Performance In A Database
Some issues on Conceptual Modeling and NoSQL/Big Data Tok Wang Ling National University of Singapore 1 Database Models File system - field, record, fixed length record Hierarchical Model (IMS) - fixed
Databases -Normalization III. (N Spadaccini 2010 and W Liu 2012) Databases - Normalization III 1 / 31
Databases -Normalization III (N Spadaccini 2010 and W Liu 2012) Databases - Normalization III 1 / 31 This lecture This lecture describes 3rd normal form. (N Spadaccini 2010 and W Liu 2012) Databases -
COMPUTER SCIENCE TRIPOS
CST.98.5.1 COMPUTER SCIENCE TRIPOS Part IB Wednesday 3 June 1998 1.30 to 4.30 Paper 5 Answer five questions. No more than two questions from any one section are to be answered. Submit the answers in five
Chapter 10 Functional Dependencies and Normalization for Relational Databases
Chapter 10 Functional Dependencies and Normalization for Relational Databases Copyright 2004 Pearson Education, Inc. Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1Semantics of
An Algorithmic Approach to Database Normalization
An Algorithmic Approach to Database Normalization M. Demba College of Computer Science and Information Aljouf University, Kingdom of Saudi Arabia [email protected] ABSTRACT When an attempt is made to
DATABASE NORMALIZATION
DATABASE NORMALIZATION Normalization: process of efficiently organizing data in the DB. RELATIONS (attributes grouped together) Accurate representation of data, relationships and constraints. Goal: - Eliminate
DEGREES OF ORDERS ON TORSION-FREE ABELIAN GROUPS
DEGREES OF ORDERS ON TORSION-FREE ABELIAN GROUPS ASHER M. KACH, KAREN LANGE, AND REED SOLOMON Abstract. We construct two computable presentations of computable torsion-free abelian groups, one of isomorphism
MCQs~Databases~Relational Model and Normalization http://en.wikipedia.org/wiki/database_normalization
http://en.wikipedia.org/wiki/database_normalization Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves
Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets.
Degrees of Truth: the formal logic of classical and quantum probabilities as well as fuzzy sets. Logic is the study of reasoning. A language of propositions is fundamental to this study as well as true
Normalization. Normalization. Normalization. Data Redundancy
Normalization Normalization o Main objective in developing a logical data model for relational database systems is to create an accurate representation of the data, its relationships, and constraints.
Lecture 2 Normalization
MIT 533 ระบบฐานข อม ล 2 Lecture 2 Normalization Walailuk University Lecture 2: Normalization 1 Objectives The purpose of normalization The identification of various types of update anomalies The concept
Theory behind Normalization & DB Design. Satisfiability: Does an FD hold? Lecture 12
Theory behind Normalization & DB Design Lecture 12 Satisfiability: Does an FD hold? Satisfiability of FDs Given: FD X Y and relation R Output: Does R satisfy X Y? Algorithm: a.sort R on X b.do all the
Why Is This Important? Schema Refinement and Normal Forms. The Evils of Redundancy. Functional Dependencies (FDs) Example (Contd.)
Why Is This Important? Schema Refinement and Normal Forms Chapter 19 Many ways to model a given scenario in a database How do we find the best one? We will discuss objective criteria for evaluating database
2. Basic Relational Data Model
2. Basic Relational Data Model 2.1 Introduction Basic concepts of information models, their realisation in databases comprising data objects and object relationships, and their management by DBMS s that
BCA. Database Management System
BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data
Database Constraints and Design
Database Constraints and Design We know that databases are often required to satisfy some integrity constraints. The most common ones are functional and inclusion dependencies. We ll study properties of
Lecture Notes on Database Normalization
Lecture Notes on Database Normalization Chengkai Li Department of Computer Science and Engineering The University of Texas at Arlington April 15, 2012 I decided to write this document, because many students
EQUATIONAL LOGIC AND ABSTRACT ALGEBRA * ABSTRACT
EQUATIONAL LOGIC AND ABSTRACT ALGEBRA * Taje I. Ramsamujh Florida International University Mathematics Department ABSTRACT Equational logic is a formalization of the deductive methods encountered in studying
Chapter 6: Episode discovery process
Chapter 6: Episode discovery process Algorithmic Methods of Data Mining, Fall 2005, Chapter 6: Episode discovery process 1 6. Episode discovery process The knowledge discovery process KDD process of analyzing
Completing Description Logic Knowledge Bases using Formal Concept Analysis
Completing Description Logic Knowledge Bases using Formal Concept Analysis Franz Baader, 1 Bernhard Ganter, 1 Barış Sertkaya, 1 and Ulrike Sattler 2 1 TU Dresden, Germany and 2 The University of Manchester,
Functional Dependencies
BCNF and 3NF Functional Dependencies Functional dependencies: modeling constraints on attributes stud-id name address course-id session-id classroom instructor Functional dependencies should be obtained
Non-deterministic Semantics and the Undecidability of Boolean BI
1 Non-deterministic Semantics and the Undecidability of Boolean BI DOMINIQUE LARCHEY-WENDLING, LORIA CNRS, Nancy, France DIDIER GALMICHE, LORIA Université Henri Poincaré, Nancy, France We solve the open
A Web-Based Environment for Learning Normalization of Relational Database Schemata
A Web-Based Environment for Learning Normalization of Relational Database Schemata Nikolay Georgiev September 2008 Master s Thesis in Computing Science, 30 ECTS credits Supervisor at CS-UmU: Stephen J.
A Note on Context Logic
A Note on Context Logic Philippa Gardner Imperial College London This note describes joint work with Cristiano Calcagno and Uri Zarfaty. It introduces the general theory of Context Logic, and has been
SOLUTIONS TO ASSIGNMENT 1 MATH 576
SOLUTIONS TO ASSIGNMENT 1 MATH 576 SOLUTIONS BY OLIVIER MARTIN 13 #5. Let T be the topology generated by A on X. We want to show T = J B J where B is the set of all topologies J on X with A J. This amounts
RELATIONAL DATABASE DESIGN
RELATIONAL DATABASE DESIGN g Good database design - Avoiding anomalies g Functional Dependencies g Normalization & Decomposition Using Functional Dependencies g 1NF - Atomic Domains and First Normal Form
Linear Algebra. A vector space (over R) is an ordered quadruple. such that V is a set; 0 V ; and the following eight axioms hold:
Linear Algebra A vector space (over R) is an ordered quadruple (V, 0, α, µ) such that V is a set; 0 V ; and the following eight axioms hold: α : V V V and µ : R V V ; (i) α(α(u, v), w) = α(u, α(v, w)),
CSE 135: Introduction to Theory of Computation Decidability and Recognizability
CSE 135: Introduction to Theory of Computation Decidability and Recognizability Sungjin Im University of California, Merced 04-28, 30-2014 High-Level Descriptions of Computation Instead of giving a Turing
Introduction to Database Systems. Chapter 4 Normal Forms in the Relational Model. Chapter 4 Normal Forms
Introduction to Database Systems Winter term 2013/2014 Melanie Herschel [email protected] Université Paris Sud, LRI 1 Chapter 4 Normal Forms in the Relational Model After completing this chapter,
Semantics and Verification of Software
Semantics and Verification of Software Lecture 21: Nondeterminism and Parallelism IV (Equivalence of CCS Processes & Wrap-Up) Thomas Noll Lehrstuhl für Informatik 2 (Software Modeling and Verification)
Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011
Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011 A. Miller 1. Introduction. The definitions of metric space and topological space were developed in the early 1900 s, largely
6.2 Permutations continued
6.2 Permutations continued Theorem A permutation on a finite set A is either a cycle or can be expressed as a product (composition of disjoint cycles. Proof is by (strong induction on the number, r, of
Scanner. tokens scanner parser IR. source code. errors
Scanner source code tokens scanner parser IR errors maps characters into tokens the basic unit of syntax x = x + y; becomes = + ; character string value for a token is a lexeme
SPARQL: Un Lenguaje de Consulta para la Web
SPARQL: Un Lenguaje de Consulta para la Web Semántica Marcelo Arenas Pontificia Universidad Católica de Chile y Centro de Investigación de la Web M. Arenas SPARQL: Un Lenguaje de Consulta para la Web Semántica
14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:
14 Databases 14.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define a database and a database management system (DBMS)
Lambda Calculus between Algebra and Topology. Antonino Salibra
Lambda Calculus between Algebra and Topology Antonino Salibra Thanks Special thanks to Laboratoire PPS (Univ. Paris Diderot) for supporting my research with financial support and very interesting collaborations
Aikaterini Marazopoulou
Imperial College London Department of Computing Tableau Compiled Labelled Deductive Systems with an application to Description Logics by Aikaterini Marazopoulou Submitted in partial fulfilment of the requirements
FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES
FUNCTIONAL ANALYSIS LECTURE NOTES: QUOTIENT SPACES CHRISTOPHER HEIL 1. Cosets and the Quotient Space Any vector space is an abelian group under the operation of vector addition. So, if you are have studied
About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer
About the Tutorial Database Management System or DBMS in short refers to the technology of storing and retrieving users data with utmost efficiency along with appropriate security measures. DBMS allows
Jordan University of Science & Technology Computer Science Department CS 728: Advanced Database Systems Midterm Exam First 2009/2010
Jordan University of Science & Technology Computer Science Department CS 728: Advanced Database Systems Midterm Exam First 2009/2010 Student Name: ID: Part 1: Multiple-Choice Questions (17 questions, 1
