Informix Guide to Designing Databases and Data Warehouses / Edition 1

Informix Guide to Designing Databases and Data Warehouses / Edition 1

by Informix Software, Inc., Informix Software
     
 

ISBN-10: 0130161675

ISBN-13: 9780130161673

Pub. Date: 11/19/1999

Publisher: Pearson Education

  • The authoritative database design guide for Informix Dynamic Server.2000 and Informix Enterprise Decision Server!
  • Detailed data models illustrating each key approach to database design
  • Proven, step-by-step techniques for building your Informix-based data warehouse
  • Using SQL to implement and manage enterprise databases

Overview

  • The authoritative database design guide for Informix Dynamic Server.2000 and Informix Enterprise Decision Server!
  • Detailed data models illustrating each key approach to database design
  • Proven, step-by-step techniques for building your Informix-based data warehouse
  • Using SQL to implement and manage enterprise databases

The Informix insider's guide to database and data warehouse design!

Written by a team of insiders, this is the most complete, authoritative guide to database and data warehouse design, implementation, and administration with Informix Dynamic Server.2000 and Informix Enterprise Decision Server. You'll start by walking through the construction of data models that illustrate each key approach to database design. Compare ANSI and non-ANSI compliant databases, learn the fundamentals of entity-relationship modeling, and choose appropriate data types. Next, you'll learn how to use the Informix implementation of SQL to implement and manage your databases.

The Informix Guide to Designing Databases and Data Warehouses covers all this, and more:

  • Implementing relational data models with the CREATE DATABASE and CREATE TABLE statements, synonyms, synonym chains, and command scripts
  • Applying fragmentation strategies for maximizing database and data warehouse performance
  • Implementing dimensional data models-including solutions to common problems
  • Applying indexing techniques for data warehousing environments
  • Granting and limiting access to data through privileges, views, and stored procedures

Whether you're a manager, developer, or DBA, the InformixGuide to Designing Databases and Data Warehouses is your authoritative single source for guidance on high-performance database design with Informix Dynamic Server.2000 and Informix Enterprise Decision Server.
0-13-016167-5

Product Details

ISBN-13:
9780130161673
Publisher:
Pearson Education
Publication date:
11/19/1999
Series:
Informix Press Series
Pages:
350
Product dimensions:
6.91(w) x 9.10(h) x 0.93(d)

Table of Contents

