Fully revised, updated, and expanded, Relational Database Design and Implementation, Third Edition is the most lucid and effective introduction to the subject available for IT/IS professionals interested in honing their skills in database design, implementation, and administration. This book provides the conceptual and practical information necessary to develop a design and management scheme that ensures data accuracy and user satisfaction while optimizing performance, regardless of experience level or choice of DBMS. The book begins by reviewing basic concepts of databases and database design, then briefly reviews the SQL one would use to create databases. Topics such as the relational data model, normalization, data entities and Codd's Rules (and why they are important) are covered clearly and concisely but without resorting to "Dummies"-style talking down to the reader. Supporting the book's step-by-step instruction are three NEW case studies illustrating database planning, analysis, design, and management practices. In addition to these real-world examples, which include object-relational design techniques, an entirely NEW section consisting of three chapters is devoted to database implementation and management issues.
- Principles needed to understand the basis of good relational database design and implementation practices
- Examples to illustrate core concepts for enhanced comprehension and to put the book's practical instruction to work
- Methods for tailoring DB design to the environment in which the database will run and the uses to which it will be put
- Design approaches that ensure data accuracy and consistency
- Examples of how design can inhibit or boost database application performance
- Object-relational design techniques, benefits, and examples
- Instructions on how to choose and use a normalization technique
- Guidelines for understanding and applying Codd's rules
- Tools to implement a relational design using SQL
- Techniques for using CASE tools for database design
Inhaltsverzeichnis
1;Front cover;1 2;Half title page;2 3;Title page;4 4;Copyright page;5 5;Table of contents;6 6;Preface to the Third Edition;16 7;Acknowledgments;20 8;Part I: Introduction;22 8.1;Chapter 1: The Database Environment;24 8.1.1;Defining a Database;25 8.1.2;Data Ownership;27 8.1.3;Database Software: DBMSs;29 8.1.4;Database Hardware Architecture;31 8.1.5;Other Factors in the Database Environment;39 8.1.6;For Further Reading;44 8.2;Chapter 2: Systems Analysis and Database Requirements;46 8.2.1;Dealing with Resistance to Change;47 8.2.2;The Structured Design Life Cycle;48 8.2.3;Conducting the Needs Assessment;49 8.2.4;Assessing Feasibility;53 8.2.5;Generating Alternatives;55 8.2.6;Evaluating and Choosing an Alternative;56 8.2.7;Creating Design Requirements;57 8.2.8;Alternative Analysis Methods;57 8.2.9;For Further Reading;63 9;Part II: Database Design Theory;64 9.1;Chapter 3: Why Good Design Matters;66 9.1.1;Effects of Poor Database Design;66 9.1.2;Unnecessary Duplicated Data and Data Consistency;68 9.1.3;Data Insertion Problems;69 9.1.4;Data Deletion Problems;70 9.1.5;Meaningful Identifiers;71 9.2;Chapter 4: Entities and Relationships;72 9.2.1;Entities and Their Attributes;72 9.2.2;Domains;82 9.2.3;Basic Data Relationships;85 9.2.4;Dealing with Many-to-Many Relationships;93 9.2.5;Relationships and Business Rules;98 9.2.6;Data Modeling versus Data Flow;98 9.2.7;Schemas;101 9.2.8;For Further Reading;104 9.3;Chapter 5: The Relational Data Model;106 9.3.1;Understanding Relations;107 9.3.2;Primary Keys;109 9.3.3;Representing Data Relationships;114 9.3.4;Views;117 9.3.5;The Data Dictionary;118 9.3.6;A Bit of History;120 9.3.7;For Further Reading;122 9.4;Chapter 6: Normalization;124 9.4.1;Translating an ER Diagram into Relations;124 9.4.2;Normal Forms;126 9.4.3;First Normal Form;127 9.4.4;Second Normal Form;132 9.4.5;Third Normal Form;135 9.4.6;Boyce-Codd Normal Form;137 9.4.7;Fourth Normal Form;138 9.4.8;Fifth Normal Form;140 9.4.9;Sixth Normal Form;146 9.4.10;For Further Reading;
147 9.5;Chapter 7: Database Structure and Performance Tuning;148 9.5.1;Joins and Database Performance;149 9.5.2;Indexing;153 9.5.3;Clustering;155 9.5.4;Partitioning;156 9.5.5;For Further Reading;158 9.6;Chapter 8: Codds Rules for Relational Database Design;160 9.6.1;Rule 1: The Information Rule;161 9.6.2;Rule 2: The Guaranteed Access Rule;162 9.6.3;Rule 3: Systematic Treatment of Null Values;163 9.6.4;Rule 4: Dynamic Online Catalog Based on the Relational Model;164 9.6.5;Rule 5: The Comprehensive Data Sublanguage Rule;165 9.6.6;Rule 6: The View Updating Rule;166 9.6.7;Rule 7: High-Level Insert, Update, Delete;166 9.6.8;Rule 8: Physical Data Independence;167 9.6.9;Rule 9: Logical Data Independence;168 9.6.10;Rule 10: Integrity Independence;168 9.6.11;Rule 11: Distribution Independence;169 9.6.12;Rule 12: Nonsubversion Rule;170 9.7;Chapter 9: Using SQL to Implement a Relational Design;172 9.7.1;Database Structure Hierarchy;172 9.7.2;Schemas;175 9.7.3;Domains;177 9.7.4;Tables;178 9.7.5;Not Null Constraints;182 9.7.6;Views;191 9.7.7;Temporary Tables;194 9.7.8;Creating Indexes;196 9.7.9;Modifying Database Elements;197 9.7.10;Deleting Database Elements;200 9.8;Chapter 10: Using CASE Tools for Database Design;202 9.8.1;CASE Capabilities;203 9.8.2;ER Diagram Reports;204 9.8.3;Data Flow Diagrams;207 9.8.4;The Data Dictionary;209 9.8.5;Code Generation;212 9.8.6;Sample Input and Output Designs;214 9.8.7;The Drawing Environment;216 9.8.8;For Further Reading;217 9.9;Chapter 11: Database Design Case Study 1: Mighty-Mite Motors;218 9.9.1;Corporate Overview;218 9.9.2;Designing the Database;236 9.10;Chapter 12: Database Design Case Study 2: East Coast Aquarium;252 9.10.1;Organizational Overview;252 9.10.2;The Volunteers Database;259 9.10.3;The Animal Tracking Database;275 10;Part III: Relational Design Practice;294 10.1;Chapter 13: Database Design Case Study 3: SmartMart;296 10.1.1;The Merchandising Environment;296 10.1.2;Putting Together an ERD;298 10.1.3;Creating the Tables;305 10
.1.4;Generating the SQL;307 11;Part IV: Database Implementation Issues;318 11.1;Chapter 14: Concurrency Control;320 11.1.1;The Multiuser Environment;320 11.1.2;Problems with Concurrent Use;325 11.1.3;Solution 1: Classic Locking;332 11.1.4;Solution 2: Optimistic Concurrency Control (Optimistic Locking);339 11.1.5;Solution #3: Multiversion Concurrency Control (Timestamping);339 11.1.6;Transaction Isolation Levels;340 11.1.7;Web Database Concurrency Control Issues;341 11.1.8;Distributed Database Issues;342 11.1.9;For Further Reading;343 11.2;Chapter 15: Database Security;344 11.2.1;Sources of External Security Threats;345 11.2.2;Sources of Internal Threats;348 11.2.3;External Remedies;350 11.2.4;Internal Solutions;359 11.2.5;Backup and Recovery;365 11.2.6;The Bottom Line: How Much Security Do You Need?;369 11.2.7;For Further Reading;370 11.3;Chapter 16: Data Warehousing;372 11.3.1;Scope and Purpose of a Data Warehouse;373 11.3.2;Obtaining and Preparing the Data;375 11.3.3;Data Modeling for the Data Warehouse;377 11.3.4;Data Warehouse Appliances;379 11.3.5;For Further Reading;382 11.4;Chapter 17: Data Quality;384 11.4.1;Why Data Quality Matters;384 11.4.2;Recognizing and Handling Incomplete Data;385 11.4.3;Recognizing and Handling Incorrect Data;387 11.4.4;Recognizing and Handling Incomprehensible Data;390 11.4.5;Recognizing and Handling Inconsistent Data;392 11.4.6;Employees and Data Quality;395 11.4.7;For Further Reading;396 11.5;Chapter 18: XML;398 11.5.1;XML Syntax;398 11.5.2;XML Document Correctness;401 11.5.3;XML Schemas;401 11.5.4;XML Support in Relational DBMSs;403 11.5.5;For Further Reading;406 12;Appendix: Historical Antecedents;408 12.1;File Processing Systems;408 12.2;The Hierarchical Data Model;414 12.3;The Simple Network Data Model;417 12.4;The Complex Network Data Model;423 13;Glossary;428 14;Index;434