NRW Conf 2013 - SQL Server DMVs für Entwickler

24
Data Warehouse ETL OLAP Data Quality Reporting Services Analysis Services BI Methodology BI Lifecycle Skill Improvment Data Profiling Architecture Dimensional Modeling BI Strategy Patterns Consulting Coaching Coaching MDM DMVs für Entwickler Deutscher Minigolfsportverband für Philosophen…“ von Sascha Lorenz

description

 

Transcript of NRW Conf 2013 - SQL Server DMVs für Entwickler

Page 1: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

DMVs für Entwickler

„Deutscher Minigolfsportverband für Philosophen…“

vonSascha Lorenz

Page 2: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Prämisse dieser Session

• Die schon fast legendäre Frage stellen: „Warum soll gerade ich mich damit beschäftigen?“

• Anregungen vermitteln• Neugierig machen

Page 3: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Kurz zu mir…

• Sascha Lorenz, Jahrgang 1971• Hamburger• PSG Projekt Service GmbH –

The SQL Server Company• Lead Consultant

(PM, Architekt, Coach & Trainer)• Microsoft vTSP• SQL Server Community (Hamburg)

Page 4: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Page 5: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Pareto Prinzip

80:20

Page 6: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Gründe, um sich damit zu beschäftigen

• Datenbank Entwicklung ist mehr als nur Code schreiben

• Deployment, Qualitätstests, Integrationstests, Dokumentation

• Unterstützung in der Produktion bzw. des Supports

• Vereinfachung von Änderungen• Und um einfach Zeit für neue Aufgaben zu

haben (Loslassen als Risikomanagement…)

Page 7: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Werkzeug #1

Page 8: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Werkzeug #1

Page 9: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Mit System Views googlen heißt:

42

Page 10: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Die Datenbank Seite

• Die 8 kb Seite• Unser bester Freund• Sie wohnt in der mdf

bzw. in den ndf‘s unserer Datenbank

• Sie geht nie ohne ihre Freunde aus (Gang of 8)…

96 Byte

36 Byte

= 8060 Byte

Page 11: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Zeit war gestern…

Set Statistics IO on;

Page 12: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Checkliste Indizierung

• Gruppierter Index• Nicht gruppierter Index• Eindeutiger Index• Gefilterter Index• Index mit eingeschlossenen Spalten

Page 13: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Was ist das Wichtigste am Index?

Die Statistiken!

Page 14: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Philosophie der Indizierung

Der Index ist sowohl Weg als auch Ziel!

(frei aus dem Daoismus)

Page 15: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

SQL OS

Wartet auf

Ressource

Wartet dran zu

kommen

Läuft

Page 16: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

sys.<something>

Page 17: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

sys.dm_***

oder

sys.***

Page 18: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

sys.dm_os_***

Page 19: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

sys.dm_server_***sys.dm_os_***sys.dm_db_***sys.dm_sql_***sys.dm_exec_***sys.dm_io_***sys.dm_tran_***

Page 20: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

sys.objectssys.databases

sys.tablessys.views

sys.indexes

Page 21: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Ab in die System Views…

object_name(object_id)

db_id(„Database Name“)

Page 22: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Demo

Page 23: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Soweit…

Fragen?

Page 24: NRW Conf 2013 - SQL Server DMVs für Entwickler

Data WarehouseETL OLAPData Quality Reporting ServicesAnalysis Services

BIMethodology

BI LifecycleSkill Improvment Data Profiling

Architecture

Dimensional Modeling

BI Strategy

Patterns

Consulting

Coaching

Coaching

MDM

Danke!Follow me on Facebook, Twitter and http://saschalorenz.blogspot.com

Send me a mail -> [email protected]