E-Book, Englisch, 698 Seiten
Mancas Conceptual Data Modeling and Database Design: A Fully Algorithmic Approach
Erscheinungsjahr 2015
ISBN: 978-1-4987-2844-7
Verlag: CRC Press
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
Volume 1: The Shortest Advisable Path
E-Book, Englisch, 698 Seiten
ISBN: 978-1-4987-2844-7
Verlag: CRC Press
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
This new book aims to provide both beginners and experts with a completely algorithmic approach to data analysis and conceptual modeling, database design, implementation, and tuning, starting from vague and incomplete customer requests and ending with IBM DB/2, Oracle, MySQL, MS SQL Server, or Access based software applications. A rich panoply of solutions to actual useful data sub-universes (e.g. business, university, public and home library, geography, history, etc.) is provided, constituting a powerful library of examples.
Four data models are presented and used: the graphical Entity-Relationship, the mathematical EMDM, the physical Relational, and the logical deterministic deductive Datalog ones. For each one of them, best practice rules, algorithms, and the theory beneath are clearly separated. Four case studies, from a simple public library example, to a complex geographical study are fully presented, on all needed levels.
Several dozens of real-life exercises are proposed, out of which at least one per chapter is completely solved. Both major historical and up-to-date references are provided for each of the four data models considered.
The book provides a library of useful solutions to real-life problems and provides valuable knowledge on data analysis and modeling, database design, implementation, and fine tuning.
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Foreword by Professor Bernhard Thalheim
Foreword by Professor Dan Suciu
Preface
Data, Information and Knowledge in the Computer Era
Data, information, knowledge
Data analysis and conceptual modeling
Data and knowledge bases
Constraints (business rules)
Data and knowledge base management systems (DBMS, KBMS)
Static and dynamic aspects of databases
The Quest for Data Adequacy and Simplicity: The Entity-Relationship Data Model (E-RDM)
Entity and relationship type object sets
Attributes and surrogate keys
Entity-Relationship Diagrams (E-RDs)
Functional relationships and the Key Propagation Principle (KPP)
Relationship hierarchies
Higher arity non-functional relationships
Restriction sets
Case study: a public library (do we know exactly what a book is?)
The algorithm for assisting the data analysis and modeling process (A0). An E-R data model of the E-RDM
Best practice rules
The math behind E-RDs and restriction sets. The danger of "many-to-many relationships" and the correct E-RD of E-RDM
The Quest for Data Independence, Minimal Plausibility, and Formalization: The Relational Data Model (RDM)
First normal form tables, columns, constraints, rows, instances
The five basic relational constraint types
The algorithm for translating E-R data models into relational schemas and non-relational constraint sets (A1-7). An RDM model of the E-RDM
Case study: the relational scheme of the public library data model
The reverse engineering algorithm for translating relational schemas into E-R data models (REA1-2)
The algorithm for assisting keys discovery (A7/8-3)
RDBMS metacatalogs. Relational and E-R data models of the RDM
Relational schemas definition. SQL DDL
Relational instances manipulation. SQL DML. Relational calculi and algebra
Higher and the highest RDM normal forms
Best practice rules
The math behind RDM
Relational Schemas Implementation and Reverse Engineering
The algorithm for translating relational schemas into SQL DDL ANSI-92 scripts (A8)
Relevant differences between IBM DB2, Oracle Database and MySQL, Microsoft SQL Server and Access
Case study: implementing the public library RDB into DB2, Oracle, MySQL, SQL Server, and Access
The reverse engineering algorithm for translating Access 2013 RDB schemas into SQL ANSI DDL scripts (REA2013A0), a member of REAF0’
The algorithms for translating E-R data models into RDBs and associated non-relational constraint sets (AF1-8)
The reverse engineering family of algorithms for translating RDB schemas into E-R data models (REAF0-2)
Case study: reverse engineering of an Access Stocks DB scheme into both an ANSI standard SQL DDL script and an E-R data model
Best practice rules
The math behind the algorithms presented in this chapter
Conclusion
Database axioms
Why do we need another conceptual level for expert DB design?
What are the most important things that we should be aware of in DBs?
Appendix: Mathematic prerequisites for the math behind
Index