Database Solutions: A Step by Step Guide to Building Databases / Edition 1

Database Solutions: A Step by Step Guide to Building Databases / Edition 1

by Thomas Connolly, Carolyn Begg
     
 

ISBN-10: 0201674769

ISBN-13: 9780201674767

Pub. Date: 12/23/1999

Publisher: Addison-Wesley

Database Solutions:A Step-by-Step Guide to Building Databases by Thomas Connolly & Carolyn Begg

Do you carry the world on your shoulders? Does every request for a new business system from Senior Management land on your desk? Are you responsible for designing and creating the databases that keep your business running? Would you like to make

Overview

Database Solutions:A Step-by-Step Guide to Building Databases by Thomas Connolly & Carolyn Begg

Do you carry the world on your shoulders? Does every request for a new business system from Senior Management land on your desk? Are you responsible for designing and creating the databases that keep your business running? Would you like to make the design and build process smoother, quicker and more reliable?

    Recipe for disaster:
  • Take one RDMS
  • Follow instructions on packet
    Recipe for success:
  • Take one RDMS n any of the major commercial products will do***Oracle***Informix***SQL Server***Access***Paradox
  • Add one thorough reading of Database Solutions if you are an inexperienced database designer, or one recap of the methodology if you are an old hand
  • Use the design and implementation frameworks to plan your timetable
  • Measure out a common data model that fits your requirements and adapt as necessary
  • Weigh up advice and tips from the authors - experienced professionals
    Make life easy. Look in this book and CD-ROM for:
  • Step-by-step instructions on designing and building databases
  • Advice and tips on building a successful database
  • Comprehensive guidance on avoiding pitfalls and traps
  • How to create data models using the new design notation, UML (with appendices mapping to Chen's notation and the Crow's Feet notation)
  • Shortcuts: 15 sample data models to adapt to your needs, chosen from 7 common business areas, plus SQL scripts for each
  • Two full length, coded exampledatabases written on Microsoft Access 97 and Oracle 8
  • Evaluation copy of Rational's UML visual modelling tool, Rose.


0201674769B04062001

Product Details

ISBN-13:
9780201674767
Publisher:
Addison-Wesley
Publication date:
12/23/1999
Series:
Database Solutions Series
Edition description:
Older Edition
Pages:
256
Product dimensions:
7.38(w) x 9.08(h) x 0.85(d)

Table of Contents

