1 / 17

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

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

velvet
Télécharger la présentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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/ • kstuber@jminsure.com • http://www.linkedin.com/pub/ken-stuber/9/b7b/2a0/

  3. First… know your goals • BASELINE • SLAs • Refresh Frequency • Process Prioritization

  4. Then … Design for Performance • Data Grain • Source Data Local • Re-startable • Parallel processing • Merge or Rebuild Dims?

  5. Database and Server Settings • Recovery Model • Isolation • Max Memory • Power Option • MAXDOP

  6. Getting to your Source Data • Performance Trade-off of local vs Remote • Always TEST! • If Local… • Backup & Restore • SAN Snap or Clone • AA Readable 2nd • Snapshot of Mirror • Replication • Log Shipping • CDC?

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

  8. Functions CPU killer UDF vs CLR vs In-Line

  9. Indexing • Source • Staging • Dest.

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

  11. Compression? I/O Reduction at cost of CPU

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

  13. Other Advanced Features • Hekaton? • Updatable Columnstore Indexes?

  14. Hardware Considerations • More RAM!!! • IO or CPU bound? • Know your IO Subsystem • SSDs • Multiple files • TempDB local

  15. Tuning existing ETL

  16. Resources • Microsoft CAT Team’s Data Loading Performance Guide • SQL Magazine: How to find your most expensive queries • SAN Performance Tuning with SQLIO • Columnstore Insert/Update Performance

More Related