View Updating and Relational Theory - Helion
ISBN: 978-14-493-5780-1
stron: 260, Format: ebook
Data wydania: 2012-12-20
Księgarnia: Helion
Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)
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.
Osoby które kupowały "View Updating and Relational Theory", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
View Updating and Relational Theory. Solving the View Update Problem eBook -- spis treści
- View Updating and Relational Theory
- Dedication
- preface
- About the Author
- Preface
- Who Should Read This Book
- Structure of the Book
- Technical Notes
- Acknowledgments
- Foreword
- 1. A Motivating Example
- The Principle of Interchangeability
- Base Tables Only: Constraints
- Base Tables Only: Compensatory Actions
- Views: Constraints and Compensatory Actions
- Theres No Magic
- Concluding Remarks
- 2. The Technical Context
- Relations and Relvars
- Base Relvar Definitions
- Relational Assignment
- A Note on Syntax
- Multiple Assignment
- Semantics Not Syntax
- Integrity Constraints
- Updating Is Set At a Time
- Two Important Principles
- Relvar Predicates
- Matching, not Matching, and Extend
- Databases and Dbvars
- A dbvar is a tuple variable.
- Relations and Relvars
- 3. The View Concept: A Closer Look
- The View Update Problem
- The View Update Problem
- Views are Pseudovariables
- Data Independence
- Views Serve a Variety of Purposes
- A Psychological Mistake?
- How Not to do it
- Constraints and Predicates
- Multivariable Constraints
- Information Equivalence
- Concluding Remarks
- The View Update Problem
- 4. Restriction Views
- The Motivating Example Revisited
- More on Compensatory Actions
- What About Triggers?
- What About Explicit Update Operations?
- Suppliers and Shipments
- The Motivating Example Continued
- Information Hiding
- Putting it All Together
- The Point at Last
- Overlapping Restrictions
- Concluding Remarks
- 5. Projection Views
- Example 1: A Nonloss Decomposition
- Example 1 Continued: The Projection Relvars
- Information Hiding
- Example 1 Continued: Views
- Example 2: Another Nonloss Decomposition
- The Projection Relvars
- Information Hiding
- Views
- Example 3: A Lossy Decomposition
- The Projection Relvars
- Information Hiding
- Views
- Concluding Remarks
- 6. Join Views I: One to One Joins
- Example 1: Information Equivalence
- Example 2: Information Hiding
- Pragma
- Symmetry
- Concluding Remarks
- 7. Join Views II: Many to Many Joins
- Example 1: Information Equivalence
- Compensatory Actions
- View Updating
- Projection Views Revisited
- Example 2: Information Hiding
- Concluding Remarks
- Example 1: Information Equivalence
- 8. Join Views III: One to Many Joins
- Example 1: Information Equivalence
- Example 2: Information Hiding
- Concluding Remarks
- 9. Intersection Views
- Example 1: Explicit Overlap
- Example 2: Implicit Overlap
- A Better Design
- Another Possible Design
- Concluding Remarks
- 10. Union Views
- Example 1: Disjoint Union
- Example 2: Explicit Overlap
- Example 3: Implicit Overlap
- A Better Design
- A Remark on Disjoint Union
- Concluding Remarks
- 11. Difference Views
- Example 1: Implicit Overlap
- A Better Design
- A Remark on Included Difference
- Example 2: Explicit Overlap
- Concluding Remarks
- Example 1: Implicit Overlap
- 12. Group and Ungroup Views
- The Group and Ungroup Operators
- A Group / Ungroup Example
- A Summarize Example
- 13. Extension and Summarization Views
- An Extend Example
- Relation Constants
- Another Summarize Example
- An Extend Example
- 14. Updating through Expressions
- Semantics not Syntax (?)
- Some well known Tautologies
- Semantic Transformations
- Information Equivalence Revisited
- Concluding Remarks
- 15. Ambiguity Revisited
- Predicates and Constraints Revisited
- An Intersection Example
- Union and Difference Examples
- Union
- Difference
- More on Predicates
- Concluding Remarks
- A. Some Remarks on Relational Assignment
- B. Relational Operators
- Index
- About the Author
- Copyright