0% found this document useful (0 votes)
7 views8 pages

Performance Checklists 1.08

The document contains a performance checklist for evaluating SQL Server and NAV database configurations and settings. It includes sections on hardware specifications, SQL Server settings, database settings, maintenance jobs, and performance monitor counters to check. The goal is to optimize performance and troubleshoot any issues.

Uploaded by

xodobid106
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views8 pages

Performance Checklists 1.08

The document contains a performance checklist for evaluating SQL Server and NAV database configurations and settings. It includes sections on hardware specifications, SQL Server settings, database settings, maintenance jobs, and performance monitor counters to check. The goal is to optimize performance and troubleshoot any issues.

Uploaded by

xodobid106
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

STRYK System Improvement Performance Checklists

Performance Optimization & Troubleshooting Version 1.08

Performance Checklists

Part A - SQL Server Configuration

Company Name: ________________________________________________________


Name: ________________________________________________________
Date: ________________________________________________________
Place: ________________________________________________________

Database Server General


Description
UNC Name
IP Address
Place
Installation Date
Administrator (E-Mail)
Operating System
Comment

Hardware Specifications
Architecture O x86 O x64 O i64
Number of CPU
CPU Specification
Memory Type
RAM
Network
Hyper-Threading O Yes O No
PAE O Yes O No (required with 32bit and > 4GB RAM)
3GB O Yes O No (required with 32bit and < 16GB RAM)

Comment

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 1 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Disk Subsystem
Description

Disk 1
Drive Letter
Controller Type
RAID Configuration
Capacity
RPM
Comment/Usage

Disk 2
Drive Letter
Controller Type
RAID Configuration
Capacity
RPM
Comment/Usage

Disk 3
Drive Letter
Controller Type
RAID Configuration
Capacity
RPM
Comment/Usage

Disk 4
Drive Letter
Controller Type
RAID Configuration
Capacity
RPM
Comment/Usage

Disk 5
Drive Letter
Controller Type
RAID Configuration
Capacity
RPM
Comment/Usage

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 2 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

SQL Server Settings


SQL Instance Name
SQL Server Build No.
Collation
Affinity Mask
CPU used
Degree of Parallelism
Threshold Parallelism
AWE Enabled O Yes O No (required with 32bit and > 4GB RAM)
Max. Worker-Threads
Memory Dynamic O Yes O No
Memory Min.
Memory Max.
Authentication O Mixed O Windows
Trace Flags

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 3 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Part B – Database Configuration

NAV Database Settings


NAV Database Name
Current Database Size GB:
NAV Build No.
NAV DB Version No.
Recovery Model O Full O Simple O Bulk
Collation
Auto. Close O Yes O No
Auto. Shrink O Yes O No
Auto. Create Stats O Yes O No
Auto. Update Stats O Yes O No O Asynchronously
Torn Page Detection O Yes O No
Page Verify O Torn Page Detection O Checksum
Maintain Defaults O Yes O No
Maintain Views O Yes O No
Maintain Relations O Yes O No
Always Rowlock O Yes O No
Lock Timeout O Yes O No Milliseconds:
Find As You Type O Yes O No
Caching Record Set
Security Model O Standard O Enhanced
File-Group(s) System PRIMARY

File-Group(s) Data

File-Group(s) Indexes

File-Group(s) SIFT

Other File-Group(s)

Auto. Growth Data O MB O % Amount:


Auto. Growth Log O MB O % Amount:

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 4 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Part C – Database Maintenance

Maintenance Jobs
Cycle Error Logs O Yes O No O Name:
Keep Logs
Maintain Stats O Yes O No O Name:
Maintain Indexes O Yes O No O Name:
SIFT Maintenance O Yes O No O Name:
Clean Up History O Yes O No O Name:
Deadlock Detection O Yes O No O Name:
Block Detection O Yes O No O Name:
Integrity Check O Yes O No O Name:

Remarks:

____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 5 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Part D – Performance Monitor

