+ All Categories
Home > Documents > Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Date post: 30-Mar-2015
Category:
Upload: adan-beckett
View: 216 times
Download: 2 times
Share this document with a friend
Popular Tags:
17
Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber
Transcript
Page 1: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Performance-Tuning for Extract/Transform/Load (ETL) Operations

Presented by : Ken Stuber

Page 2: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

About Ken

• Data Architect at Jewelers Mutual Insurance• Has worked with SQL Server since 1997• Has supported Data Warehousing on SQL platform for

7+ years• Missed MCM by one lab exam question. Grrr…. Will try

again with whatever new advanced cert MS comes up with…

• @KenStuber• http://dropcleanbuffers.blogspot.com/• [email protected]• http://www.linkedin.com/pub/ken-stuber/9/b7b/2a0/

Page 3: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

First… know your goals

• BASELINE• SLAs• Refresh Frequency• Process Prioritization

Page 4: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Then … Design for Performance

• Data Grain• Source Data Local• Re-startable

• Parallel processing• Merge or Rebuild Dims?

Page 5: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Database and Server Settings

• Recovery Model• Isolation• Max Memory• Power Option• MAXDOP

Page 6: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Getting to your Source Data

If Local…

• Backup & Restore• SAN Snap or Clone• AA Readable 2nd

• Snapshot of Mirror• Replication• Log Shipping• CDC?

• Performance Trade-off of local vs Remote

• Always TEST!

Page 7: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Bulk Loading Data

• Reduce IO w/ Minimal Logging• Methods• sys.dm_io_virtual_file_stats• TABLOCK vs Trace Flag 610

Page 8: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.
Page 9: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Functions

CPU killer

UDFvs

CLRvs

In-Line

Page 10: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Indexing

• Source• Staging• Dest.

Page 11: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Statistics

• Bad Stats = Catastrophic Performance• Update after every build• FULLSCAN if you can afford it

Page 12: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Compression?

I/O Reductionat cost of CPU

Page 13: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Partitioning?

• Can Eliminate the L. of E.T.L.• Increases Complexity• Can Benefit Query performance too

Page 14: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Other Advanced Features

• Hekaton?

• Updatable Columnstore Indexes?

Page 15: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Hardware Considerations

• More RAM!!!• IO or CPU bound?• Know your IO

Subsystem• SSDs• Multiple files• TempDB local

Page 16: Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.

Tuning existing ETL


Recommended