Chapter 8 Database Design / Modeling

Table of Contents

8.1 Modeling Interface
8.1.1 Model Editor
8.1.2 EER Diagram Editor
8.1.3 Creating Tables
8.1.4 Creating Foreign Key Relationships
8.1.5 Creating Views
8.1.6 Creating Routines and Routine Groups
8.1.7 Creating Layers
8.1.8 Creating Notes
8.1.9 Creating Text Objects
8.1.10 Creating Images
8.2 Additional Modeling Tools
8.2.1 Printing Diagrams
8.2.2 DBDoc Model Reporting
8.2.3 Schema Validation Plugins
8.3 Modeling Tutorials
8.3.1 Creating a Model
8.3.2 Basic Modeling
8.3.3 Importing a Data Definition SQL Script
8.3.4 Using the Default Schema
8.3.5 Documenting the sakila Database
8.4 Forward and Reverse Engineering
8.4.1 Forward Engineering
8.4.2 Reverse Engineering
8.5 Schema Synchronization and Comparison
8.5.1 Database Synchronization
8.5.2 Compare and Report Differences in Catalogs
8.6 Table Templates
8.7 Customizing DBDoc Model Reporting Templates
8.7.1 Supported Template Markers
8.7.2 Creating a Custom Template

Modeling simplifies database design and maintenance by enabling you, the data architect, to visualize requirements and resolve design issues. Model-driven database design is an efficient methodology for creating valid and well-performing databases, while providing the flexibility to respond to evolving data requirements. Models are used to build ER diagrams and physical MySQL databases.

MySQL Workbench provides extensive capabilities for creating and manipulating database models, including these:

This is not an exhaustive list. The following sections discuss these and additional data-modeling capabilities.