| 000 | 16342nam a22001457a 4500 | ||
|---|---|---|---|
| 999 |
_c6584 _d6584 |
||
| 020 | _a9788120314658 | ||
| 082 |
_a005.74 _bHAN |
||
| 100 | _aHansen, Gary W. | Hansen, James V. | ||
| 245 | _aDatabase management and design | ||
| 250 | _aSecond Edition | ||
| 260 |
_aNew Delhi, India; _bPrentice Hall of India Private Limited, _c2007. |
||
| 300 | _axxvi, 582p. | ||
| 505 | _aCONTENTS Preface xxiii Part One DATABASES AND THEIR CONTEXT I One Database Systems and the Evolution of Database Technology The Evolution of Database Technology Case: International Product Distribution 5 File-Oriented Systems 6 4 Meeting the Need for Random Access Processing 8 Information as a Resource 11 Other Limitations of Traditional File Systems 12 Database Systems 14 Hierarchical and Network Model Systems 14 Relational Database Systems 17 21 Current Directions-Client/Server Platforms Database Systems: Hardware, Software, Data, People 23 Hardware 23 Software 24 Data 27 People 27 3 Relationship of the Four System Components 28 Summary 29 Review Questions 30 Problems and Exercises 31 Projects and Professional Issues 32 Two Bonhomie Catering: An Introductory Database Application 33 The Bonhomie Catering Case 34 Background 34 Business Operations 35 Employee Services 35 Purchasing 35 Job Scheduling 35 Promotion 36 Financial Status 36 Database Design and Implementation 36 A Description of the Sales/Cash Receipts Cycle 36 From Entities to Tables 38 Creating a Table 38 Data Model Diagram Revisited 38 Setting Validity Checks 41 43 Additional DBMS Features Data Entry Through Simple Forms A Multi-Table Form: The Request Form 43 44 Obtaining Management Information from Our Database 46 Summary 49 Review Questions 49 49 Problems and Exercises Projects and Professional Issues 49 Three 50 Database Systems in the Organization Data Sharing and Databases 52 Sharing Data Between Functional Units 52 Sharing Data Between Different Levels of Users 53 Sharing Data Between Different Locations 55 The Role of the Database 57 Strategic Database Planning 57 The Need for Database Planning 58 The Database Planning Project 58 The Database Development Life Cycle (DDLC) 60 Databases and Management Control 61 Cape Lock Database Design 61 Uher Training 63 Database Security and Integrity Database System Performance 63 Risks and Costs of Databases 64 63 Organizational Conflicts 64 Development Project Failure 64 System Failure 64 Overhead Costs 65 Need for Sophisticated Personnel 65 Separating Logical and Physical Data Representation Three-Level Database Architecture 66 Use of the Three-Level Architecture in this Book 66 65 Database Development 67 68 Database Design and the Traditional SDLC 69 The Database Development Life Cycle (DDLC) Case: The Zeus Corporation 70 Preliminary Planning 71 Feasibility Study 71 Requirements Definition 72 Conceptual Design 74 Implementation 75 Evaluating and Enhancing the Database Schema Building Skills in Database Development 76 Summary 77 Review Questions 78 Problems and Exercises 79 82 Projects and Professional Issues 76 Cul Part Two DATABASE DESIGN 83 Four Principles of Conceptual Database Design 84 Reality, Requirements Definition, and Conceptual Data Modeling Reality and Models 85 88 Conceptual Data Models Fundamentals 89 Objects 89 Specialization and Generalization 90 85 Relationships 91 Cardinality 93 Attributes 95 Examples 99 Example 1: The Bank Data Model 99 Example 2: Stratton's Fruit Orchards 102 103 Building Conceptual Data Models from Existing Reports 105 Example 3:A Logic Problem Involving Mapping Case: Manwaring Consulting Services A Data Model for Purchases 105 A Data Model for Project Billing 107 105 Aggregation 108 Example 4: Premier Construction Company 111 Example 5: Stratton's Fruit Orchards Continued 113 Example 6: Manwaring Consulting Services Continued 116 Modeling Conceptual Objects Versus Physical Objects 120 The Library Problem 121 Creating the Library Data Model 122 Tracking Manufactured Parts 125 Conceptual Objects for Manwaring Consulting Services 127 129 View Integration: An Example Summary 130 Review Questions 131 132 Problems and Exercises Projects and Professional Issues 136 138 The Relational Data Model 137 The Relational Data Model and System Development 139 Five The Relational Data Model: Fundamental Concepts Relations 139 ZABATAG Null Values 141 Keys 141 143 Integrity Constraints 144 Foreign Keys 145 The Normalization Process First Normal Form 146 Functional Dependencies 147 Second Normal Form 147 Third Normal Form 149 Fourth Normal Form 151 Other Normal Forms 152 Transforming a Conceptual Model to a Relational Model 153 Transforming Object Sets and Attributes 153 Transforming Models Without External Keys 154 Transforming Specialization and Generalization Object Sets 154 Transforming Relationships 155 Transforming Aggregate Object Sets 158 Transforming Recursive Relationships 160 Transformation Examples: Manwaring Consulting Services 161 Comparison of Conceptual and Relational Data Modeling 163 Summary 165 Review Questions 166 Problems and Exercises 167 171 Projects and Professional Issues Part Three 173 RELATIONAL DATABASE IMPLEMENTATION Six Relational Algebra and Calculus 174 175 A Revolutionary Advance in Data Manipulation Relational Algebra 176 Union 178 Intersection 179 Difference 180 Product 180 Select 182 Project 184 Join 186 Divide 193 Assignment 195 An Additional Example 195 Relational Calculus 196 Target List and Qualifying Statement 197 The Existential Quantifier 198 The Universal Quantifier 200 Relative Difficulty of Relational Algebra and Relational Calculus Summary 203 Review Questions 203 202 Problems and Exercises 204 206 Projects and Professional Issues Seven Relational Implementation with SQL 207 208 Relational Implementations: An Overview Schema and Table Definition 210 Schema Definition 211 Data Types and Domains 211 Defining Tables 213 Data Manipulation 217 Simple Queries 218 Multiple-Table Queries 221 Subqueries 224 EXISTS and NOT EXISTS 227 Built-In Functions 229 GROUP BY and HAVING 231 DITATIMSBuilt -In Functions with Subqueries 233 Relational Algebra Operations 234 Database Change Operations 240 Using SQL With Data Processing Languages 241 View Definition 242 243 Restrictions on View Queries and Updates The Information Schema 244 Summary 246 Review Questions 246 Problems and Exercises 248 Projects and Professional Issues 251 Eight Relational Implementation with Graphical Query Languages Introduction 254 253 Data Manipulation 255 Simple Queries 255 Multiple-Table Queries 259 Built-In Functions 261 GROUP BY 263 Database Change Operations 265 Paradox for Windows 266 Data Definition and Entry 267 Data Manipulation 270 Selecting Attributes and Rows 270 Conjunctive and Disjunctive Queries Application Language 274 270 Summary 275 Review Questions 275 Problems and Exercises 276 Projects and Professional Issues 277 Nine Client/Server Database Systems 278 Introduction: A Review of Client/Server Concepts 280 C Defining Database Tables on Server Database Management Systems Creating User-Defined Datatypes 281 Defining Individual Tables 284 Data Definition Language: A Summary and Final Example 290 Server Data Manipulation and Programming 292 Control-of-Flow Language 292 Stored Procedures 297 An Introduction to Triggers 300 Developing Client Applications PowerBuilder's Approach 302 302 Using PowerBuilder 303 305 Building an Application Creating DataWindows 308 Creating Windows 312 Some Final Comments 316 Summary 317 Review Questions 317 Problems and Exercises 319 Professional Issues 321 Ten Physical Database Systems 322 Introduction 323 Physical Access of the Database 324 Physical Storage Media 324 Secondary Storage 325 Physical Storage Blocks 326 Disk Performance Factors Access Motion Time 327 Head Activation Time 328 Rotational Delay 337 328 Data Transfer Rate 328 Data Transfer Time 328 Data Storage Formats on Disk 330 330 Track Formats Record Formats 331 Input/Output Management 332 File Organization and Addressing Methods Sequential File Organization 333 333 Indexed-Sequential File Organization 333 Direct File Organization 334 Static Hash Functions 334 Implementing Logical Relationships Dynamic Hash Functions 337 Inverted Lists 341 Linked Lists 339 Balanced-Tree Index (B-Tree) 341 Client/Server Implementation of Balanced-Tree Indexing 347 Mapping Logical Data Structures to Physical Data Structures 348 339 Mapping Relational Databases 348 Mapping Network Databases 349 Mapping Hierarchical Databases 351 Secondary-Key Access 352 Query Optimization 354 Combining Selection and Join Operations 354 Combining Projection, Selection, and Join Operations 355 Summary 355 Review Questions 356 Exercises and Problems 357 Projects and Professional Issues 359 Part Four MANAGING THE DATABASE ENVIRONMENT 361 Eleven Database Administration and Control 362 Database Administration: An Overview 363 DBA Functions 364 Communicating with Users 364 366 Establishing Standards and Procedures DBA Goals 367 368 Database Integrity Integrity Constraints in SQL 368 Integrity Constraints in Query-by-Example Transaction Processing 369 Concurrency Control 370 Database Security 375 Authentication 375 Authorization and Views 377 Encryption 381 Database Recovery 382 Sources of Failure 382 Recovery Procedures 382 Summary 387 Review Questions 387 Problems and Exercises 388 Professional Issues 390 Twelve Distributed Database Systems 391 Why Distributed Databases? 392 A General DDS Model 394 Distributed Database System Design 397 Strategies and Objectives 397 Distribution of Nonfragmented Files 401 Distributed Query Processing 404 Semijoins 404 368 Data Integrity in Distributed Database Systems Two-Phase Commit Protocol 406 Distributed Locking 407 Distributed Two-Phase Locking 408 Timestamping 409 Database Recovery 411 Client/Server Systems 411 General Concepts 411 Database Applications 412 VA SQL Server for Windows NT 412 406 Summary 413 Problems and Exercises 415 Review Questions 414 417 418 Professional Issues Thirteen DBMS Selection and Implementation Analyzing Management Information Needs 420 Determining Application Requirements 421 Maintaining Data Consistency 421 Response-Time Requirements 422 DBMS Functions and Capabilities 422 The Data Dictionary/Directory 422 Data Security and Integrity 423 Query, Data Manipulation, and Reporting Capabilities 424 Support of Specialized Programming Requirements 424 Physical Data Organization Options 424 Gathering Data on Feature Availability and Performance Classifying DBMS Feature Requirements 424 Acquiring Data from Vendors 425 Benchmark Tests 426 Evaluation Models 427 Scoring Model 427 Data Envelopment Analysis 428 Implementation Issues 432 Database Administration 432 Database Testing 433 Preparing Users for Change 434 435 Loading the Database 435 Summary Database Maintenance 436 Review Questions 437 Problems and Exercises 438 425 Projects and Professional Issues 438 Part Five ADVANCED TOPICS 439 Fourteen Advanced Systems: Object-Oriented Database Systems and Knowledge-Base Systems 441 An Evolution Toward Object-Oriented Database Systems 443 Attempts to Provide More Powerful Data Representation The Contribution of Object-Oriented Programming (OOP) Class Abstraction 443 Derived Classes and Simple Inheritance Aggregation 445 445 An Extended Example Demonstrating Multiple Inheritance Object-Oriented Database System Developments GemStone 449 443 443 446 449 Vbase 449 Orion 449 449 PDM IRIS 449 450 A Generic Object Database Language 450 The Data Model of Lerner College 450 Formulating Queries with Textquery 455 The Basic Format of Query Solutions in TextQuery Defining Relationship Directions 458 Navigating Over Attributes and Relationships 460 Assigning Names to Derived Sets 464 Set Comparison Qualifications Expressions 464 Boolean Connectives 466 Introduction to Knowledge-Base Systems 468 Knowledge and Databases 469 Knowledge Representation with Rules 471 Rule Formation 471 Rules in PROLOG 472 A Simple PROLOG Database Application 476 More PROLOG Fundamentals 476 The Structure of a PROLOG Application 477 Database Application 479 Datalog 481 Logic Data Language (LDL) 481 Summary 481 Review Questions 482 Problems and Exercises 482 Projects and Professional Issues 485 455 Part Six LEGACY DATABASE SYSTEMS Fifteen The Network Data Model Historical Background 491 Basic Concepts and Definitions 489 487 Three-Level Structure 492 Records and Sets The Network Model's Relationship To Conceptual 492 492 Modeling Semantics 495 Transforming Object Sets and One-Many Relationships Transforming n-ary Relationships 497 Transforming Many-Many Relationships 498 The DBTG Data Definition Language (DDL) 499 From Data Model to Schema 499 From Schema to Subschema 502 The DBTG Data Manipulation Language (DML) 503 DBTG Retrieval and Update Facilities 505 DBTG Set-Processing Facility 507 Set Operations 507 Set Membership Classification 508 20 IDMS/R-A DBTG DBMS 510 CODASYL DBTG Evaluation 510 Data Representation 510 Data Manipulation Language 511 Integrity Constraints 511 Implementation 511 Summary 512 Review Questions 512 Problems and Exercises 513 Projects and Professional Issues 515 496 Sixteen The Hierarchical Data Model 516 Introduction 517 518 Basic Concepts and Definitions Hierarchical Model's Relationship to Conceptual Modeling Semantics 524 Transforming One-Many Relationships 524 Transforming Many-Many Relationships 525 The IMS Architecture 527 Defining the Physical Database-The DBD 528 Defining the Logical Database-The PSB 529 IMS Access Methods 530 HSAM 530 HISAM 530 HDAM 530 HIDAM 532 The IMS Data Manipulation Language 532 Program Work Area 532 DL/I: An Overview 533 Get Unique (GU) 533 Get Next (GN) 534 Get Next Within Parent (GNP) 534 Get Hold 535 Replace (REPL) 535 Delete (DLET) 536 Insert (INSRT) 536 Hierarchical Data Model Evaluation Data Representation 536 537 Data Manipulation Language 536 Summary 538 Review Questions 538 Problems and Exercises 540 Projects and Professional Issues 541 Glossary 543 Bibliography 553 Index 567 | ||
| 942 | _cBK | ||