The perfect reference for programmers, administrators, or Web designers who are new to database development and are uncertain as to how to design and structure a database efficiently
Shows how to design and implement robust, scalable databases on any of the major relational database management systems, including Access, SQL Server, IBM DB2, MySQL, and Oracle
Covers all the key database design steps including modeling, normalization, SQL, denormalization, object-modeling, data warehousing, and performance
Provides plenty of real-world examples and a complete beginning-to-end case study of creating a database that includes the analysis and planning, tables and data structures, business rules, and hardware requirements
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# Beginning Database Design — Reading Guide
## 【One-Line Pitch】
A practical, vendor-neutral introduction to relational database design that walks programmers, administrators, and web designers through modeling, normalization, SQL, and performance—from analyzing a messy paper system to building a scalable OLTP or data warehouse database. Read this if you're new to database development and want to design robust structures on Access, SQL Server, DB2, MySQL, or Oracle without drowning in academic theory.
## 【Book Arc】
- **Opening (~0%–10%)**: Traces the evolution of database modeling from flat file systems through hierarchical, network, relational, and object-relational models, then introduces the two main application contexts—OLTP (high-concurrency transaction processing) and DSS/data warehousing (decision support with massive historical data).
- **Early (~10%–23%)**: Shifts to workplace practice: how to approach modeling by interviewing end-users, understanding business rules, and the classic scenario of computerizing a paper-based system—collecting documents, categorizing them, and extracting table structures from real-world artifacts.
- **Early–Middle (~23%–39%)**: Covers core relational building blocks: entity relationship diagrams (ERDs), identifying vs. non-identifying relationships, primary/foreign keys, and indexing strategies—including the trade-offs of too many indexes and the need to manually index nullable foreign keys.
- **Middle (~39%–48%)**: Dives into normalization—the academic Normal Forms (1NF through Domain Key) explained in plain language, with practical guidance on when normalization helps and when over-normalization hurts performance, especially for OLTP and data warehouse scenarios.
- **Late (~48%–end)**: Moves to advanced topics: views, materialized views, index types (BTree, bitmap, hash/ISAM), clusters, partitioning, parallel processing, and hardware considerations like RAID arrays, standby databases, replication, and grid computing—plus encoding business rules for both OLTP and warehouse models.
## 【Key Takeaways】
- **Database model choice depends on workload** (Opening): OLTP databases face explosive concurrency (millions of users, 24/7) while client-server databases serve hundreds; data warehouses prioritize historical analysis over transaction speed. Understanding this split shapes every design decision.
- **People skills are as important as technical skills** (Early): End-users hold the facts about business operations; a modeler who assumes they know everything is "the only fool." Interview users, verify interpretations, and involve the executive who hired you to avoid office politics.
- **Paper systems are a goldmine for design** (Early): Computerizing a pile of papers can be the easiest path—the documents reveal table structures, relationships, and business rules—but beware of duplicated, conflicting, or organically grown chaos that needs cautious categorization.
- **Normalization reduces redundancy but has limits** (Early–Middle): Benefits include better organization, less storage, and single-record updates; hazards include too many tables, huge SQL joins, slow queries, and models too "techie-friendly" for end-users. Disk space is cheap; performance is not.
- **Relationships come in identifying and non-identifying flavors** (Early–Middle): An identifying relationship embeds the parent's primary key into the child's composite key (e.g., COAUTHOR), while a non-identifying relationship keeps the foreign key separate—critical for modeling dependencies correctly.
- **Indexes are a double-edged sword** (Middle): Too many indexes slow down every write (each change updates all indexes); indexes should be small and on few fields. Foreign keys that allow NULLs or duplicates need manual indexing—they won't get it automatically.
- **Normal Forms are practical, not just academic** (Middle): 1NF removes repeating fields (master-detail), 2NF removes repeating values (many-to-one), 3NF eliminates transitive dependencies—but the precise academic language confuses many designers, so use common sense plus business knowledge first.
- **Advanced structures solve scale problems** (Late): Views, materialized views, partitioning, parallel processing, and specialized hardware (RAID, standby databases, replication, grids) address performance and availability—but hardware costs and memory needs must be weighed against budget.
## 【Reading Tips】
- **Skim the history chapter** (Opening): The evolution from file systems to relational models is useful context but not actionable; focus on the OLTP vs. DSS distinction, which frames the rest of the book.
- **Deep-read the workplace modeling chapter** (Early): The paper-system case study and end-user interview advice are the most practical, transferable skills—take notes on the categorization workflow.
- **Treat normalization as a reference** (Middle): Don't memorize Normal Form definitions; instead, understand the three core patterns (1NF, 2NF, 3NF) and when to stop. The book itself admits over-normalization is a real hazard.
- **Use the indexing and advanced topics as lookup material** (Middle–Late): Index types, views, and partitioning are best consulted when you hit a specific performance problem, not read cover-to-cover.
- **Skip the vendor-specific details if you use one DBMS**: The book covers Access, SQL Server, DB2, MySQL, and Oracle—focus on the general principles and apply them to your platform.
## 【Coverage Limits】
The excerpts cover the book's first half (modeling, normalization, indexing) and outline the advanced topics (views, partitioning, hardware) but do not include the full SQL chapters, the complete case study, or the data warehousing and object-modeling sections in detail. Hardware specifics (RAID levels, memory sizing) are only summarized.
##
Page 18
tioning and Parallel Processing 385 Understanding Views 386 Understanding Materialized Views 387 Understanding Types of Indexes 390 BTree Index 391 Bitmap In...
all the facts, especially if a database does not yet exist. If a database already exists, that existing database might be useful, might even be a hindrance, ...
the model “techie-friendly” and thus very “user-unfriendly.” Who is accessing the database, end-users or OLTP applications? Tables are connected to each othe...
the be-all and end-all of relational database model design. This chapter also describes a brief user-friendly interpretation of Normal Forms. It is just as i...
one candidate key, then 3NF and BCNF are one and the same. ❑ 4th Normal Form (4NF) — Eliminate multiple sets of multi-valued dependencies. ❑ 5th Normal Form ...
(SELECT AUTHOR_ID FROM PUBLICATION WHERE PUBLICATION_ID IN (SELECT PUBLICATION_ID FROM EDITION WHERE PUBLISHER_ID IN (SELECT PUBLISHER_ID FROM PUBLISHER)));
on? Should it summarize transactions as a single record for each day, month, year, and so on? The more granularity the data warehouse contains, the bigger fa...
The result is a highly signifi- cant impact on performance. Indexing has a very significant affect on how well WHERE clause fil- tering performs. ❑ The GROUP...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Loading comments...
Reply to Comment
Edit Comment