80 likes | 241 Views
Monitoring and Optimizing SQL Server 2000. Palak Patel. Using Windows Performance. Features of Performance System Monitor Counter Logs Trace Logs Alerts Important Counters Processor % Processor Time Memory Pages/Sec Memory Available Bytes Memory Committed Bytes
E N D
Monitoring and Optimizing SQL Server 2000 Palak Patel
Using Windows Performance • Features of Performance • System Monitor • Counter Logs • Trace Logs • Alerts • Important Counters • Processor % Processor Time • Memory Pages/Sec • Memory Available Bytes • Memory Committed Bytes • Physical Disk Average Disk Queue • Disk % Disk Time • Network Segment % Network Utilization
Monitoring • Using Windows System Monitor • Using Alerts • Logging with Windows Counter Logs
SQL Server Counters • SQL Server Buffer Manager Cache Hit Ratio • SQL Server Buffer manager Page Reads/Sec • SQL Server Buffer Manager Page Writes/Sec • SQL Server General Statistics User Connections • SQL Server Memory Manager Total Server Memory (KB) • SQL Server SQL Statistics SQL Compilations /sec
SQL Query Analyzer • Setting up Current Connection Properties • Showing Execution Plan of a Query
Monitoring with SQL Profiler • Setting up a Trace • Filtering trace data • Replaying the trace
Index Tuning Wizard • Create Workload using Profiler • Run Index Tuning Wizard to get the suggestions on the Indexes with your database based on the typical workload
Optimizing • Queries and Stored Procedures • Tempdb Size • Query Governor • RAID • Upgrade RAM • Manual Configuration of RAM • WITH RECOMPILE option to force SQL Server to recompile Stored Procedures • Proper Indexing • Defragmentation • DBCC SHOWCONFIG (Customers)