Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Reduce latency and boost sql server io performance


Published on

Is SQL Server slow for you? Attend this webinar and learn how you can optimize your SQL Server performance. (Download the companion T-SQL scripts from Kevin's at Hear how the pros pinpoint performance bottlenecks and leverage the latest advancements in storage technology to decrease access latency and IO wait times. By the end of the webinar you'll have the tools and information you need to recommend the best approach for your SQL Server environment.

Published in: Technology

Reduce latency and boost sql server io performance

  1. 1. HOW TO REDUCE LATENCY AND BOOST YOUR SQL SERVER PERFORMANCE Sumeet Bansal Kevin Kline Tegile SQL Sentry @SumeetBansal_ @KEKline 1
  2. 2. E-mail for free copies of our e-books and tell us you saw it in the Tegile webinar:
  3. 3. Ndx Ndx Ndx Ndx BASICS OF SQL SERVER I/O CONFIGURATION SQL Server Databases: Filegroups & Files Data Log LOBsIndexes Req Opn Emp Sales Prod Tables Ndx Ndx Cust Indexes
  4. 4. Ndx Ndx Ndx Ndx BASICS OF TUNING SQL SERVER STORAGE Sales Databases Data Log Emp Sales Prod Tables NdxNdx Cust Indexes Reports
  5. 5. THE OLD WAY TO REDUCE LATENCY & BOOST PERF, STEP 1: TUNE DATABASE I/O Trans Logs • Segregate database files from transaction log files onto separate disks. Size and number of Files • Multiple files based on number of available CPUs. • Files of identical size and growth pattern (TFs 1117, 2371) Indexing • Proper indexing is essential. • “SARG-ability” for WHERE and JOIN clauses, primary and foreign keys, ect
  6. 6. THE OLD WAY TO REDUCE LATENCY & BOOST PERF, STEP 2: TUNING OVERALL WORKLOAD Segregate Workloads • Tempdb onto its own array. • Read-heavy workloads separated from Write-heavy workloads. Segregate Subsystems • System database onto their own arrays: Distribution, Master, MSDB. • Use partitioning to segregate time-differentiated data. More Cowbell! • Add disks, files, and filegroups. • Add more memory. • Tune SQL ... a lot!
  7. 7. • I/O Performance Tuning for SQL Server DEMO • SQL Server can tell you exactly which databases and workloads need to be tuned. • A Transact-SQL scripts that identify SQL Server bottlenecks and show you which databases, files, and elements of SQL Server are most relevant.
  8. 8. A FINAL TIP – GET A FREE I/O BOOST WITH COMPRESSION • If you’re using SQL Server Enterprise Edition, version 2008 or later… • … You may lose out on free I/O boost from a feature called Data Compression. o Works at Page and Row levels. • Data compression enables a SQL Server to compress tables and indexes to conserve IOPs at cost of added CPU. o Big performance improvement for I/O performance because fewer pages are used. o Big space savings. • There a great multi-part data compression case study at
  9. 9. TRADITIONAL I/O BOTTLENECK REDUCTION APPROACHES… Refactor database and application design Time consuming; Skill dependent; Labor intensive; COSTLY Add CPU and memory Dead-end if not I/O bound; COSTLY Upgrade server hardware Complexity; Reliability & Scalability Concerns; COSTLY; Vendor lock In Add hard disk drives, controllers COSTLY; Power, cooling, and footprint limitations; Performance constrained Upgrade traditional storage Hit Rate Limited; Randomized I/O Issues; COSTLY u u u u u
  10. 10. SUMMARY
  11. 11. Q & A • Send questions to Sumeet at • Send questions to Kevin at o Twitter, Facebook, LinkedIn at KEKline o Scripts at o Slides at • THANK YOU!