Creating your MySQL Database: Practical Design Tips and Techniques

A short guide for everyone on how to structure your data and set-up your MySQL database tables efficiently and easily.

Creating your MySQL Database: Practical Design Tips and Techniques

This ebook is included in a Mapt subscription
Marc Delisle

1 customer reviews
A short guide for everyone on how to structure your data and set-up your MySQL database tables efficiently and easily.
$11.99
$19.99
RRP $11.99
RRP $19.99
eBook
Print + eBook
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781904811305
Paperback108 pages

Book Description

For most of us, setting up the database for an application is often an afterthought. While you don't need to be a professional database designer to create a working application, knowing a few insider tips and techniques can make both the process easier and the end result much more effective. This book doesn't set out to make you an expert in data analysis, but it does provide a quick and easy way to raise your game in this essential part of getting your application right.

Table of Contents

Chapter 1: Introducing MySQL Design
MySQL's Popularity and Impact
Data as a Resource
Data Modeling
Case Study
The Tale of the Too Wide Table
Summary
Chapter 2: Data Collecting
System Boundaries Identification
Document Gathering
Interviews
Data Collected for our Case Study
Summary
Chapter 3: Data Naming
Data Cleaning
Subdividing Data Elements
Data that are Results
Data as a Column's or Table's Name
Planning for Changes
Naming Recommendations
Summary
Chapter 4: Data Grouping
Initial List of Tables
Rules for Table Layout
Improving the Structure
Validating the Structure
Summary
Chapter 5: Data Structure Tuning
Data Access Policies
Storage Engines
Performance
In-Column Data Encoding
Case Study's Final Structure
Summary
Chapter 6: Supplemental Case Study
Results from the Document Gathering Phase
Preliminary List of Data Elements
Tables and Sample Values
Airline System Data Schema
Sample Queries
Summary

What You Will Learn

  • Asking users the right questions to collect relevant data for the system you are building
  • Detecting bad structures
  • Sound data-naming techniques, for both table and column names
  • Modeling data with future growth in mind
  • Implementing security policies with data privileges and views
  • Tuning the structure for performanceProducing system documentation (data dictionary, relational schema)
  • Testing the model with appropriate SQL queries

Authors

Table of Contents

Chapter 1: Introducing MySQL Design
MySQL's Popularity and Impact
Data as a Resource
Data Modeling
Case Study
The Tale of the Too Wide Table
Summary
Chapter 2: Data Collecting
System Boundaries Identification
Document Gathering
Interviews
Data Collected for our Case Study
Summary
Chapter 3: Data Naming
Data Cleaning
Subdividing Data Elements
Data that are Results
Data as a Column's or Table's Name
Planning for Changes
Naming Recommendations
Summary
Chapter 4: Data Grouping
Initial List of Tables
Rules for Table Layout
Improving the Structure
Validating the Structure
Summary
Chapter 5: Data Structure Tuning
Data Access Policies
Storage Engines
Performance
In-Column Data Encoding
Case Study's Final Structure
Summary
Chapter 6: Supplemental Case Study
Results from the Document Gathering Phase
Preliminary List of Data Elements
Tables and Sample Values
Airline System Data Schema
Sample Queries
Summary

Book Details

ISBN 139781904811305
Paperback108 pages
Read More
From 1 reviews

Read More Reviews