Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Chapter 1: The Database Environment
Chapter 7 System Models.
Relational Database and Data Modeling
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Relational data objects 1 Lecture 6. Relational data objects 2 Answer to last lectures activity.
Introduction to Relational Database Systems 1 Lecture 4.
The ANSI/SPARC Architecture of a Database Environment
Views-basics 1. 2 Introduction a view is a perspective of the database different users may need to see the database differently; this is achieved through.
Relational data integrity
1 Term 2, 2004, Lecture 9, Distributed DatabasesMarian Ursu, Department of Computing, Goldsmiths College Distributed databases 3.
Database Systems: Design, Implementation, and Management
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design 1.
Cost as a Business Driver 1 John Brown C Eng MIEE mr_ Software Cost Estimation.
Information Systems Today: Managing in the Digital World
OO databases 1 Object Oriented databases. OO databases 2 Developing OODBMS - motivation motivation more and more application areas require systems that.
© 2011 TIBCO Software Inc. All Rights Reserved. Confidential and Proprietary. Towards a Model-Based Characterization of Data and Services Integration Paul.
Chapter 10: Designing Databases
Chapter 6 Data Design.
Jane Reid, BSc/IT DB, QMUL, 25/2/02 1 Object-oriented DBMS Background to ODBMS ODBMS requirements Object components ODB conceptual design –Graphical ODB.
the Entity-Relationship (ER) Model
Database System Concepts and Architecture
Lecture plan Outline of DB design process Entity-relationship model
Lecture 5: Requirements Engineering
Introduction to Databases
Data Modeling Bayu Adhi Tama, ST., MTI. Thanks to Poniah, Elamasri, and Silberkatz.
Addition 1’s to 20.
Week 1.
Distributed DBMS©M. T. Özsu & P. Valduriez Ch.15/1 Outline Introduction Background Distributed Database Design Database Integration Semantic Data Control.
Chapter 13 The Data Warehouse
Management Information Systems, 10/e
The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
Introduction to Databases
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
File Systems and Databases
Introduction to Databases
Ch1: File Systems and Databases Hachim Haddouti
Chapter 1 INTRODUCTION TO DATABASE.
Chapter 1 Introduction to Databases
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
Introduction to Databases
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
IST Databases and DBMSs Todd S. Bacastow January 2005.
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
Limitations of the relational model. Just as the relational model supplanted the network and hierarchical model so too will the object – orientated model.
Introduction: Databases and Database Users
OBJECT-ORIENTED APPROACH TO GIS DATA MANAGEMENT Tomáš Richta, Jiří Žára Computer Graphics Group Department of Computer Science and Engineering Czech Technical.
Chapter 6.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Introduction to Databases
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Introduction to Databases Transparencies
Introduction to Databases Transparencies
Database Management.
The Object-Oriented Database System Manifesto
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Chapter 2 Database Environment.
Introduction to Databases
Data Model.
Introduction to Databases
Introduction to Databases Transparencies
Presentation transcript:

Limitations of the relational model 1

2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs

Limitations of the relational model 3 Areas needing advanced database systems both in terms of structure of data and of operations to be performed on data computer aided design (CAD) computer aided manufacturing (CAM) computer aided software engineering (CASE) office information systems, multimedia systems and digital publishing geographic information systems etc.

Limitations of the relational model 4 CAD what is CAD? do you think CAD needs database systems? imagine you were going to use a relational DBMS (e.g. Postgres) to support a CAD application; what difficulties do you think you wold encounter?

Limitations of the relational model 5 CAD - characteristics | insufficiency of relational database systems

Limitations of the relational model 6 CAD - characteristics | insufficiency of relational database systems

Limitations of the relational model 7 CAD and relational databases could you solve any of the problems mentioned, basing your solution solely on features of relational database systems? the answer is yes, but some of the features you are using in your solutions are (probably) not implicit in the relational model

Limitations of the relational model 8 CAM similar to CAD but more data processing required monitoring control possibly, both in real time

Limitations of the relational model 9 CASE - characteristics that make it unsuitable for the relational model (large) data relating to the stages of the software development lifecycle co-operative engineering concurrent sharing of project design, code and documentation; dependencies between components must be tracked project management scheduling cost estimation progress monitoring

Limitations of the relational model 10 Office Information Systems and Digital Publishing

Limitations of the relational model 11 Geographic information systems spatial information - not supported by relational DBMSs

Limitations of the relational model 12 Drawbacks of relational databases poor representation of real world entities semantic overloading poor support for integrity constraints homogeneous data structure limited operations difficulty in handling recursive queries impedance mismatch other problems...

Limitations of the relational model 13 Poor representation of real world objects normalisation -> fragmentation relations that have no correspondent in the real world to infer information -> joins -> very costly poor semantics everything is a RELATION (see next slide)

Limitations of the relational model 14 Semantic overloading no distinction between entity and relationship; no distinction between different types of relations (e.g. has is the parent of, has the address, is located, earns) result: this semantic cannot be expressed (e.g. be build into the operators) there is very little meaning in relations (i.e. the systems knows very little of the data it contained); what solutions to increase the semantics exist? domains - provided by the relational model, but not fully supported by relational DBMSs keys - provided and supported support for enterprise integrity constraints …?

Limitations of the relational model 15 Poor support for integrity constraints integrity validity and consistency entity integrity + referential integrity + domains many systems do not fully support -> build them into applications -> effort + inconsistencies integrity is expressed in terms of constraints (rules that the database must comply with) the constraint checking mechanism is simple degree of compliance; categories of integrity constraints... what does it mean must comply with? what is the logical model? must be deduced from the DB? the DB must be consistent with them?must be true of the DB? the relational model does not support enterprise integrity constraints SQL provides support for constraints as part of the DB def.

Limitations of the relational model 16 Homogeneous data structure horizontal and vertical homogeneity too restrictive real world objects have a more complex structure result: unnatural structures + many joins (inefficient) example: composite parts on the other hand, this symmetric structure is one of the strengths of the relational model (why?) binary large objects (BLOB) are allowed typically, they are references to files, therefore some advantages provided by DBMSs may be lost (e.g. security) their inner structure cannot be accessed

Limitations of the relational model 17 Limited set of operations only a fix set operations tuple oriented set oriented not sufficient for many applications (e.g. geographic information systems - distance, area, …) no new operations cannot be specified some DBMSs allow for type extensibility

Limitations of the relational model 18 Difficulty in handling recursive queries Transitive closure

Limitations of the relational model 19 Impedance mismatch SQL92 lacks computational completeness solution: embedded SQL drawback of solution: impedance mismatch mixing different paradigms SQL: set based operators high level programming languages: record based (or even less) (example C) conversion to records needed (inefficient!) type mismatch solution by Date: build set level facilities in high level programming languages

Limitations of the relational model 20 Other problems other problems also exist no support for long lived transactions (not inherent to the relational model) schema amendments - difficult poor navigational access therefore, other approaches might be needed

Limitations of the relational model 21 Conclusions first generation DBMSs 1060s-1970s two approaches: hierarchical and network main problems: complex programs needed to be written to answer simple queries (navigational databases); minimal data independence; no widely accepted theoretical foundations second generation Codds paper many experimental relational DBMSs now: over 100 commercial DBMSs (some stretch the definition of a relational DBMS) third generation … (to be continued)