Critical Path SQL Thane Schaffer: Database Administrator/Architect, Transcore, Albuquerque NM

Slides:



Advertisements
Similar presentations
Performance Tuning Compiled from: Oracle Database Administration, Session 13, Performance, Harvard U Oracle Server Tuning Accelerator, David Scott, Intec.
Advertisements

PHP and MySQL Database. Connecting to MySQL Note: you need to make sure that you have MySQL software properly installed on your computer before you attempt.
Lecture-7/ T. Nouf Almujally
91.309/310 Database I & II Prof. Cindy Chen. What is a database? A database is a very large, integrated collection of data. A database management system.
Database Software File Management Systems Database Management Systems.
CSCI 3 Introduction to Computer Science. CSCI 3 Course Description: –An overview of the fundamentals of computer science. Topics covered include number.
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 1: Introduction to Relational.
3-1 Chapter 3 Data and Knowledge Management
Dr. Mohamed Osman Hegazi
Attribute databases. GIS Definition Diagram Output Query Results.
RFID Shelving Final Project: 19 Mar 2007 Guy Shtub Idit Gershoni.
Database Management COP4540, SCS, FIU An Introduction to database system.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
CI GLOBAL TECH LLC COMPANY OVERVIEW & OFFERING CI GLOBAL TECH.
CSC2012 Database Technology & CSC2513 Database Systems.
Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
1 CS 430 Database Theory Winter 2005 Lecture 1: Introduction.
Database Management Exploring the Territory. Database vs Flat Files Flat Files –Characters-fields-records-files Files are not designed to work together.
Introduction to SQL Steve Perry
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Simple Database.
Database Migration between various Applications Over Network -- Manish Padakanti U
PASS Community News January SQLSaturday Events – January/February Upcoming North America Events Upcoming International Events Feb 9#183Albuquerque,
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
SQL Structured Query Language Programming Course.
Microsoft Access - PA Harris, Vanderbilt University Crash Course A Primer for Relational Database Design and Use Paul A. Harris, Ph.D. Office of Research.
“INTRODUCTION TO DATABASE AND SQL”. Outlines 2  Introduction To Database  Database Concepts  Database Properties  What is Database Management System.
FEN Introduction to the database field:  Applications, concepts and terminology Seminar: Introduction to relational databases.
Compiled by: Dr. Mohammad Omar Alhawarat
CSc340 1b1 The Relational Model Chapter 2 Database Schema Keys Schema Diagrams Relational Query Languages Relational Operations.
Occupation PowerPoint
CS-2852 Data Structures LECTURE 11 Andrew J. Wozniewicz Image copyright © 2010 andyjphoto.com.
Information Building and Retrieval Using MySQL Track 3 : Basic Course in Database.
Dr. Mohamed Osman Hegazi
By Stephanie Wood And Nedziba Bubregovic.  A very large collection of data  A database management system is a software package designed to store and.
UNIVERSITAS MUHAMMADIYAH SURAKARTA DATABASE MANAGEMENT SYSTEM - INTRODUCTION.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
INTRODUCTION lecture1 1. Data base concept Data is a meaningless static value. What does 3421 means? Information is the data you process in a manner that.
Computer Science 112 Fundamentals of Programming II Introduction to Trees.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
Class 4 Agenda Database Management Systems Database Management Systems Chapter 4: Moore’s Law Chapter 4: Moore’s Law Midterm Case Midterm Case.
Dfgtdfggdgdf Transcore: Visibility Customization.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Introduction to R and Data Science Tools in the Microsoft Stack Jamey Johnston.
Execution Plans Detail From Zero to Hero İsmail Adar.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Power BI is Awesome! Steve Wake DW/BI Engineer, National CineMedia (NCM) Chapter Leader, Mile Hi Power BI User Group.
What is a Tree? Formally, we define a tree T as a set of nodes storing elements such that the nodes have a parent-child relationship, that satisfies the.
IFS180 Intro. to Data Management Chapter 10 - Unions.
“Introduction To Database and SQL”
Amazon Web Services RDS with SQL Server
W04 Connecting 3rd Party Application to ODBC
Exploring common table expressions
© 2012, Mike Murach & Associates, Inc.
قاعدة البيانات Database
Tools for Memory: Database Management Systems
Critical Path SQL Critical Path SQL
Introduction lecture1.
“Introduction To Database and SQL”
قاعدة البيانات Database
Database.
Amazon Web Services RDS with SQL Server
Week nine-ten: Trees Trees.
Databases.
SQL Server Query Design and Optimization Recommendations
Database SQL.
Presentation transcript:

