Book description
Views are virtual tables. That means they should be updatable, just as "real" or base tables are. In fact, view updatability isn’t just desirable, it’s crucial, for practical reasons as well as theoretical ones. But view updating has always been a controversial topic. Ever since the relational model first appeared, there has been widespread skepticism as to whether (in general) view updating is even possible.
In stark contrast to this conventional wisdom, this book shows how views, just like base tables, can always be updated (so long as the updates don’t violate any integrity constraints). More generally, it shows how updating always ought to work, regardless of whether the target is a base table or a view. The proposed scheme is 100% consistent with the relational model, but rather different from the way updating works in SQL products today.
This book can:
- Help database products improve in the future
- Help with a "roll your own" implementation, absent such product improvements
- Make you aware of the crucial role of predicates and constraints
- Show you how relational products are really supposed to behave
Anyone with a professional interest in the relational model, relational technology, or database systems in general can benefit from this book.
Publisher resources
Table of contents
- Dedication
- preface
- About the Author
- Preface
- Foreword
- 1. A Motivating Example
- 2. The Technical Context
- 3. The View Concept: A Closer Look
- 4. Restriction Views
- 5. Projection Views
- 6. Join Views I: One to One Joins
- 7. Join Views II: Many to Many Joins
- 8. Join Views III: One to Many Joins
- 9. Intersection Views
- 10. Union Views
- 11. Difference Views
- 12. Group and Ungroup Views
- 13. Extension and Summarization Views
- 14. Updating through Expressions
- 15. Ambiguity Revisited
- A. Some Remarks on Relational Assignment
- B. Relational Operators
- Index
- About the Author
- Copyright
Product information
- Title: View Updating and Relational Theory
- Author(s):
- Release date: December 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449357849
You might also like
book
An Introduction to Cybernetic Synergy
Cybernetics is about having a goal and taking action to achieve that goal. Knowing whether you …
book
Type Inheritance and Relational Theory
Type inheritance is that phenomenon according to which we can say, for example, that every square …
video
Type Inheritance and Relational Theory
The basic ideas of type inheritance—and the languages and products supporting those ideas—have been around for …
book
Ten Things to Know About ModelOps
The past few years have seen significant developments in data science, AI, machine learning, and advanced …