Introduction
In This Introduction3
About This Manual3
Types of Users4
Software Dependencies4
Assumptions About Your Locale5
Demonstration Databases5
New Features6
New Features in Version 8.36
New Features in Version 9.26
Documentation Conventions8
Typographical Conventions8
Icon Conventions9
Sample-Code Conventions12
Additional Documentation13
On-Line Manuals13
Printed Manuals13
On-Line Help14
Error Message Documentation14
Documentation Notes, Release Notes, Machine Notes15
Related Reading16
Compliance with Industry Standards16
Informix Welcomes Your Comments16
Section IBasics of Database Design and Implementation
Chapter 1Planning a Database
In This Chapter3
Choosing a Data Model for Your Database3
Using ANSI-Compliant Databases5
Designating a Database as ANSI Compliant6
Determining If an Existing Database Is ANSI Compliant6
Differences Between ANSI-Compliant and Non-ANSI-Compliant Databases7
Using a Customized Language Environment for Your Database12
Chapter 2Building a Relational Data Model
In This Chapter3
Why Build a Data Model3
Overview of the Entity-Relationship Data Model4
Identifying and Defining Principal Data Objects5
Discovering Entities5
Defining the Relationships9
Identifying Attributes17
Diagramming Data Objects20
Reading E-R Diagrams21
Telephone-Directory Example22
Translating E-R Data Objects into Relational Constructs23
Defining Tables, Rows, and Columns24
Determining Keys for Tables26
Resolving Relationships30
Resolving m:n Relationships30
Resolving Other Special Relationships31
Normalizing a Data Model32
First Normal Form33
Second Normal Form35
Third Normal Form35
Summary of Normalization Rules36
Chapter 3Choosing Data Types
In This Chapter3
Defining the Domains3
Data Types4
Null Values26
Default Values27
Check Constraints27
Chapter 4Implementing a Relational Data Model
In This Chapter3
Creating the Database3
Using CREATE DATABASE4
Using CREATE TABLE6
Creating a Fragmented Table9
Using CREATE INDEX9
Using Synonyms with Table Names15
Using Synonym Chains16
Using Command Scripts17
Populating the Tables19
Section IIManaging Databases
Chapter 5Table Fragmentation Strategies
In This Chapter3
What Is Fragmentation?3
Enhanced Fragmentation for Enterprise Decision Server6
Why Use Fragmentation?6
Whose Responsibility Is Fragmentation?8
Fragmentation and Logging8
Distribution Schemes for Table Fragmentation9
Expression-Based Distribution Scheme10
Round-Robin Distribution Scheme12
Range Distribution Scheme12
System-Defined Hash Distribution Scheme13
Hybrid Distribution Scheme14
Eliminating Fragments from a Search18
Creating a Fragmented Table23
Creating a New Fragmented Table23
Rowids in a Fragmented Table25
Creating a Fragmented Table from Nonfragmented Tables25
Fragmenting Smart Large Objects27
Modifying Fragmentation Strategies28
Using the INIT Clause to Reinitialize a Fragmentation Scheme29
Using the INIT Clause to Change From Hash to Hybrid Fragmentation30
Using the MODIFY Clause to Modify an Existing Fragmentation Strategy31
Using ATTACH and DETACH Clauses to Modify an Existing Fragmentation Strategy32
Using the ADD Clause to Add a Fragment34
Using the DROP Clause to Drop a Fragment34
Fragmenting Temporary Tables35
Fragmenting Temporary Tables with Enterprise Decision Server35
Fragmentation of Table Indexes37
Attached Indexes37
Detached Indexes38
Rowids39
Accessing Data Stored in Fragmented Tables40
Using Primary Keys Instead of Rowids41
Creating a Rowid Column in a Fragmented Table41
Granting and Revoking Privileges from Fragments42
Chapter 6Granting and Limiting Access to Your Database
In This Chapter3
Controlling Access to Databases4
Granting Privileges5
Database-Level Privileges6
Ownership Rights8
Table-Level Privilege8
Column-Level Privileges12
Type-Level Privileges14
Routine-Level Privileges15
Language Privileges16
Automating Privileges17
Using SPL Routines to Control Access to Data21
Restricting Data Reads21
Restricting Changes to Data22
Monitoring Changes to Data23
Restricting Object Creation24
Using Views25
Creating Views26
Modifying with a View31
Privileges and Views35
Privileges When Creating a View35
Privileges When Using a View36
Section IIIObject-Relational Databases
Chapter 7Creating and Using Extended Data Types in Dynamic Server
In This Chapter3
User-Defined Data Types4
Opaque Data Types4
Distinct Data Types4
Smart Large Objects5
BLOB Data Type5
CLOB Data type5
Using Smart Large Objects7
Copying Smart Large Objects8
Complex Data Types9
Collection Data Types10
Named Row Types17
Unnamed Row Types25
Chapter 8Understanding Type and Table Inheritance in Dynamic Server
In This Chapter3
What Is Inheritance?3
Type Inheritance4
Defining a Type Hierarchy4
Overloading Routines for Types in a Type Hierarchy8
Inheritance and Type Substitutability9
Dropping Named Row Types from a Type Hierarchy10
Table Inheritance11
The Relationship Between Type and Table Hierarchies12
Defining a Table Hierarchy14
Inheritance of Table Behavior in a Table Hierarchy15
Modifying Table Behavior in a Table Hierarchy17
SERIAL Types in a Table Hierarchy19
Adding a New Table to a Table Hierarchy20
Dropping a Table in a Table Hierarchy21
Altering the Structure of a Table in a Table Hierarchy22
Querying Tables in a Table Hierarchy22
Creating a View on a Table in a Table Hierarchy23
Chapter 9Creating and Using User-Defined Casts In Dynamic Server
In This Chapter3
What Is a Cast?3
Creating User-Defined Casts5
Invoking Casts6
Restrictions on User-Defined Casts6
Casting Row Types7
Casting Between Named and Unnamed Row Types8
Casting Between Unnamed Row Types9
Casting Between Named Row Types10
Row-Type Conversions that Require Explicit Casts on Fields10
Casting Individual Fields of a Row Type12
Casting Collection Data Types13
Restrictions on Collection-Type Conversions14
Converting Between Collections with Different Element Types14
Converting Relational Data to a MULTISET Collection16
Casting Distinct Data Types16
Using Explicit Casts with Distinct Types16
Casting Between a Distinct Type and Its Source Type17
Casting to Smart Large Objects20
Creating Cast Functions for User-Defined Casts20
An Example of Casting Between Named Row Types21
An Example of Casting Between Distinct Data Types22
Multilevel Casting24
Section IVDimensional Databases
Chapter 10Building a Dimensional Data Model
In This Chapter3
Overview of Data Warehousing4
Why Build a Dimensional Database?5
What is Dimensional Data?7
Concepts of Dimensional Data Modeling10
The Fact Table12
Dimensions of the Data Model13
Building a Dimensional Data Model16
Choosing a Business Process17
Summary of a Business Process17
Determining the Granularity of the Fact Table19
Identifying the Dimensions and Hierarchies21
Choosing the Measures for the Fact Table23
Resisting Normalization26
Choosing the Attributes for the Dimension Tables27
Handling Common Dimensional Data-Modeling Problems29
Minimizing the Number of Attributes in a Dimension Table29
Handling Dimensions That Occasionally Change31
Using the Snowflake Schema33
Chapter 11Implementing a Dimensional Database
In This Chapter3
Implementing the sales_demo Dimensional Database3
Using CREATE DATABASE4
Using CREATE TABLE for the Dimension and Fact Tables4
Mapping Data from Data Sources to the Database7
Loading Data into the Dimensional Database9
Creating the sales_demo Database12
Testing the Dimensional Database12
Logging and Nonlogging Tables in Enterprise Decision Server13
Choosing Table Types14
Switching Between Table Types18
Indexes for Data-Warehousing Environments18
Using GK Indexes in a Data-Warehousing Environment20
Index

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >