From (User) Story to Tables

Slides:



Advertisements
Similar presentations
How much architecture? Reducing the up-front effort MICHAEL WATERMAN, JAMES NOBLE, GEORGE ALLAN 1 Agile India 2012.
Advertisements

Online Friends’ Community Presented by: Stuart Monaghan HND in Computing th May 2002.
Writing and Editing Modular Documentation: Some Best Practices Yoel Strimling (Comverse) Based on a joint presentation with Michelle Corbin (IBM) at the.
©2001 Southern Illinois University, Edwardsville All rights reserved. Today Putting it in Practice: CD Ch. 20 Monday Fun with Icons CS 321 Human-Computer.
Adventures in exploring the Parts of Speech and the Dance Elements.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Overview of Standards for Literacy in History/Social Studies, Science, and Technical Subjects The Common Core State Standards.
Humanities 8 th Grade Mr. Chavez Ms. Huebner Ms. Leahy Lincoln Middle School.
Data Modelling for Beginners. About Coeo Senior DBA Microsoft Certified Master SQL Server Studying MSc Data Science at Dundee University.
GCSE ENGLISH ENGLISH LANGUAGE Unit 1 group Oracy task 21 st and 22 nd November 2016 Unit 2 exam 6 th June 2017 Unit 3 exam 12 th June 2017 ENGLISH LITERATURE.
Use of Literature in Language Teaching
Strategies For Making Assessment Meaningful and Manageable
Instructions on making the poster
Evaluation Case Analysis 25% Mid-term (individual problem analysis;
THIS IS TO EVIDENCE YOUR WORK AND GET THE BEST GRADE POSSIBLE
IB Assessments CRITERION!!!.
STANAG for Non-Specialists
ENTERPRISE FACULTY What is Enterprise?.
Who is the Expert? Combining Intention and Knowledge of Online Discussants in Collaborative RE Tasks Itzel Morales-Ramirez1,2, Matthieu Vergne1,2, Mirko.
ACT Preview.
INTERPERSONAL COMMUNICATION
SQL Saturday Pittsburgh
Originating the role of Information Governance Officer
GCSE ENGLISH English Language key for further education and jobs
Documentation – you know you love it
M3U3 Back to the past Task.
Unit 1 Greeting and Introducing People
Summarising skills and professional standards
Media Analysis.
Change Leadership Group of Harvard and Instructional Rounds
From Fan To Pro: Using Your Hobbies in Your Career
Tutorial Welcome to Module 13
Engaging Families in the Assessment Process
1. Define a Vision & Identify Business Scenarios
ADO.NET Entity Framework Marcus Tillett
IB Language and Literature
Online Composition with Georgie Ziff
Guided Reading- Ch. 1-Lessons 1, 4, & 5.
Counseling with Depth of Knowledge
Instructions on making the poster
Technical translation
Preparing Our Students for the Future
Literacy Content Specialist, CDE
Arts Education Brings Out the Best in Students
IB Language and Literature
Communicative competence
Louisiana: Our History.
Connecticut Core Standards for English Language Arts & Literacy
Your Standards TODAY’S FLOW MORNING: Standards & 1st Unit Curriculum
PowerShell & PowerBi Reducing DBAs Context Switching
PowerShell & PowerBi Reducing DBAs Context Switching
Adam Wrestch University of Toronto (2008) Bachelor of Education
AESS Annual Assessment Process Workshop
Fill in the questionnaire.
“I Can” Learning Targets
Section VI: Comprehension
Fill in the questionnaire.
Of Mice and Men Unit Plan Grade 10
Be Collaborative. Be Innovative. Be Agile.
How to write a good Introduction
Core Course Knowledge Lesson 6
Core Course Knowledge Lesson 6
THE ROLE OF THE LIBRARY MEDIA SPECIALIST
“I Can” Learning Targets
Overall Learning Reflection
Multiply and Divide I can recall some multiplication
Ms. Levy English II Room 120.
“I Can” Learning Targets
“I Can” Learning Targets
Customer Problem Statement Template
Presentation transcript:

From (User) Story to Tables Reading between the lines to find and understand your data

WARNING! Literary Geekiness may ensue! You may be asked to participate! From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

What’s my story? Working as a DBA for 18 years SQL Saturday and User Group Speaker NESQL Board member Random facts: I’m the alto section leader in my choir. I go to bluegrass jams regularly. I’ve been learning guitar and now mandolin. I am a bit of a musical theater geek. I majored in English and History. The English & History background explains a lot of why I’m approaching things this way. From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Data & Story From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Agile Methodology “Agile Software Development is an umbrella term for a set of methods and practices based on the values and principles expressed in the Agile Manifesto. Solutions evolve through collaboration between self- organizing, cross-functional teams utilizing the appropriate practices for their context.” https://www.agilealliance.org/agile101/ https://www.agilealliance.org/agile101/ From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

User Stories Agile development breaks workloads into “stories” “As this type of user, I want to be able to ….” The goal is to be able to take these stories and translate them into our application functionality and understand what the data requirements. From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Let’s treat user stories as literature… From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

How do we interpret literature? Looking at sentence structure and syntax Applying context clues Applying outside knowledge of the subject matter From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Diagramming Sentences Talk about the purpose of diagramming sentences – not to learn the different parts of speech but to understand the relationship between them and get a better grasp of the sentence structure overall. Point out how similar the diagram is to a data model. Link to the NPR article: http://www.npr.org/sections/ed/2014/08/22/341898975/a-picture-of-language-the-fading-art-of-diagramming-sentences Link to diagrammed famous first sentences: https://www.popchartlab.com/products/a-diagrammatical-dissertation-on-opening-lines-of-notable-novels

Steps for Diagramming Sentences Identify the part of speech for each word Identify how the words are related to each other Create the diagram From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Steps for Modeling Data Identify the data points Identify the implied information related to the data points Create the models From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Identify the Data Points Address Information: Not quite specific in terms of address lines The word “present” implies multiple address types Name Information: Only asking for full name and not the different name parts From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Identify additional information Business knowledge Using universal data models Len Silverston Michael Blaha David Hay Ralph Kimbell William Inmon Etc. “Just Enough Design Upfront” From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Create the Models Conceptual Logical Physical From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Types of Models Relational Star Schema Normal Forms Designed for fast writes Often used for OLTP systems Facts and Dimensions Designed for fast reads Often used for OLAP/Data warehouses or marts/BI Solutions From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Here’s a story (or two) we can use… Let’s practice Here’s a story (or two) we can use… Options: First line of Moby Dick – “Call me Ishmael” Any other example from the link in NPR article: Metamorphosis. Pride and Prejudice First line of the Hobbit or Harry Potter From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Story 1: Moby Dick From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Story 2… From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Why is this important? Understanding how to better break down the tasks better as part of the Agile development process. Including database design at an earlier point of the overall design process. “Shifting Left” Determining the why, when, how the technical details of database design should be applied. Understanding how the database impacts the company’s business = Job Security! From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Obstacles to this process Requirements Inaccurate information Scope creep Unforeseen changes Inability to see full picture Communication Communication styles Office culture & politics From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Additional Reading Diagramming sentences: Agile Methodology Modeling: Article on NPR: http://www.npr.org/sections/ed/2014/08/22/341898975/a-picture-of-language-the- fading-art-of-diagramming-sentences Agile Methodology The Agile Alliance: https://www.agilealliance.org Modeling: Descriptions of the different types of models (Karen Lopez): http://www.datamodel.com/index.php/articles/what-are-conceptual-logical-and-physical-data- models/ “Just Enough Design Upfront”: Agile Data Warehouse Design by Lawrence Corr with Jim Stagnitto. The importance and implication of better understanding data requirements: Pushing for database development to be earlier in the process (Stephanie Herr): https://www.simple- talk.com/sql/database-devops-sql/devops-shift-left-databases/ The conclusion about the role of the DBA building solutions and understanding the data (Thomas LaRock): https://thomaslarock.com/2017/02/what-does-a-dba-do-all-day/ Hopefully I will have touched most of these points earlier in the presentation. The descriptions are why I’m including them. Link to Agile Data Warehouse Design on Amazon: https://www.amazon.com/Agile-Data-Warehouse-Design-Collaborative/dp/0956817203 From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Data Modeling Tools ER/Studio Data Architect erwin Data Modeler https://www.idera.com/er-studio-data-architect-software erwin Data Modeler https://erwin.com/products/data-modeler/ Model Right http://www.modelright.com/ SQL Database Modeler https://sqldbm.com/en/Home/ ER/Studio Data Architect: https://www.idera.com/er-studio-data-architect-software erwin Data Modeler: https://erwin.com/products/data-modeler/ Model Right: http://www.modelright.com/ SQL Database Modeler: https://sqldbm.com/en/Home/ From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin

Have More Questions? Let me know! Email: Twitter: @dgmelkin Blog: DebtheDBA.wordpress.com dgmelkin@gmail.com Please fill out your speaker evaluation form! From (User) Story To Tables | Deborah Melkin | dgmelkin@gmail.com | @dgmelkin