84

Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Embed Size (px)

Citation preview

Page 1: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 2: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Cathrine Wilhelmsen

Page 3: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 4: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

V

Page 5: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 6: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 7: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 8: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 9: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

DEsP

Page 10: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

DgRw

Page 11: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #1: Visual Information

Page 12: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 13: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 14: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 15: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 16: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 17: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #2: Shortcuts

Page 18: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 20: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

o

Page 21: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 22: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 23: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 24: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 25: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 26: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 27: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 28: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #3: Search in SSMS

Page 30: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 32: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #4: Templates and Snippets

Page 33: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 34: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 35: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 37: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Redgate SQL Prompt Demo

Page 38: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #5: Registered Servers and Multiserver Queries

Page 39: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 40: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 41: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 42: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 43: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #6: SARGable Queries

Page 44: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

(We'll pretend we still use phone books)

Page 45: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Find all rows where Name starts with "T"

Page 46: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

TTT

Find all rows where Name starts with "T"

Page 47: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

(We'll keep pretending we still use phone books)

Page 48: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Find all rows where Name contains "al"

Page 49: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

alal

al

alal

Find all rows where Name contains "al"

Page 51: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #7: Query Analysis

Page 52: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 53: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 54: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 55: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 59: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #8: Query Statistics

Page 60: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

SET STATISTICS IO OFF;

SET STATISTICS IO ON;

Page 61: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

SET STATISTICS TIME OFF;

SET STATISTICS TIME ON;

Page 62: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

SET STATISTICS TIME, IO ON;

SET STATISTICS TIME, IO OFF;

Page 64: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 65: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 66: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #9: Activity Monitoring

Page 68: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 69: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Tip #10: SSIS with Biml

Page 70: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 73: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 74: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 75: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

<Biml xmlns="http://schemas.varigence.com/biml.xsd">

<Packages>

<Package Name="EmptyPackage1"></Package>

<Package Name="EmptyPackage2"/>

</Packages>

</Biml>

Page 76: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 77: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 78: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 79: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

<#@ import namespace="Varigence.Biml.CoreLowerer.SchemaManagement" #>

<# var conAW2014 = SchemaManager.CreateConnectionNode("AW2014", "..."); #>

<# var AW2014DB = conAW2014.GetDatabaseSchema(); #>

<Packages>

<# foreach (var table in AW2014DB.TableNodes) { #>

<Package Name="Load_<#=table.Name#>">

</Package>

<# } #>

</Packages>

Page 80: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

Biml for SSIS demo

Page 82: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)
Page 83: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

cathrinewilhelmsen.net/efficient

Page 84: Tools and Tips: From Accidental to Efficient Data Warehouse Developer (PASS Women in Technology Virtual Chapter)

cathrinewilhelmsen.net/efficient