Prefacexv
Part 1Background
1Introduction3
1.1Examples of the use of database systems3
1.2Database approach5
1.2.1The database5
1.2.2The Database Management System (DBMS)6
1.2.3Views6
1.2.4Components of the DBMS environment8
1.2.5DBMS architectures8
1.3Functions of a DBMS10
1.4Database design15
1.5Advantages and disadvantages of DBMSs15
2The relational model18
2.1What is a data model?19
2.2Terminology19
2.2.1Relational data structure19
2.2.2Properties of relational tables22
2.2.3Relational keys23
2.2.4Representing relational databases25
2.3Relational integrity27
2.3.1Nulls28
2.3.2Entity integrity28
2.3.3Referential integrity28
2.3.4Business rules29
2.4Relational languages29
3The database application lifecycle32
3.1The software crisis32
3.2The information systems lifecycle33
3.3The database application lifecycle34
3.4Database planning34
3.5System definition36
3.5.1User views36
3.6Requirements collection and analysis37
3.7Database design39
3.8DBMS selection41
3.9Application design41
3.9.1Transaction design42
3.9.2User interface design42
3.10Prototyping43
3.11Implementation44
3.12Data conversion and loading44
3.13Testing45
3.14Operational maintenance45
Part 2Database analysis and design techniques
4Fact-finding51
4.1When are fact-finding techniques used?52
4.2What facts are collected?52
4.3Fact-finding techniques54
4.3.1Examining documentation54
4.3.2Interviewing54
4.3.3Observing the business in operation56
4.3.4Research56
4.3.5Questionnaires56
4.4The StayHome case study58
4.4.1An overview58
4.4.2Database planning61
4.4.3System definition67
4.4.4Requirements collection and analysis69
4.4.5Database design79
5Entity-Relationship modeling81
5.1Entities82
5.2Relationships83
5.2.1Degree of a relationship84
5.2.2Recursive relationships85
5.3Attributes85
5.3.1Simple and composite attributes85
5.3.2Single-valued and multi-valued attributes86
5.3.3Derived attributes86
5.3.4Keys87
5.4Strong and weak entities88
5.5Multiplicity constraints on relationships89
5.5.1One-to-one (1:1) relationships90
5.5.2One-to-many (1:*) relationships91
5.5.3Many-to-many (*:*) relationships92
5.5.4Multiplicity for non-binary relationships93
5.5.5Cardinality and participation constraints95
5.6Attributes on relationships95
5.7Design problems with ER models96
5.7.1Fan traps97
5.7.2Chasm traps97
6Normalization102
6.1Introduction103
6.2Data redundancy and update anomalies103
6.2.1Insertion anomalies104
6.2.2Deletion anomalies105
6.2.3Modification anomalies105
6.3First normal form (1NF)106
6.4Second normal form (2NF)107
6.5Third normal form (3NF)111
Part 3Logical database design
7Overview of the methodology119
7.1Introduction to the database design methodology119
7.1.1What is a database design methodology?120
7.1.2What are the aims of a database design methodology?120
7.1.3Why build data models?121
7.1.4Critical success factors in database design124
7.2Overview of the database design methodology124
8Logical database design - Step 1129
Step 1Build local logical data model for each view130
Step 1.1Identify entities130
Step 1.2Identify relationships133
Step 1.3Identify and associate attributes with entities or relationships137
Step 1.4Determine attribute domains142
Step 1.5Determine candidate and primary key attributes143
Step 1.6Specialize/Generalize entities (optional step)146
Step 1.7Remove features not compatible with the relational model147
Step 1.8Check that model supports user transactions154
9Logical database design -- Step 2159
Step 2Create and check tables for each local logical data model159
Step 2.1Create tables for local logical data model160
Step 2.2Check table structures using normalization171
Step 2.3Check tables support user transactions172
Step 2.4Define integrity constraints175
Step 2.5Review local logical data model with users180
10Logical database design - Step 3181
10.1The Business view of StayHome182
10.1.1Users' requirements specification182
10.1.2Local logical data model184
Step 3Build and check global logical data model184
Step 3.1Merge local logical data models into global model187
Step 3.2Check global logical data model194
Step 3.3Check for future growth195
Step 3.4Review global logical data model with users196
11Advanced modeling techniques197
11.1Specialization/Generalization198
11.1.1Superclasses and subclasses198
11.1.2Superclass/Subclass relationships198
11.1.3Attribute inheritance199
11.1.4Specialization process200
11.1.5Generalization process200
11.1.6Constraints on superclass/subclass relationships202
11.2Creating tables to represent specialization/generalization204
Part 4Physical database design
12Physical database design - Step 4211
12.1Comparison of logical and physical database design212
12.2Overview of the physical database design methodology213
Step 4Translate global logical data model for target DBMS214
Step 4.1Design base tables for target DBMS215
Step 4.2Design business rules for target DBMS222
13Physical database design - Step 5227
13.1Understanding system resources228
13.2Step 5 Design physical representation230
Step 5.1Analyze transactions231
Step 5.2Choose file organizations237
Step 5.3Choose indexes240
13.3File organizations and indexes for StayHome with Microsoft Access 97245
13.3.1Guidelines for choosing indexes245
13.3.2Indexes for StayHome246
14Physical database design - Step 6249
Step 6Consider the introduction of controlled redundancy249
Step 6.1Consider derived data251
Step 6.2Consider duplicating columns or joining tables together253
15Physical database design - Step 7267
Step 7Design security mechanisms267
Step 7.1Design user views268
Step 7.2Design access rules270
16Physical database design - Step 8276
Step 8Monitor and tune the operational system276
17Sample StayHome queries using SQL and QBE279
17.1Introduction to Microsoft SQL and QBE279
17.1.1SQL279
17.1.2QBE (Query-By-Example)281
17.2Sample queries for StayHome282
Part 5Second worked example
18Perfect Pets - Logical database design293
18.1Perfect Pets293
18.1.1Data requirements293
18.1.2Transaction requirements296
18.2Using the logical database design methodology297
19Perfect Pets - Physical database design313
19.1Using the physicial database design methodology313
What next?339
Appendices
AAlternative data modeling notations343
A.1ER modeling using the Chen notation343
A.2ER modeling using the Crow's Feet notation343
BSummary of the database design methodology350
CFile organizations and indexes357
C.1Basic concepts358
C.2Heap files359
C.3Ordered files360
C.4Hash files362
C.5Indexes362
C.5.1Types of indexes363
C.5.2Secondary indexes363
C.5.3Multilevel indexes364
C.5.4B[superscript +]-Trees365
DCommon data models367
D.1Customer order entry368
D.2Inventory control371
D.3Asset management373
D.4Project management375
D.5Course management378
D.6Human resource management381
D.7Payroll management385
D.8Vehicle rentals387
D.9Student accommodation390
D.10Client transportation393
D.11Publisher printing395
D.12County library397
D.13Real estate rentals400
D.14Travel agent403
D.15Student results407
Glossary411
References419
Index421

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >