T-SQL Performance optimization
Upcoming SlideShare
Loading in...5
×
 

T-SQL Performance optimization

on

  • 815 views

В данном докладе мы рассмотрим основные причины, который понижают производительность нашей базы данных. ...

В данном докладе мы рассмотрим основные причины, который понижают производительность нашей базы данных. Поговорим о возможных путях решения подобных проблем, а так же рассмотрим инструменты предусмотренные в SQL Server для слежения за производительностью.

Statistics

Views

Total Views
815
Views on SlideShare
813
Embed Views
2

Actions

Likes
0
Downloads
7
Comments
0

1 Embed 2

http://tuladev.net 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

T-SQL Performance optimization T-SQL Performance optimization Presentation Transcript

  • SQL Server performance issues and the best ways to solve themrkerimhanov@codemastersintl.com
  • Contents Hardware Resource Bottlenecks Query Design Recommendations SQL Query Performance Analysis
  • A Fixed Unit of Time Spent
  • Hardware Resource Bottlenecks Memory Disk I/O Processor Network
  • Memory Bottleneck Resolutions Optimizing application workload Allocating more memory to SQL Server Increasing system memory Changing from a 32-bit to a 64-bit processor Enabling 3GB of process space
  • Disk Bottleneck Resolutions Optimizing application workload Using a faster disk drive Adding system memory Creating multiple files and filegroups Saving Log Files to a Separate Physical Disk Partitioning Tables
  • Processor Bottleneck Resolutions Optimizing application workload Using more or faster processors Not running unnecessary software
  • Network Bottleneck Resolutions Optimizing application workload Moderating and avoiding interruptions
  • Query Design Recommendations Operate on small result sets Use indexes effectively Avoid optimizer hints Use domain and referential integrity Avoid resource-intensive queries Reduce the number of network round-trips Reduce the transaction cost Reduce using of cursors
  • SQL Query Performance Analysis SQL Profiler Performance Monitor Database Engine Tuning Advisor
  • Resources SQL Server 2008 Query Performance Tuning Distilled http://msdn.microsoft.com/ru-ru/library/ms123401.aspx http://www.sqlmag.com/content1/topic/top-10-performance-tips-for-sql- server/catpath/sql-server/page/4 http://www.codegain.com/articles/sqlservers/servermanagment/top-10-sql- server-performance-tuning-tips.aspx http://www.idera.com/Downloads/WhitePapers/Top10SQLPerf.pdf http://www.codeproject.com/Articles/37089/Top-10-steps-to-optimize-data- access-in-SQL-Server http://www.codeproject.com/Articles/34372/Top-10-steps-to-optimize-data- access-in-SQL-Server http://searchsqlserver.techtarget.com/tip/T-SQL-performance-problems- and-solutions#return http://www.dotnetheaven.com/UploadFile/skrishnasamy/SQLPerformanceT unning03112005044423AM/SQLPerformanceTunning.aspx http://msdn.microsoft.com/en-us/library/ff647793.aspx#scalenetchapt14 _topic4