Critical Path SQL Thane Schaffer: Database Administrator/Architect, Transcore, Albuquerque NM Traversing trees of hierarchal data structures, solving cumulative minimum/maximum problems for critical paths in SQL

Critical Path SQL  Thane Schaffer  Current employment DBA with Transcore, an Engineer To Order (ETO)  R&D, manufacturingof RFID tolling equipment, i.e. tags & readers, bidding software projects to governmental agencies  Support MS SQL Server 2005, 2008R2, 2014, Oracle offsite/onsite clients, Postgres Open GIS, mySQL, and Visibility ETO ERP Administration  Previously consulted/employed  Daimler Trucks North America (Freightliner): data modeler for a global Teamcenter PLM reporting (Oracle OLAP)  Gallo Wines (Oracle data migration/interfaces); Beverage industry  Precision Castparts (Delphi & VB app dev/Oracle design OLTP); Aerospace  Clackamas County Tax Assessors office (Informix Y2K conversion); Local government  Mitsubishi Silicon America (DEC VAX & VB app dev/Oracle OLTP); Silicon wafer manufacturer  HMO – Oregon (HP 3000 Image hierarchal DB); Healthcare  SEH America (DEC VAX/VMS app dev/DEC rDB); Silicon wafer manufacturer  ITI Technologies (HP 3000/9000 Image hierarchal DBMS); Motherboards  Electro Scientific Industries (DEC VAX app dev/RMS/Datatrieve/operations); Laser trimmers – Silicon wafers  linkedin: thane schaffer  blog:  / 2/20/2016SQLSaturday #478 – Albuquerque |

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque |  Critical path definition:  An algorithm that examines a constraint and all possible outcomes for that constraint so as to understand the maximum/minimum duration of that constraint  Examples:  Project management examining manpower or time constraints  Travel: salesman, transportation and logistics  Designing or building complex products: motherboards, cars, trucks  War/Military actions and objectives: seizing territories  Answer for shortest path? 1)ADF 2)AE 3)BC

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque |  Another example:  Additional variables add to complexity  Direct labor hours, machine capacity/time, machine setup time/costs, material costs, acquisition/lead times, queue/wait times, move times (DRAG), and many variations in labor, machines compound issues

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque | OLTP Hierarchal data can be found in many places in the business

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque | OLTP Hierarchal data structures in your databases Employee tableBill of Materials table

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque |  Traversing hierarchal data structures in proper order that’s meaningful for the business  Computer science data structure courses teach about pre-order, in- order, post-order traversals. Inverted tree structure requires pre-order for most business needs  Pre-order starts at the root and travels down and left, working right / up  Produces an ordered set  {F, B, A, D, C, E, G, I, H}

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque | Syntax for recursive common table expressions: WITH CTEbom (column1, column2, …columnN) as ( select column1, column2, …columnN from table1 (anchor query) UNION ALL select column1, column2, …columnN from table2 t2 inner join CTEbom ct on ct.column1 to t2.column1 (recursive query & join back on itself) ) select column1, column2, …columnN from CTEbom option (maxrecursion 6) Basic example: Solution: SQLSaturday478_DemoProject.ssmssln, Open:BTreeBOMExample.sql

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque | AdventureWorks example: Solution: SQLSaturday478_DemoProject.ssmssln, Open:AdventureWorksBOMCTE.sql

Critical Path SQL 2/20/2016SQLSaturday #478 – Albuquerque |  Transcore examples:  Solution: SQLSaturday478_DemoProject.ssmssln, Open: TranscoreExamples.sql  Proc finds maximum cumulative lead time: AMTC_FETCH_BOM_CUM_LT  Function returns result set of BOM structure: AMTC_FIND_BOM_LT  VisMaintenance (Bart) application  How messy can this all get, see old Oracle example: OracleBOMExample.sql

Thanks to our Sponsors!

Join us at our Networking happy hour immediately following the closing remarks today Fox & Hound 4301 The Lane at 25 NE, Albuquerque, NM Drinks, Light appetizers, Raffle drawings, Pool tables, dart boards, and more networking with speakers, organizers, and attendees. See you there!