buck woody senior microsoft sql server specialist session code: dat210

12
Database Design Methodologies for Microsoft SQL Server Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Upload: august-rich

Post on 05-Jan-2016

217 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Database Design Methodologies for Microsoft SQL ServerBuck WoodySenior Microsoft SQL Server Specialist

SESSION CODE: DAT210

Page 2: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

[email protected] http://blogs.msdn.com/buckwoody

http://www.informit.com/guides/guide.aspx?g=sqlserver http://edge.technet.com/People/BuckWoody/

http://facebook.com/buckwoody http://twitter.com/buckwoody

Page 3: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Session Description and Objectives

Database design has the greatest impact on performance, reliability and security. Yet many IT professionals focus only on the physical model of the database. This session takes a simple set of requirements and decomposes the design process, using basic methodologies such as Entity Relationship Diagrams (ERD), Object-Role Modeling (ORM) and Unified Modeling Language (UML) to create an effective design. It covers the basic tools you can use for each of these approaches for SQL Server.

Objective #1 Learn the process for decomposing requirements to a logical design that can be communicated to Business and Development teams.

Objective #2 Understand the principals of Normalization and a simple process to Normalize.

Objective #3 Understand various tools available to design and implement a database.

Page 4: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Importance of Good Data Design

Impacts Performance, Security, Storage and Integrity

Design can be attributed to 50-75% of Project Issues

Clear Communications with Business and Developers

Page 5: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Who Designs (and Why)? May be a Single Person Or Group

Business Person or Business Analyst

Developer

DBA or Data Professional

• The Organization has strong talent in this area• Data viewed as a business asset• Data viewed as a “flow” pattern

• Mature development shop• No dedicated data staff• Formal ALM processes used

• Full-time Data Professional available• Data viewed holistically

Page 6: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Design Process

1. Create / Refine Business Requirements

2. Break out Nouns

3. Refine Nouns

4. Define Relationships

5. Define Datatypes

Normalization

A b C d 1 2 3 $ % # ^ :

Page 7: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Design Methodologies

• Object Role Modeling (Mostly Business Analysts)

• Unified Markup Language (Mostly Developers)

• Entity Relationship Diagram(Mostly Data Professionals)

Page 8: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Model Types

1.Conceptual• Platform Independent, Business Oriented, “Information Model”

2.Logical• Platform Independent, Flow and Developer Oriented

3.Physical• Platform Dependent, Performance, Sizing and Security

Page 9: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

Tools

Note: Almost all modeling is not kept current

• Basic Shapes

• Visio / 3rd Party Tools

• Entity Framework / LINQ

Page 10: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

References

Link List: tinyurl.com/ycoqlvu

Page 11: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

© 2009 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Page 12: Buck Woody Senior Microsoft SQL Server Specialist SESSION CODE: DAT210

JUNE 7-10, 2010 | NEW ORLEANS, LA