Information Modeling and Relational Databases provides an introduction to ORM (Object Role Modeling)-and much more. In fact, it's the only book to go beyond introductory coverage and provide all of the in-depth instruction you need to transform knowledge from domain experts into a sound database design. Inside, ORM authority Terry Halpin blends conceptual information with practical instruction that will let you begin using ORM effectively as soon as possible. Supported by examples, exercises, and useful background information, his step-by-step approach teaches you to develop a natural-language-based ORM model and then, where needed, abstract ER and UML models from it. This book will quickly make you proficient in the modeling technique that is proving vital to the development of accurate and efficient databases that best meet real business objectives.
- The most in-depth coverage of Object Role Modeling available anywhere-written by a pioneer in the development of ORM.
- Provides additional coverage of Entity Relationship (ER) modeling and the Unified Modeling Language-all from an ORM perspective.
- Intended for anyone with a stake in the accuracy and efficacy of databases: systems analysts, information modelers, database designers and administrators, instructors, managers, and programmers.
- Explains and illustrates required concepts from mathematics and set theory.
Inhaltsverzeichnis
1;Front Cover;1 2;Information Modeling and Relational Databases;4 3;Copyright Page;5 4;Contents;8 5;Foreword ;14 6;Foreword ;18 7;Foreword;20 8;Preface;24 9;Chapter 1. Introduction;30 9.1;1.1 Information Modeling;31 9.2;1.2 Modeling Approaches;35 9.3;1.3 Some Historical Background;47 9.4;1.4 The Relevant Skills;51 9.5;1.5 Summary;52 10;Chapter 2. Information Levels and Frameworks;54 10.1;2.1 Four Information Levels;55 10.2;2.2 The Conceptual Level;59 10.3;2.3 From External to Conceptual to Relational;69 10.4;2.4 Development Frameworks;76 10.5;2.5 Summary;82 11;Chapter 3. Conceptual Modeling: First Steps;84 11.1;3.1 Conceptual Modeling Language Criteria;85 11.2;3.2 ORMs Conceptual Schema Design Procedure;87 11.3;3.3 CSDP Step 1: From Examples to Elementary Facts;89 11.4;3.4 CSDP Step 2: Draw Fact Types, and Populate;107 11.5;3.5 CSDP Step 3:. Trim Schema. Note Basic Derivations;122 11.6;3.6 Summary;133 12;Chapter 4. Uniqueness Constraints;138 12.1;4.1 CSDP Step 4: Uniqueness Constraints; Arity Check;139 12.2;4.2 Uniqueness Constraints on Unaries and Binaries;140 12.3;4.3 Uniqueness Constraints on Longer Fact Types;152 12.4;4.4 External Uniqueness Constraints;158 12.5;4.5 Key Length Check;169 12.6;4.6 Projection-Join Check;182 12.7;4.7 Summary;187 13;Chapter 5. Mandatory Roles;192 13.1;5.1 Introduction to CSDP Step 5;193 13.2;5.2 Mandatory and Optional Roles;195 13.3;5.3 Logical Derivation Check;208 13.4;5.4 Reference Schemes;215 13.5;5.5 Case Study: A Compact Disc Retailer;235 13.6;5.6 Summary;239 14;Chapter 6. Value, Set-Comparison, and Subtype Constraints;244 14.1;6.1 CSDP Step 6: Value, Set, and Subtype Constraints;245 14.2;6.2 Basic Set Theory;245 14.3;6.3 Value Constraints and Independent Objects;249 14.4;6.4 Subset, Equality, and Exclusion Constraints;258 14.5;6.5 Subtyping;273 14.6;6.6 Generalization of Object Types;295 14.7;6.7 Summary;303 15;Chapter 7. Other Constraints and Final Checks;306 15.1;7.1 CSDP Step 7: Other Constraints; Final Checks;307 15.2;7.2 O
ccurrence Frequencies;307 15.3;7.3 Ring Constraints;312 15.4;7.4 Other Constraints;324 15.5;7.5 Final Checks;333 15.6;7.6 Summary;339 16;Chapter 8. Entity Relationship Modeling;342 16.1;8.1 Overview of ER;343 16.2;8.2 Barker Notation;345 16.3;8.3 Information Engineering Notation;356 16.4;8.4 IDEF1X;361 16.5;8.5 Mapping from ORM to ER;372 16.6;8.6 Summary;375 17;Chapter 9. Data Modeling in UML;378 17.1;9.1 Introduction;379 17.2;9.2 Object Reference and Single-Valued Attributes;381 17.3;9.3 Multi-valued Attributes;386 17.4;9.4 Associations;391 17.5;9.5 Set Comparison Constraints;399 17.6;9.6 Subtyping;407 17.7;9.7 Other Constraints and Derivation Rules;411 17.8;9.8 Mapping from ORM to UML;425 17.9;9.9 Summary;428 18;Chapter 10. Relational Mapping;432 18.1;10.1 Implementing a Conceptual Schema;433 18.2;10.2 Relational Schemas;434 18.3;10.3 Relational Mapping;441 18.4;10.4 Advanced Mapping Aspects;470 18.5;10.5 Summary;484 19;Chapter 11. Relational Languages;486 19.1;11.1 Relational Algebra;487 19.2;11.2 Relational Database Systems;513 19.3;11.3 SQL: Historical and Structural Overview;514 19.4;11.4 SQL: Identifiers and Data Types;516 19.5;11.5 SQL: Choosing Columns, Rows, and Order;522 19.6;11.6 SQL: Joins;531 19.7;11.7 SQL: In, Between, Like, and Null Operators;543 19.8;11.8 SQL: Union and Simple Subqueries;551 19.9;11.9 SQL: Scalar Operators and Bag Functions;561 19.10;11.10 SQL: Grouping;569 19.11;11.11 SQL: Correlated and Existential Subqueries;576 19.12;11.12 SQL: Data Definition;583 19.13;11.13 SQL: Updating Table Populations;595 19.14;11.14 SQL: Security and Meta-Data;597 19.15;11.15 Summary;599 20;Chapter 12. Schema Transformations;604 20.1;12.1 Schema Equivalence and Optimization;605 20.2;12.2 Predicate Specialization and Generalization;609 20.3;12.3 Nesting, Co-referencing and Flattening;620 20.4;12.4 Other Conceptual Transformations;638 20.5;12.5 Conceptual Schema Optimization;642 20.6;12.6 Normalization;656 20.7;12.7 Denormalization and Low Level Optimizatio
n;671 20.8;12.8 Re-engineering;676 20.9;12.9 Summary;684 21;Chapter 13. Other Modeling Aspects and Trends;688 21.1;13.1 Introduction;689 21.2;13.2 Data Warehousing and OLAP;689 21.3;13.3 Conceptual Query Languages;696 21.4;13.4 Schema Abstraction Mechanisms;705 21.5;13.5 Process Modeling and External Design;710 21.6;13.6 Post-relational Databases and Other Trends;721 21.7;13.7 Meta-Modeling;731 21.8;13.8 Summary;737 22;ORM Glossary ;742 23;ER Glossary;750 24;UML Glossary;754 25;Bibliography;758 26;Index;768 27;About the Author;792