Performance Monitor
Object Counter Instance Value
Best Avg.
Memory Available MBytes n/a >5
Memory Pages/sec n/a < 25
Physical Disk Avg. Read Queue Length NAV Database file <2
Physical Disk Avg. Read Queue Length NAV Transaction Log file <2
Physical Disk Avg. Write Queue Length NAV Database file <2
Physical Disk Avg. Write Queue Length NAV Transaction Log file <2
Physical Disk Time % NAV Database file < 50
Physical Disk Time % NAV Transaction Log file < 50
Physical Disk Avg. sec/Transfer NAV Database file < 0,015
Physical Disk Avg. sec/Transfer NAV Transaction Log file < 0,015
Physical Disk Transfers/sec NAV Database file < 120
Physical Disk Transfers/sec NAV Transaction Log file < 120
Processor % Processor Time Total < 80
Processor % Privileged Time Total < 10
Process % Processor Time SQL Server Instance < 80
Process Page Faults/sec SQL Server Instance 0
Process Working Set SQL Server Instance n/a
System Processor Queue Length <2
System Context Switches/sec < 8000
Network Interface Current Bandwidth >= 1GB
Network Interface Output Queue Length <2
SQL Server Access Methods Full Scans/sec NAV database <2
SQL Server Access Methods Page Splits/sec NAV database n/a
SQL Server Access Methods Lock Escalations/sec n/a
SQL Server Access Methods Worktables created/sec n/a
SQL Server Buffer Manager Buffer Cache Hit Ratio > 90
SQL Server Buffer Manager Free Pages > 640
SQL Server Buffer Manager Page Life Expectancy > 300
SQL Server Buffer Manager Total Pages n/a
SQL Server Locks Lock Request/sec Total n/a
SQL Server Locks Lock Waits/sec Total 0
SQL Server Locks Number of Deadlocks/sec Total 0
SQL Server Databases Data File(s) Size (KB) NAV database n/a
SQL Server Databases Log file(s) Size (KB) NAV database n/a
SQL Server Databases Percent Log Used NAV database n/a
SQL Server General Statistics User Connections n/a
SQL Server General Statistics Processes blocked 0
SQL Server Memory Manager Total Server Memory (KB) n/a
SQL Server Memory Manager Target Server Memory (KB) n/a
SQL Server Memory Manager Memory Grants Pending 0
SQL Server SQL Statistics Batch Requests/sec < 1000
SQL Server SQL Statistics Re-Compilations/sec < 100

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 6 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Part E – SQL Profiler

Measurement Start Date/Time: ______________________________________________


Measurement End Date/Time: ______________________________________________
Description: ______________________________________________

SQL Profiler
Events Columns Filters
Stored Procedures Groups Application Name
RPC: Completed <none> Not Like %SQL%
SP: Completed Columns
SP: StmtCompleted SPID Reads
TextData Greater or Equal than 1000
TSQL Reads
SQL: BatchCompleted Writes Duration
SQL: StmtCompleted CPU Greater or Equal than 30
Duration
Start Time
End Time
LoginName
HostName
Application Name
EventClass

Remarks:

____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 7 of 8


http://www.stryk.info/
STRYK System Improvement Performance Checklists
Performance Optimization & Troubleshooting Version 1.08

Part F – System Report

Copy & Paste this TSQL to SQL Management Studio and execute within context of the NAV database. Save output
to file and add report to this document.

-- EXECUTE WITHIN CONTEXT OF NAV-DATABASE --

set statistics io off


set nocount on
go

select @@servername as "ServerName", @@servicename as "ServiceName", @@language as "Language", @@version


as "ServerVersion"
go

select * from sys.dm_os_sys_info


go

sp_configure 'show advanced options', '1'


reconfigure
go
sp_configure
go

select db_id() as "DatabaseID", db_name() as "DatabaseName"


go
select * from sysfiles
go

create table #loginfo ([FileId] int, [FileSize] bigint, [StartOffset] bigint, [FSeqNo] bigint, [Status]
int, [Parity] int, [CreateLSN] bigint)
insert into #loginfo exec ('dbcc loginfo')
select count(*) as [VLogs] from #loginfo
drop table #loginfo
go

-- see "Books Online": DATABASEPROPERTYEX


select DATABASEPROPERTYEX ( db_name() , 'Collation' ) as 'Collation'
select DATABASEPROPERTYEX ( db_name() , 'IsAutoClose' ) as 'IsAutoClose'
select DATABASEPROPERTYEX ( db_name() , 'IsAutoCreateStatistics' ) as 'IsAutoCreateStatistics'
select DATABASEPROPERTYEX ( db_name() , 'IsAutoUpdateStatistics' ) as 'IsAutoUpdateStatistics'
select DATABASEPROPERTYEX ( db_name() , 'IsAutoShrink' ) as 'IsAutoShrink'
select DATABASEPROPERTYEX ( db_name() , 'IsTornPageDetectionEnabled' ) as 'IsTornPageDetectionEnabled'
select DATABASEPROPERTYEX ( db_name() , 'Recovery' ) as 'Recovery'
select DATABASEPROPERTYEX ( db_name() , 'Status' ) as 'Status'
select DATABASEPROPERTYEX ( db_name() , 'UserAccess' ) as 'UserAccess'
select DATABASEPROPERTYEX ( db_name() , 'Version' ) as 'DBVersion'
go

select "databaseversionno", "maintainviews", "maintainrelationships", "checkcodepage", "quickfind",


"maintaindefaults", "locktimeout", "locktimeoutperiod", "hardrowlock", "bufferedrows", "securityoption"
from "$ndo$dbproperty"
go

select * from "$ndo$dbconfig"


go

select object_name([id]) as [Heap Tables] from sysindexes where indid = 0


go

© 2006-2009, STRYK System Improvement, Jörg A. Stryk Page 8 of 8


http://www.stryk.info/

You might also like